Details
-
Bug
-
Resolution: Fixed
-
Highest
-
5.5-beta1
-
windows 7-64bits
Description
Steps to Replicate
- Install Confluence on a platform that has not installed confluence before (or the home directory is never set like the default path). Tested using atlassian-confluence-5.5-RC1 x32 and x64
- Ensure that the default confluence.home directory does not exist in the platform yet:
confluence.home = C:\\Program Files\\Atlassian\\Application Data\\Confluence
- Click on Custom Install but do not change any of the default settings (Just confirmed that it occurs also for express install)
atlassian-confluence.log
2014-04-21 17:04:02,968 WARN [localhost-startStop-1] [atlassian.config.xml.AbstractDom4jXmlConfigurationPersister] saveDocumentAtomically Unable to move C:\Program Files\Atlassian\Application Data\Confluence\confluence.cfg.xml173205289539741063tmp to C:\Program Files\Atlassian\Application Data\Confluence\confluence.cfg.xml. Falling back to non-atomic overwrite. 2014-04-21 17:04:03,305 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system 2014-04-21 17:04:03,389 WARN [localhost-startStop-1] [org.twdata.pkgscanner.InternalScanner] findInPackage Unable to find any resources for package 'bucket*' 2014-04-21 17:04:04,020 WARN [localhost-startStop-1] [org.twdata.pkgscanner.InternalScanner] findInPackage Unable to find any resources for package 'org/xml' 2014-04-21 17:04:08,254 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:00:04.947 2014-04-21 17:04:09,030 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve 2014-04-21 17:04:09,117 FATAL [localhost-startStop-1] [atlassian.spring.container.SpringContainerContext] getComponent Spring Application context has not been set 2014-04-21 17:04:09,162 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 2014-04-21 17:04:09,162 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] contextDestroyed Stopping Confluence 2014-04-21 17:04:09,164 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] shutdown Shutting down the plugin system
catalina.log
Apr 21, 2014 5:03:46 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Tomcat-Standalone Apr 21, 2014 5:03:46 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.47 Apr 21, 2014 5:04:09 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-5500"] Apr 21, 2014 5:04:09 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 22629 ms Apr 21, 2014 5:04:09 PM org.apache.catalina.core.StandardServer await SEVERE: StandardServer.await: create[localhost:8000]: java.net.BindException: Address already in use: JVM_Bind at java.net.DualStackPlainSocketImpl.bind0(Native Method) at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source) at java.net.AbstractPlainSocketImpl.bind(Unknown Source) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at org.apache.catalina.core.StandardServer.await(StandardServer.java:427) at org.apache.catalina.startup.Catalina.await(Catalina.java:779) at org.apache.catalina.startup.Catalina.start(Catalina.java:725) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456) Apr 21, 2014 5:04:09 PM org.apache.coyote.AbstractProtocol pause INFO: Pausing ProtocolHandler ["http-bio-5500"] Apr 21, 2014 5:04:09 PM org.apache.catalina.core.StandardService stopInternal INFO: Stopping service Tomcat-Standalone Apr 21, 2014 5:04:09 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [] 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. Apr 21, 2014 5:04:09 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [] 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. Apr 21, 2014 5:04:09 PM org.apache.coyote.AbstractProtocol stop INFO: Stopping ProtocolHandler ["http-bio-5500"] Apr 21, 2014 5:04:09 PM org.apache.coyote.AbstractProtocol destroy INFO: Destroying ProtocolHandler ["http-bio-5500"]
It has a total of 4 home directories defined inside confluence-init.properties.
The multiple home dirs is not a new problem in Confluence, however this time it seems to be blocking the startup. As mentioned by dnorton@atlassian.com in the comments below, fixing up confluence-init.properties so it only has one confluence.home entry allows Confluence to be started correctly.
Impact
The Confluence Service does not start automatically OR manually.
Workaround
Comment out all the confluence.home entries, leaving only 1 entry uncommented
Attachments
Issue Links
- is caused by
-
CONFSERVER-27213 Installer uncomments and replaces "confluence.home" lines intended to be comments/notes
- Closed