JIRA Still Running but Confluence just stopped
Asked by Jon Briggs:

Can't figure out what happened. Running TomCat 6.33 and all was good for a few months. Now can start Confluence. Below is the start log. Have tried to search some of the errors, but getting no where :(

Any hints?

```
Dec 1, 2011 3:28:17 AM org.apache.coyote.http11.Http11Protocol pauseINFO: Pausing Coyote HTTP/1.1 on http-8181Dec 1, 2011 3:28:18 AM org.apache.catalina.core.StandardService stopINFO: Stopping service CatalinaDec 1, 2011 3:28:18 AM org.apache.coyote.http11.Http11Protocol destroyINFO: Stopping Coyote HTTP/1.1 on http-8181Dec 1, 2011 3:28:48 AM org.apache.catalina.core.AprLifecycleListener initINFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/jdk1.6.0_26/jre/lib/amd64/server:/usr/local/jdk1.6.0_26/jre/lib/amd64:/usr/local/jdk1.6.0_26/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/libDec 1, 2011 3:28:48 AM org.apache.coyote.http11.Http11Protocol initINFO: Initializing Coyote HTTP/1.1 on http-8181Dec 1, 2011 3:28:48 AM org.apache.catalina.startup.Catalina loadINFO: Initialization processed in 291 msDec 1, 2011 3:28:48 AM org.apache.catalina.core.StandardService startINFO: Starting service CatalinaDec 1, 2011 3:28:48 AM org.apache.catalina.core.StandardEngine startINFO: Starting Servlet Engine: Apache Tomcat/6.0.33Dec 1, 2011 3:28:48 AM org.apache.catalina.startup.HostConfig deployDescriptorINFO: Deploying configuration descriptor manager.xmlDec 1, 2011 3:28:48 AM org.apache.catalina.startup.HostConfig deployDescriptorINFO: Deploying configuration descriptor host-manager.xmlDec 1, 2011 3:28:48 AM org.apache.catalina.startup.HostConfig deployDescriptorINFO: Deploying configuration descriptor confluence.xmlDec 1, 2011 3:28:57 AM org.apache.catalina.core.StandardContext startSEVERE: Error listenerStartDec 1, 2011 3:28:57 AM org.apache.catalina.core.StandardContext startSEVERE: Context [/confluence] startup failed due to previous errorsDec 1, 2011 3:28:57 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbcSEVERE: 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.Dec 1, 2011 3:28:57 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbcSEVERE: 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.Dec 1, 2011 3:28:57 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbcSEVERE: 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.Dec 1, 2011 3:28:57 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMapSEVERE: The web application [/confluence] created a ThreadLocal with key of type [com.atlassian.core.logging.ThreadLocalErrorCollection$2] (value [com.atlassian.core.logging.ThreadLocalErrorCollection$2@75636731]) 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.Dec 1, 2011 3:28:57 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMapSEVERE: The web application [/confluence] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@510bfe2c]) and a value of type [org.dom4j.DocumentFactory] (value [org.dom4j.DocumentFactory@6a5c2445]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.Dec 1, 2011 3:28:57 AM org.apache.catalina.startup.HostConfig deployDirectoryINFO: Deploying web application directory ROOTDec 1, 2011 3:28:57 AM org.apache.catalina.startup.HostConfig deployDirectoryINFO: Deploying web application directory examplesDec 1, 2011 3:28:58 AM org.apache.catalina.startup.HostConfig deployDirectoryINFO: Deploying web application directory docsDec 1, 2011 3:28:58 AM org.apache.coyote.http11.Http11Protocol startINFO: Starting Coyote HTTP/1.1 on http-8181Dec 1, 2011 3:28:58 AM org.apache.jk.common.ChannelSocket initINFO: Port busy 8009 java.net.BindException: Address already in useDec 1, 2011 3:28:58 AM org.apache.jk.common.ChannelSocket initSEVERE: Can't find free port 8009 8009Dec 1, 2011 3:28:58 AM org.apache.jk.server.JkMain startINFO: Jk running ID=0 time=0/9  config=nullDec 1, 2011 3:28:58 AM org.apache.catalina.startup.Catalina startINFO: Server startup in 9565 ms
```


Answers:
author: parthiban subramaniam
body: Hi Jon,

You have another process/tomcat running on the same port  
**`INFO: Port busy 8009 java.net.BindException: Address already ``in` `use`**

**`SEVERE: Can't ``find` `free` `port 8009 8009`**

Identify what it is kill it and then restart tomcat, this should resolve this issue.

hope this helps

Parthi

comments: author: Jon Briggs
body: Thank you, Thank you!!! That was it. I never could trace down what was taking Port 8009, but the restart of the CORE Tomcat (not the JIRA or CONF containers) did the trick.