-
Bug
-
Resolution: Fixed
-
Highest
-
5.9.1, 5.9.2
-
Confluence 5.9.1 build 6207
Summary
Confluence Server 5.9.1 upgrade to Confluence Data Center 5.9.1 failed.
Environment
Tested on Ubuntu version 14.04 LTS.
Steps to Reproduce
- Install Confluence Server 5.9.1 in your local machine.
Please ensure that Confluence is not run by root and the user that runs Confluence does have the full permission to the <Confluence-Home> and <Confluence-Installation> directories.
- Navigate to Confluence Administration page >> License Details and update the license with the Confluence Data Center that you've obtain.
- The License update requires migration pop up dialog will then be displayed, click Confirm to start the migration.
- Restart Confluence.
Expected Results
Confluence Server 5.9.1 would be upgraded to Confluence Data Center 5.9.1 successfully.
Actual Results
The below exception is thrown in the atlassian-confluence.log file:
2015-12-08 08:41:11,072 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 5.9.1 [build 6207 based on commit hash 0c7cba54ff3925d4d57a63f5dc42940bd53cea47] 2015-12-08 08:41:12,748 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] earlyStartup Plugin system earlyStartup begun 2015-12-08 08:41:15,314 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] earlyStartup Plugin system earlyStartup finished in 0:00:02.564 2015-12-08 08:41:15,315 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] lateStartup Plugin system lateStartup begun 2015-12-08 08:41:16,642 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] lateStartup Plugin system lateStartup finished in 0:00:01.327 2015-12-08 08:41:16,795 FATAL [localhost-startStop-1] [atlassian.spring.container.SpringContainerContext] getComponent Spring Application context has not been set 2015-12-08 08:41:16,807 ERROR [localhost-startStop-1] [ContainerBase.[Standalone].[localhost].[/]] log Exception sending context initialized event to listener instance of class com.atlassian.confluence.plugin.PluginFrameworkContextListener java.lang.IllegalStateException: Spring Application context has not been set at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48) at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33) at com.atlassian.confluence.plugin.PluginFrameworkContextListener.getSystemTenant(PluginFrameworkContextListener.java:242) at com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(PluginFrameworkContextListener.java:57) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) 2015-12-08 08:41:16,846 FATAL [localhost-startStop-1] [atlassian.spring.container.SpringContainerContext] getComponent Spring Application context has not been set 2015-12-08 08:41:16,848 WARN [localhost-startStop-1] [atlassian.confluence.plugin.PluginFrameworkContextListener] contextDestroyed Failed to shut down plugin system during ServletContext shutdown: Spring Application context has not been set 2015-12-08 08:41:16,848 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] contextDestroyed Stopping Confluence 2015-12-08 08:41:16,849 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] shutdown Preparing to shut down the plugin system 2015-12-08 08:41:16,849 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] shutdown Shutting down the plugin system
The below exception is thrown in the catalina.out log file:
08-Dec-2015 08:41:03.652 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8090"] 08-Dec-2015 08:41:03.680 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 08-Dec-2015 08:41:03.683 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 435 ms 08-Dec-2015 08:41:03.690 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat-Standalone 08-Dec-2015 08:41:03.690 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.23 2015-12-08 08:41:11,072 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 5.9.1 [build 6207 based on commit hash 0c7cba54ff3925d4d57a63f5dc42940bd53cea47] 08-Dec-2015 08:41:16.808 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file 08-Dec-2015 08:41:16.839 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors 08-Dec-2015 08:41:16.923 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 08-Dec-2015 08:41:16.923 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [org.hsqldb.jdbc.JDBCDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 08-Dec-2015 08:41:16.923 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.github.gquintana.metrics.sql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 08-Dec-2015 08:41:16.923 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 08-Dec-2015 08:41:16.930 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8090"] 08-Dec-2015 08:41:16.934 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 13250 ms
Form Name |
---|
This issue is mentioned in commits included in the Confluence 6.0.0-OD-2016.01.1-0003 release being approved for production: CPU-180