Problem while running Upsource on Ubuntu 14.04x64

Hello,

I'm trying to start Upsource on Ubuntu linux 14.04x64 and I keep getting weird Exception in logs:

[2015-10-09 17:28:51,995] ================================================================ (start) [2015-10-09 17:28:53,056] * Configuring JetBrains Upsource 2.0 [2015-10-09 17:28:53,056] * Loading logging configuration from /opt/jetbrains-upsource-2.0.3682/lib/ext/log4j.xml [2015-10-09 17:28:53,056] * Redirecting JetBrains Upsource 2.0 logging to /opt/jetbrains-upsource-2.0.3682/logs/internal/services/bundleProcess [2015-10-09 17:28:53,177] * Configuring Service-Container[bundleProcess] [2015-10-09 17:28:53,187] * Configuring Starting Page Service [2015-10-09 17:28:53,198] * Configuring Upsource Configurator [2015-10-09 17:28:53,198] * Configuring Hub [2015-10-09 17:28:54,481] * Configuring Bundle Hub Configurator [2015-10-09 17:28:54,481] * Configuring Apache Cassandra [2015-10-09 17:28:55,912] * Configuring Service-Container[vcsSettingsContainer] [2015-10-09 17:28:55,913] * Configuring VCS Hosting [2015-10-09 17:28:57,002] * Configuring Upsource Analyzer [2015-10-09 17:28:58,312] * Configuring Upsource Monitoring [2015-10-09 17:28:59,532] * Configuring Upsource Frontend [2015-10-09 17:29:00,812] * Starting Service-Container[bundleProcess] [2015-10-09 17:29:02,985] * Starting Starting Page Service [2015-10-09 17:29:02,985] * JetBrains Upsource 2.0 will be available on [http://upsource.***/bundle/starting] after start [2015-10-09 17:29:04,618] * Starting Upsource Configurator [2015-10-09 17:29:05,916] * Starting Hub [2015-10-09 17:29:06,442] Init web application log4j location: jetbrains/jetpass/server/main/log4j.xml [2015-10-09 17:29:07,367] 17:29:07,358 WARN  [CustomEditorConfigurer        ] Passing PropertyEditor instances into CustomEditorConfigurer is deprecated: use PropertyEditorRegistrars or PropertyEditor class names instead. Offending key [jetbrains.mps.webr.runtime.util.UserBrowser; offending editor instance: [email protected] [2015-10-09 17:29:07,368] 17:29:07,358 WARN  [CustomEditorConfigurer        ] Passing PropertyEditor instances into CustomEditorConfigurer is deprecated: use PropertyEditorRegistrars or PropertyEditor class names instead. Offending key [jetbrains.mps.webr.runtime.util.UserOS; offending editor instance: [email protected] [2015-10-09 17:29:08,455] 17:29:08,446 WARN  [RealmVerifier                 ] RP discovery / realm validation disabled; [2015-10-09 17:29:10,338] gflogger:  version 20131206 [2015-10-09 17:29:10,743] 17:29:10,733 ERROR [App                           ] Error on init [2015-10-09 17:29:10,743] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationService' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/notification/config/notificationServiceConfiguration.xml]: Cannot create inner bean 'jetbrains.jetpass.notification.EmailNotificator#101ada35' of type [jetbrains.jetpass.notification.EmailNotificator] while setting bean property 'emailNotificator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jetbrains.jetpass.notification.EmailNotificator#101ada35' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/notification/config/notificationServiceConfiguration.xml]: Cannot resolve reference to bean 'smtpSSLContext' while setting bean property 'sslContext'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smtpSSLContext' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/server/main/jetPassAppConfiguration.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static javax.net.ssl.SSLContext jetbrains.jetpass.server.main.SMTPSSLContextResolver.createSSLContext()] threw exception; nested exception is java.lang.RuntimeException: java.security.KeyStoreException: problem accessing trust storejava.io.EOFException [2015-10-09 17:29:10,744]      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:279) [2015-10-09 17:29:10,744]      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:121) [2015-10-09 17:29:10,744]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417) [2015-10-09 17:29:10,744]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158) [2015-10-09 17:29:10,744]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [2015-10-09 17:29:10,744]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) [2015-10-09 17:29:10,744]      at org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:334) [2015-10-09 17:29:10,744]      at webr.framework.controller.WebLocalScope.get(WebLocalScope.java:44) [2015-10-09 17:29:10,745]      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:330) [2015-10-09 17:29:10,745]      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [2015-10-09 17:29:10,745]      at webr.framework.controller.WebLocalClasspathXmlServiceLocator.getBean(WebLocalClasspathXmlServiceLocator.java:68) [2015-10-09 17:29:10,745]      at jetbrains.springframework.configuration.runtime.ServiceLocator.getBean(ServiceLocator.java:47) [2015-10-09 17:29:10,745]      at jetbrains.jetpass.userManagement.persistence.settings.ApplicationPublicSettingsImpl.setLocale(ApplicationPublicSettingsImpl.java:53) [2015-10-09 17:29:10,745]      at jetbrains.jetpass.dao.dnq.api.settings.JetPassSettingsDAO$PublicSettingsUpdater.updateEntity(JetPassSettingsDAO.java:350) [2015-10-09 17:29:10,745]      at jetbrains.jetpass.dao.dnq.api.settings.JetPassSettingsDAO$PublicSettingsUpdater.updateEntity(JetPassSettingsDAO.java:335) [2015-10-09 17:29:10,745]      at jetbrains.jetpass.dao.dnq.api.settings.JetPassSettingsDAO.updateEntity(JetPassSettingsDAO.java:101) [2015-10-09 17:29:10,745]      at jetbrains.jetpass.dao.dnq.api.settings.JetPassSettingsDAO.updateEntity(JetPassSettingsDAO.java:57) [2015-10-09 17:29:10,746]      at jetbrains.jetpass.dao.dnq.api.JetPassMutableDAO$2.invoke(JetPassMutableDAO.java:57) [2015-10-09 17:29:10,746]      at jetbrains.jetpass.dao.dnq.api.JetPassReadOnlyDAO$4.invoke(JetPassReadOnlyDAO.java:180) [2015-10-09 17:29:10,746]      at jetbrains.teamsys.dnq.runtime.txn._Txn.runNew(_Txn.java:217) [2015-10-09 17:29:10,746]      at jetbrains.jetpass.dao.dnq.api.JetPassReadOnlyDAO.runTransaction(JetPassReadOnlyDAO.java:177) [2015-10-09 17:29:10,746]      at jetbrains.jetpass.dao.dnq.api.JetPassMutableDAO.update(JetPassMutableDAO.java:52) [2015-10-09 17:29:10,746]      at jetbrains.jetpass.service.bean.JetPassMainApp.initSettings(JetPassMainApp.java:384) [2015-10-09 17:29:10,746]      at jetbrains.jetpass.service.bean.JetPassMainApp$3.run(JetPassMainApp.java:154) [2015-10-09 17:29:10,746]      at jetbrains.jetpass.server.console.HubPrincipalManagerImpl.runAs(HubPrincipalManagerImpl.java:44) [2015-10-09 17:29:10,746]      at jetbrains.jetpass.service.bean.JetPassMainApp.init(JetPassMainApp.java:150) [2015-10-09 17:29:10,746]      at jetbrains.jetpass.server.main.App.init(App.java:68) [2015-10-09 17:29:10,747]      at jetbrains.jetpass.server.main.InitWebApplicationServiceLocatorListener.onAfterInit(InitWebApplicationServiceLocatorListener.java:13) [2015-10-09 17:29:10,747]      at jetbrains.springframework.configuration.runtime.ServiceLocator.fireLocalAfterInit(ServiceLocator.java:111) [2015-10-09 17:29:10,747]      at jetbrains.jetpass.server.main.ServletImpl.init(ServletImpl.java:39) [2015-10-09 17:29:10,747]      at javax.servlet.GenericServlet.init(GenericServlet.java:244) [2015-10-09 17:29:10,747]      at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:612) [2015-10-09 17:29:10,747]      at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:395) [2015-10-09 17:29:10,747]      at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871) [2015-10-09 17:29:10,747]      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298) [2015-10-09 17:29:10,747]      at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349) [2015-10-09 17:29:10,747]      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342) [2015-10-09 17:29:10,748]      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741) [2015-10-09 17:29:10,748]      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505) [2015-10-09 17:29:10,748]      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) [2015-10-09 17:29:10,748]      at com.jetbrains.bundle.services.impl.jetty.BundleJettyServicesContainer.startServiceInContainer(BundleJettyServicesContainer.java:74) [2015-10-09 17:29:10,748]      at com.jetbrains.bundle.services.impl.BundledService.doStart(BundledService.java:39) [2015-10-09 17:29:10,748]      at com.jetbrains.bundle.services.impl.ServiceBase.start(ServiceBase.java:62) [2015-10-09 17:29:10,748]      at com.jetbrains.bundle.Services.startService(Services.java:509) [2015-10-09 17:29:10,748]      at com.jetbrains.bundle.Services.startAllServices(Services.java:481) [2015-10-09 17:29:10,748]      at com.jetbrains.bundle.Services.start(Services.java:459) [2015-10-09 17:29:10,748]      at com.jetbrains.bundle.BundleMain.start(BundleMain.java:248) [2015-10-09 17:29:10,749]      at com.jetbrains.bundle.BundleMain.start(BundleMain.java:208) [2015-10-09 17:29:10,749]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2015-10-09 17:29:10,749]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2015-10-09 17:29:10,749]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2015-10-09 17:29:10,749]      at java.lang.reflect.Method.invoke(Method.java:497) [2015-10-09 17:29:10,749]      at com.jetbrains.bundle.bootstrap.Bundle$EntryPointProvider$1.invoke(Bundle.java:108) [2015-10-09 17:29:10,749]      at com.sun.proxy.$Proxy2.start(Unknown Source) [2015-10-09 17:29:10,749]      at com.jetbrains.bundle.bootstrap.Bundle.start(Bundle.java:54) [2015-10-09 17:29:10,749]      at com.jetbrains.launcher.AppProxy$4.call(AppProxy.java:83) [2015-10-09 17:29:10,749]      at com.jetbrains.launcher.AppProxy$4.call(AppProxy.java:81) [2015-10-09 17:29:10,749]      at java.util.concurrent.FutureTask.run(FutureTask.java:266) [2015-10-09 17:29:10,750]      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [2015-10-09 17:29:10,750]      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [2015-10-09 17:29:10,750]      at java.lang.Thread.run(Thread.java:745) [2015-10-09 17:29:10,750] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jetbrains.jetpass.notification.EmailNotificator#101ada35' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/notification/config/notificationServiceConfiguration.xml]: Cannot resolve reference to bean 'smtpSSLContext' while setting bean property 'sslContext'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smtpSSLContext' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/server/main/jetPassAppConfiguration.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static javax.net.ssl.SSLContext jetbrains.jetpass.server.main.SMTPSSLContextResolver.createSSLContext()] threw exception; nested exception is java.lang.RuntimeException: java.security.KeyStoreException: problem accessing trust storejava.io.EOFException [2015-10-09 17:29:10,750]      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326) [2015-10-09 17:29:10,750]      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107) [2015-10-09 17:29:10,751]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417) [2015-10-09 17:29:10,751]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158) [2015-10-09 17:29:10,751]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [2015-10-09 17:29:10,751]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) [2015-10-09 17:29:10,751]      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:269) [2015-10-09 17:29:10,751]      ... 60 more [2015-10-09 17:29:10,751] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smtpSSLContext' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/server/main/jetPassAppConfiguration.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static javax.net.ssl.SSLContext jetbrains.jetpass.server.main.SMTPSSLContextResolver.createSSLContext()] threw exception; nested exception is java.lang.RuntimeException: java.security.KeyStoreException: problem accessing trust storejava.io.EOFException [2015-10-09 17:29:10,751]      at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:597) [2015-10-09 17:29:10,751]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1055) [2015-10-09 17:29:10,751]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:951) [2015-10-09 17:29:10,751]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) [2015-10-09 17:29:10,752]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) [2015-10-09 17:29:10,752]      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315) [2015-10-09 17:29:10,752]      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [2015-10-09 17:29:10,752]      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:320) [2015-10-09 17:29:10,752]      ... 66 more [2015-10-09 17:29:10,752] Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static javax.net.ssl.SSLContext jetbrains.jetpass.server.main.SMTPSSLContextResolver.createSSLContext()] threw exception; nested exception is java.lang.RuntimeException: java.security.KeyStoreException: problem accessing trust storejava.io.EOFException [2015-10-09 17:29:10,752]      at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:181) [2015-10-09 17:29:10,752]      at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586) [2015-10-09 17:29:10,752]      ... 73 more [2015-10-09 17:29:10,752] Caused by: java.lang.RuntimeException: java.security.KeyStoreException: problem accessing trust storejava.io.EOFException [2015-10-09 17:29:10,753]      at jetbrains.jetpass.userManagement.persistence.ssl.TrustStoreImpl$4.invoke(TrustStoreImpl.java:178) [2015-10-09 17:29:10,753]      at jetbrains.jetpass.userManagement.persistence.ssl.TrustStoreImpl$4.invoke(TrustStoreImpl.java:149) [2015-10-09 17:29:10,753]      at jetbrains.teamsys.dnq.runtime.txn._Txn.eval(_Txn.java:458) [2015-10-09 17:29:10,753]      at jetbrains.jetpass.userManagement.persistence.ssl.TrustStoreImpl.loadTrustManagers(TrustStoreImpl.java:149) [2015-10-09 17:29:10,753]      at jetbrains.jetpass.userManagement.persistence.ssl.KeyStoreImpl.createSSLContext(KeyStoreImpl.java:211) [2015-10-09 17:29:10,753]      at jetbrains.jetpass.server.main.SMTPSSLContextResolver$1.invoke(SMTPSSLContextResolver.java:16) [2015-10-09 17:29:10,753]      at jetbrains.jetpass.server.main.SMTPSSLContextResolver$1.invoke(SMTPSSLContextResolver.java:14) [2015-10-09 17:29:10,753]      at jetbrains.teamsys.dnq.runtime.txn._Txn.eval(_Txn.java:458) [2015-10-09 17:29:10,753]      at jetbrains.jetpass.server.main.SMTPSSLContextResolver.createSSLContext(SMTPSSLContextResolver.java:14) [2015-10-09 17:29:10,753]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2015-10-09 17:29:10,753]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2015-10-09 17:29:10,754]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2015-10-09 17:29:10,759]      at java.lang.reflect.Method.invoke(Method.java:497) [2015-10-09 17:29:10,759]      at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:160) [2015-10-09 17:29:10,760]      ... 74 more [2015-10-09 17:29:10,760] Caused by: java.security.KeyStoreException: problem accessing trust storejava.io.EOFException [2015-10-09 17:29:10,761]      at sun.security.ssl.TrustManagerFactoryImpl.engineInit(TrustManagerFactoryImpl.java:74) [2015-10-09 17:29:10,762]      at javax.net.ssl.TrustManagerFactory.init(TrustManagerFactory.java:250) [2015-10-09 17:29:10,762]      at jetbrains.jetpass.userManagement.persistence.ssl.TrustStoreImpl$4.invoke(TrustStoreImpl.java:153) [2015-10-09 17:29:10,762]      ... 87 more [2015-10-09 17:29:10,762] 17:29:10,735 ERROR [ServletImpl                   ] Can't init servlet [2015-10-09 17:29:10,762] java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationService' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/notification/config/notificationServiceConfiguration.xml]: Cannot create inner bean 'jetbrains.jetpass.notification.EmailNotificator#101ada35' of type [jetbrains.jetpass.notification.EmailNotificator] while setting bean property 'emailNotificator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jetbrains.jetpass.notification.EmailNotificator#101ada35' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/notification/config/notificationServiceConfiguration.xml]: Cannot resolve reference to bean 'smtpSSLContext' while setting bean property 'sslContext'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smtpSSLContext' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/server/main/jetPassAppConfiguration.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static javax.net.ssl.SSLContext jetbrains.jetpass.server.main.SMTPSSLContextResolver.createSSLContext()] threw exception; nested exception is java.lang.RuntimeException: java.security.KeyStoreException: problem accessing trust storejava.io.EOFException [2015-10-09 17:29:10,762]      at jetbrains.jetpass.server.main.App.init(App.java:73) [2015-10-09 17:29:10,762]      at jetbrains.jetpass.server.main.InitWebApplicationServiceLocatorListener.onAfterInit(InitWebApplicationServiceLocatorListener.java:13) [2015-10-09 17:29:10,762]      at jetbrains.springframework.configuration.runtime.ServiceLocator.fireLocalAfterInit(ServiceLocator.java:111) [2015-10-09 17:29:10,762]      at jetbrains.jetpass.server.main.ServletImpl.init(ServletImpl.java:39) [2015-10-09 17:29:10,762]      at javax.servlet.GenericServlet.init(GenericServlet.java:244) [2015-10-09 17:29:10,763]      at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:612) [2015-10-09 17:29:10,763]      at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:395) [2015-10-09 17:29:10,763]      at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871) [2015-10-09 17:29:10,763]      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298) [2015-10-09 17:29:10,763]      at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349) [2015-10-09 17:29:10,763]      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342) [2015-10-09 17:29:10,763]      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741) [2015-10-09 17:29:10,763]      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505) [2015-10-09 17:29:10,763]      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) [2015-10-09 17:29:10,763]      at com.jetbrains.bundle.services.impl.jetty.BundleJettyServicesContainer.startServiceInContainer(BundleJettyServicesContainer.java:74) [2015-10-09 17:29:10,763]      at com.jetbrains.bundle.services.impl.BundledService.doStart(BundledService.java:39) [2015-10-09 17:29:10,764]      at com.jetbrains.bundle.services.impl.ServiceBase.start(ServiceBase.java:62) [2015-10-09 17:29:10,764]      at com.jetbrains.bundle.Services.startService(Services.java:509) [2015-10-09 17:29:10,764]      at com.jetbrains.bundle.Services.startAllServices(Services.java:481) [2015-10-09 17:29:10,764]      at com.jetbrains.bundle.Services.start(Services.java:459) [2015-10-09 17:29:10,764]      at com.jetbrains.bundle.BundleMain.start(BundleMain.java:248) [2015-10-09 17:29:10,764]      at com.jetbrains.bundle.BundleMain.start(BundleMain.java:208) [2015-10-09 17:29:10,764]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2015-10-09 17:29:10,764]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2015-10-09 17:29:10,764]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2015-10-09 17:29:10,764]      at java.lang.reflect.Method.invoke(Method.java:497) [2015-10-09 17:29:10,764]      at com.jetbrains.bundle.bootstrap.Bundle$EntryPointProvider$1.invoke(Bundle.java:108) [2015-10-09 17:29:10,764]      at com.sun.proxy.$Proxy2.start(Unknown Source) [2015-10-09 17:29:10,764]      at com.jetbrains.bundle.bootstrap.Bundle.start(Bundle.java:54) [2015-10-09 17:29:10,764]      at com.jetbrains.launcher.AppProxy$4.call(AppProxy.java:83) [2015-10-09 17:29:10,765]      at com.jetbrains.launcher.AppProxy$4.call(AppProxy.java:81) [2015-10-09 17:29:10,765]      at java.util.concurrent.FutureTask.run(FutureTask.java:266) [2015-10-09 17:29:10,765]      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [2015-10-09 17:29:10,765]      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [2015-10-09 17:29:10,765]      at java.lang.Thread.run(Thread.java:745) [2015-10-09 17:29:10,765] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationService' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/notification/config/notificationServiceConfiguration.xml]: Cannot create inner bean 'jetbrains.jetpass.notification.EmailNotificator#101ada35' of type [jetbrains.jetpass.notification.EmailNotificator] while setting bean property 'emailNotificator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jetbrains.jetpass.notification.EmailNotificator#101ada35' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/notification/config/notificationServiceConfiguration.xml]: Cannot resolve reference to bean 'smtpSSLContext' while setting bean property 'sslContext'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smtpSSLContext' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/server/main/jetPassAppConfiguration.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static javax.net.ssl.SSLContext jetbrains.jetpass.server.main.SMTPSSLContextResolver.createSSLContext()] threw exception; nested exception is java.lang.RuntimeException: java.security.KeyStoreException: problem accessing trust storejava.io.EOFException [2015-10-09 17:29:10,765]      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:279) [2015-10-09 17:29:10,765]      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:121) [2015-10-09 17:29:10,765]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417) [2015-10-09 17:29:10,765]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158) [2015-10-09 17:29:10,765]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [2015-10-09 17:29:10,766]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) [2015-10-09 17:29:10,766]      at org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:334) [2015-10-09 17:29:10,766]      at webr.framework.controller.WebLocalScope.get(WebLocalScope.java:44) [2015-10-09 17:29:10,766]      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:330) [2015-10-09 17:29:10,766]      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [2015-10-09 17:29:10,766]      at webr.framework.controller.WebLocalClasspathXmlServiceLocator.getBean(WebLocalClasspathXmlServiceLocator.java:68) [2015-10-09 17:29:10,766]      at jetbrains.springframework.configuration.runtime.ServiceLocator.getBean(ServiceLocator.java:47) [2015-10-09 17:29:10,766]      at jetbrains.jetpass.userManagement.persistence.settings.ApplicationPublicSettingsImpl.setLocale(ApplicationPublicSettingsImpl.java:53) [2015-10-09 17:29:10,766]      at jetbrains.jetpass.dao.dnq.api.settings.JetPassSettingsDAO$PublicSettingsUpdater.updateEntity(JetPassSettingsDAO.java:350) [2015-10-09 17:29:10,766]      at jetbrains.jetpass.dao.dnq.api.settings.JetPassSettingsDAO$PublicSettingsUpdater.updateEntity(JetPassSettingsDAO.java:335) [2015-10-09 17:29:10,766]      at jetbrains.jetpass.dao.dnq.api.settings.JetPassSettingsDAO.updateEntity(JetPassSettingsDAO.java:101) [2015-10-09 17:29:10,766]      at jetbrains.jetpass.dao.dnq.api.settings.JetPassSettingsDAO.updateEntity(JetPassSettingsDAO.java:57) [2015-10-09 17:29:10,767]      at jetbrains.jetpass.dao.dnq.api.JetPassMutableDAO$2.invoke(JetPassMutableDAO.java:57) [2015-10-09 17:29:10,767]      at jetbrains.jetpass.dao.dnq.api.JetPassReadOnlyDAO$4.invoke(JetPassReadOnlyDAO.java:180) [2015-10-09 17:29:10,770]      at jetbrains.teamsys.dnq.runtime.txn._Txn.runNew(_Txn.java:217) [2015-10-09 17:29:10,770]      at jetbrains.jetpass.dao.dnq.api.JetPassReadOnlyDAO.runTransaction(JetPassReadOnlyDAO.java:177) [2015-10-09 17:29:10,770]      at jetbrains.jetpass.dao.dnq.api.JetPassMutableDAO.update(JetPassMutableDAO.java:52) [2015-10-09 17:29:10,770]      at jetbrains.jetpass.service.bean.JetPassMainApp.initSettings(JetPassMainApp.java:384) [2015-10-09 17:29:10,770]      at jetbrains.jetpass.service.bean.JetPassMainApp$3.run(JetPassMainApp.java:154) [2015-10-09 17:29:10,771]      at jetbrains.jetpass.server.console.HubPrincipalManagerImpl.runAs(HubPrincipalManagerImpl.java:44) [2015-10-09 17:29:10,771]      at jetbrains.jetpass.service.bean.JetPassMainApp.init(JetPassMainApp.java:150) [2015-10-09 17:29:10,771]      at jetbrains.jetpass.server.main.App.init(App.java:68) [2015-10-09 17:29:10,771]      ... 34 more [2015-10-09 17:29:10,771] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jetbrains.jetpass.notification.EmailNotificator#101ada35' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/notification/config/notificationServiceConfiguration.xml]: Cannot resolve reference to bean 'smtpSSLContext' while setting bean property 'sslContext'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smtpSSLContext' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/server/main/jetPassAppConfiguration.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static javax.net.ssl.SSLContext jetbrains.jetpass.server.main.SMTPSSLContextResolver.createSSLContext()] threw exception; nested exception is java.lang.RuntimeException: java.security.KeyStoreException: problem accessing trust storejava.io.EOFException [2015-10-09 17:29:10,771]      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326) [2015-10-09 17:29:10,771]      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107) [2015-10-09 17:29:10,771]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417) [2015-10-09 17:29:10,771]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158) [2015-10-09 17:29:10,771]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [2015-10-09 17:29:10,771]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) [2015-10-09 17:29:10,772]      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:269) [2015-10-09 17:29:10,772]      ... 60 more [2015-10-09 17:29:10,773] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smtpSSLContext' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/server/main/jetPassAppConfiguration.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static javax.net.ssl.SSLContext jetbrains.jetpass.server.main.SMTPSSLContextResolver.createSSLContext()] threw exception; nested exception is java.lang.RuntimeException: java.security.KeyStoreException: problem accessing trust storejava.io.EOFException [2015-10-09 17:29:10,773]      at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:597) [2015-10-09 17:29:10,773]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1055) [2015-10-09 17:29:10,773]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:951) [2015-10-09 17:29:10,773]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) [2015-10-09 17:29:10,773]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) [2015-10-09 17:29:10,773]      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315) [2015-10-09 17:29:10,773]      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [2015-10-09 17:29:10,774]      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:320) [2015-10-09 17:29:10,774]      ... 66 more [2015-10-09 17:29:10,774] Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static javax.net.ssl.SSLContext jetbrains.jetpass.server.main.SMTPSSLContextResolver.createSSLContext()] threw exception; nested exception is java.lang.RuntimeException: java.security.KeyStoreException: problem accessing trust storejava.io.EOFException [2015-10-09 17:29:10,774]      at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:181) [2015-10-09 17:29:10,774]      at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586) [2015-10-09 17:29:10,774]      ... 73 more [2015-10-09 17:29:10,774] Caused by: java.lang.RuntimeException: java.security.KeyStoreException: problem accessing trust storejava.io.EOFException [2015-10-09 17:29:10,774]      at jetbrains.jetpass.userManagement.persistence.ssl.TrustStoreImpl$4.invoke(TrustStoreImpl.java:178) [2015-10-09 17:29:10,774]      at jetbrains.jetpass.userManagement.persistence.ssl.TrustStoreImpl$4.invoke(TrustStoreImpl.java:149) [2015-10-09 17:29:10,774]      at jetbrains.teamsys.dnq.runtime.txn._Txn.eval(_Txn.java:458) [2015-10-09 17:29:10,774]      at jetbrains.jetpass.userManagement.persistence.ssl.TrustStoreImpl.loadTrustManagers(TrustStoreImpl.java:149) [2015-10-09 17:29:10,774]      at jetbrains.jetpass.userManagement.persistence.ssl.KeyStoreImpl.createSSLContext(KeyStoreImpl.java:211) [2015-10-09 17:29:10,774]      at jetbrains.jetpass.server.main.SMTPSSLContextResolver$1.invoke(SMTPSSLContextResolver.java:16) [2015-10-09 17:29:10,779]      at jetbrains.jetpass.server.main.SMTPSSLContextResolver$1.invoke(SMTPSSLContextResolver.java:14) [2015-10-09 17:29:10,784]      at jetbrains.teamsys.dnq.runtime.txn._Txn.eval(_Txn.java:458) [2015-10-09 17:29:10,784]      at jetbrains.jetpass.server.main.SMTPSSLContextResolver.createSSLContext(SMTPSSLContextResolver.java:14) [2015-10-09 17:29:10,784]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2015-10-09 17:29:10,784]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2015-10-09 17:29:10,785]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2015-10-09 17:29:10,785]      at java.lang.reflect.Method.invoke(Method.java:497) [2015-10-09 17:29:10,785]      at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:160) [2015-10-09 17:29:10,785]      ... 74 more [2015-10-09 17:29:10,785] Caused by: java.security.KeyStoreException: problem accessing trust storejava.io.EOFException [2015-10-09 17:29:10,785]      at sun.security.ssl.TrustManagerFactoryImpl.engineInit(TrustManagerFactoryImpl.java:74) [2015-10-09 17:29:10,785]      at javax.net.ssl.TrustManagerFactory.init(TrustManagerFactory.java:250) [2015-10-09 17:29:10,785]      at jetbrains.jetpass.userManagement.persistence.ssl.TrustStoreImpl$4.invoke(TrustStoreImpl.java:153) [2015-10-09 17:29:10,786]      ... 87 more [2015-10-09 17:29:10,786] 17:29:10,754 WARN  [EventsMultiplexer             ] Can't access events multiplexer: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eventsMultiplexer': Bean creation not allowed while this factory is in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!) [2015-10-09 17:29:10,786] 17:29:10,762 WARN  [EventsMultiplexer             ] Can't access events multiplexer: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eventsMultiplexer': Bean creation not allowed while this factory is in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!) [2015-10-09 17:29:10,786] 17:29:10,762 WARN  [EventsMultiplexer             ] Can't access events multiplexer: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eventsMultiplexer': Bean creation not allowed while this factory is in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!) [2015-10-09 17:29:10,786] 17:29:10,762 WARN  [EventsMultiplexer             ] Can't access events multiplexer: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eventsMultiplexer': Bean creation not allowed while this factory is in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!) [2015-10-09 17:29:10,786] 17:29:10,762 WARN  [EventsMultiplexer             ] Can't access events multiplexer: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eventsMultiplexer': Bean creation not allowed while this factory is in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!) [2015-10-09 17:29:10,786] 17:29:10,762 WARN  [EventsMultiplexer             ] Can't access events multiplexer: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eventsMultiplexer': Bean creation not allowed while this factory is in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!) [2015-10-09 17:29:10,786] * Error while starting JetBrains Upsource 2.0: Can not start servlet context for the service hub [2015-10-09 17:29:10,787] * Stopping Upsource Frontend [2015-10-09 17:29:11,910] upsource-frontend: Upsource Frontend is not running [2015-10-09 17:29:11,910] * Stopping Upsource Monitoring [2015-10-09 17:29:12,912] upsource-monitoring: Upsource Monitoring is not running [2015-10-09 17:29:12,912] * Stopping Upsource Analyzer [2015-10-09 17:29:13,861] upsource-analyzer: Upsource Analyzer is not running [2015-10-09 17:29:13,862] * Stopping VCS Hosting [2015-10-09 17:29:13,862] * Stopping Service-Container[vcsSettingsContainer] [2015-10-09 17:29:13,862] * Stopping Apache Cassandra [2015-10-09 17:29:14,801] cassandra: Apache Cassandra is not running [2015-10-09 17:29:14,801] * Stopping Bundle Hub Configurator [2015-10-09 17:29:14,801] * Stopping Hub [2015-10-09 17:29:14,802] * Stopping Upsource Configurator [2015-10-09 17:29:14,822] * Stopping Starting Page Service [2015-10-09 17:29:14,822] * Stopping Service-Container[bundleProcess] [2015-10-09 17:29:15,187] ================================================================ (finish)


I followed this guide: https://www.jetbrains.com/upsource/help/2.0/install_on_linux.html
Tried to run on OpenJDK 1.7.0_65 and Oracle 1.8.0_40 as root and non-root users, with no success.

8 comments

Hi Michal,

When you try to launch Upsource under the root user, does it throw the same errors?

What does "java -version" say to you right now?

Thanks for clarifying.

0

Hi Artem,

yes, when I run upsource as root user it throws the same errors.

My java -version says:

java version "1.7.0_65" OpenJDK Runtime Environment (IcedTea 2.5.2) (7u65-2.5.2-3~14.04) OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)


I don't know how to solve this problem :/
Thanks in advance for any help.

0

Michal,

Thanks for the info.

Upsource 2.0 requires Java 8 to be installed on the server. That being said could you please update your java version?

Please let me know if it helps.

0

It does not help.

I wrote in my first post that I already tried to start Upsource on Java 8 and it changed nothing.

I tried root user and it doesn't help either.

Currently my java -version says:

java version "1.8.0_40" Java(TM) SE Runtime Environment (build 1.8.0_40-b25) Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)


And it still throws the same exception.

0

Ok, could you please post the entire contents of logs folder from Upsource home directory?

Thanks in advance.

0

Hi Michal,

Thanks for sending it. Looks like an environment issue that we are not sure yet how to fix. We'll continue the investigation to provide some solution asap.

Sorry for that inconvenience.

0

Michal,

Could you please check if the following files exist on the Upsource machine?

/usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts
/usr/lib/jvm/java-8-oracle/jre/lib/security/jssecacerts

Also a quick question -  have you changed default trust store with  javax.net.ssl.trustStore parameter?

Thanks in advance.  
0

Please sign in to leave a comment.