Confluence Test Install listenerStart Error
Asked by Zach Newman:

This question is a continuation of the following: [https://answers.atlassian.com/questions/77617/confluence-test-environment-without-attachments](/questions/77617/confluence-test-environment-without-attachments)

I am trying to create a test server to mirror my production installation. Confluence 3.5.5 on Solaris 10.

I followed the confluence migrations instructions - copied over the install and home dirs (without attachments) to a new server and dumped the database.

The following are the errors at the end of catalina.out:

----

Aug 21, 2012 12:09:34 PM org.apache.coyote.http11.Http11Protocol init

INFO: Initializing Coyote HTTP/1.1 on http-8080

Aug 21, 2012 12:09:34 PM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 586 ms

Aug 21, 2012 12:09:34 PM org.apache.catalina.core.StandardService start

INFO: Starting service Tomcat-Standalone

Aug 21, 2012 12:09:34 PM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/6.0.32

2012-08-21 12:09:38,522 INFO \[main\] \[com.atlassian.confluence.lifecycle\] contextInitialized Starting Confluence 3.5.5 (build #2160)

2012-08-21 12:09:47,288 INFO \[main\] \[atlassian.plugin.manager.DefaultPluginManager\] init Initialising the plugin system

2012-08-21 12:09:47,535 INFO \[main\] \[atlassian.plugin.manager.DefaultPluginManager\] init Plugin system started in 0:00:00.245

Aug 21, 2012 12:15:00 PM org.apache.catalina.core.StandardContext start

SEVERE: Error listenerStart

Aug 21, 2012 12:15:00 PM org.apache.catalina.core.StandardContext start

SEVERE: Context \[/confluence\] startup failed due to previous errors

Aug 21, 2012 12:15:00 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc

SEVERE: The web application \[/confluence\] 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.

Aug 21, 2012 12:15:00 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc

SEVERE: The web application \[/confluence\] 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.

Aug 21, 2012 12:15:00 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc

SEVERE: The web application \[/confluence\] registered the JDBC driver \[com.mysql.jdbc.Driver\] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

Aug 21, 2012 12:15:00 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

SEVERE: The web application \[/confluence\] created a ThreadLocal with key of type \[com.atlassian.core.logging.ThreadLocalErrorCollection$2\] (value \[com.atlassian.core.logging.ThreadLocalErrorCollection$2@221f81\]) and a value of type \[java.lang.Boolean\] (value \[false\]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

Aug 21, 2012 12:15:00 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

SEVERE: The web application \[/confluence\] created a ThreadLocal with key of type \[java.lang.ThreadLocal\] (value \[java.lang.ThreadLocal@426e05\]) and a value of type \[org.dom4j.DocumentFactory\] (value \[org.dom4j.DocumentFactory@145240a\]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.

Aug 21, 2012 12:15:02 PM org.apache.coyote.http11.Http11Protocol start

INFO: Starting Coyote HTTP/1.1 on http-8080

Aug 21, 2012 12:15:02 PM org.apache.catalina.startup.Catalina start

INFO: Server startup in 327947 ms

----

A clean install and home dir started fine. Any thoughts?


Answers:
author: BernardoA
body: The catalina log doesn't give information about this issue, you can verify your confluence log. Also you can try to shut your instance and then remove the contents from these directories in order to restore the bundle plugins that may causing this problem:

\* The _\<confluence-home\>/bundled-plugins_ folder  
\* The _\<confluence-home\>/plugin-cache_ folder  
\* The _\<confluence-home\>/plugins-osgi-cache_ folder  
\* The _\<confluence-home\>/plugins-temp_ folder  
\* The _\<confluence-home\>/bundled-plugins_language_ folder

Try this and start again, if it doesn't work I suggest to create a support ticket.

comments: author: Zach Newman
body: Thanks! Along with the clearing the plugins I had an error in conf/server.xml


author: BernardoA
body: the catalina log doesn't give information about this issue, you can check in your confluence log. Also try to shut your instance and remove the contents from these directories in roder to restore the bundle plugins that may be causing this problem:

\* The _\<confluence-home\>/bundled-plugins_ folder  
\* The _\<confluence-home\>/plugin-cache_ folder  
\* The _\<confluence-home\>/plugins-osgi-cache_ folder  
\* The _\<confluence-home\>/plugins-temp_ folder  
\* The _\<confluence-home\>/bundled-plugins_language_ folder

Try this and start again your instance. If it doesn't work I suggest to create a support ticket.


Tags: error

startup