Error after upgrading bamboo to version 6.4.1
Asked by AFIR:

Error after upgrading bamboo to version 6.4.1:

2018-03-29 12:01:53 Commons Daemon procrun stderr initialized  
29-Mar-2018 12:02:00.046 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin \[SetPropertiesRule\]{Server/Service/Engine/Valve} Setting property 'resolveHosts' to 'false' did not find a matching property.  
29-Mar-2018 12:02:00.062 INFO \[main\] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.7 using APR version 1.5.2.  
29-Mar-2018 12:02:00.062 INFO \[main\] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 \[true\], sendfile \[true\], accept filters \[false\], random \[true\].  
29-Mar-2018 12:02:01.234 INFO \[main\] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2h 3 May 2016)  
29-Mar-2018 12:02:01.531 INFO \[main\] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler \["http-apr-8085"\]  
29-Mar-2018 12:02:01.578 INFO \[main\] org.apache.catalina.startup.Catalina.load Initialization processed in 4544 ms  
29-Mar-2018 12:02:01.640 INFO \[main\] org.apache.catalina.core.StandardService.startInternal Starting service Catalina  
29-Mar-2018 12:02:01.640 INFO \[main\] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.36  
29-Mar-2018 12:02:43.468 INFO \[localhost-startStop-1\] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.  
29-Mar-2018 12:05:15.675 INFO \[main\] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler \["http-apr-8085"\]  
29-Mar-2018 12:05:15.700 INFO \[main\] org.apache.catalina.startup.Catalina.start Server startup in 194126 ms  
29-Mar-2018 12:06:15.315 INFO \[Thread-8\] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler \["http-apr-8085"\]  
29-Mar-2018 12:06:15.377 INFO \[Thread-8\] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina  
29-Mar-2018 12:06:15.752 WARNING \[localhost-startStop-2\] 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.  
29-Mar-2018 12:06:15.752 WARNING \[localhost-startStop-2\] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application \[ROOT\] appears to have started a thread named \[C3P0PooledConnectionPoolManager\[identityToken-\>1hge0zq9uvcoim01chwkwa\|da00102\]-AdminTaskTimer\] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:  
java.lang.Object.wait(Native Method)  
java.util.TimerThread.mainLoop(Timer.java:552)  
java.util.TimerThread.run(Timer.java:505)  
29-Mar-2018 12:06:15.752 WARNING \[localhost-startStop-2\] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application \[ROOT\] appears to have started a thread named \[C3P0PooledConnectionPoolManager\[identityToken-\>1hge0zq9uvcoim01chwkwa\|da00102\]-HelperThread-#0\] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:  
java.lang.Object.wait(Native Method)  
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:683)  
29-Mar-2018 12:06:15.752 WARNING \[localhost-startStop-2\] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application \[ROOT\] appears to have started a thread named \[C3P0PooledConnectionPoolManager\[identityToken-\>1hge0zq9uvcoim01chwkwa\|da00102\]-HelperThread-#1\] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:  
java.lang.Object.wait(Native Method)  
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:683)  
29-Mar-2018 12:06:15.752 WARNING \[localhost-startStop-2\] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application \[ROOT\] appears to have started a thread named \[C3P0PooledConnectionPoolManager\[identityToken-\>1hge0zq9uvcoim01chwkwa\|da00102\]-HelperThread-#2\] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:  
java.lang.Object.wait(Native Method)  
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:683)  
29-Mar-2018 12:06:15.752 SEVERE \[localhost-startStop-2\] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application \[ROOT\] created a ThreadLocal with key of type \[com.atlassian.bamboo.scopedcaches.ThreadScopedCaches$1\] (value \[com.atlassian.bamboo.scopedcaches.ThreadScopedCaches$1@5268569d\]) and a value of type \[com.atlassian.bamboo.scopedcaches.ScopedCaches\] (value \[com.atlassian.bamboo.scopedcaches.ScopedCaches@16a642ac\]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.  
29-Mar-2018 12:06:15.752 SEVERE \[localhost-startStop-2\] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application \[ROOT\] created a ThreadLocal with key of type \[java.lang.ThreadLocal\] (value \[java.lang.ThreadLocal@6fbcd890\]) and a value of type \[org.acegisecurity.context.SecurityContextImpl\] (value \[org.acegisecurity.context.SecurityContextImpl@ffffffff: Null authentication\]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.  
29-Mar-2018 12:06:15.752 SEVERE \[localhost-startStop-2\] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application \[ROOT\] created a ThreadLocal with key of type \[com.atlassian.bamboo.scopedcaches.ThreadScopedCaches$1\] (value \[com.atlassian.bamboo.scopedcaches.ThreadScopedCaches$1@5268569d\]) and a value of type \[com.atlassian.bamboo.scopedcaches.ScopedCaches\] (value \[com.atlassian.bamboo.scopedcaches.ScopedCaches@6cfe6599\]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.  
29-Mar-2018 12:06:15.752 SEVERE \[localhost-startStop-2\] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application \[ROOT\] created a ThreadLocal with key of type \[com.atlassian.bamboo.scopedcaches.ThreadScopedCaches$1\] (value \[com.atlassian.bamboo.scopedcaches.ThreadScopedCaches$1@5268569d\]) and a value of type \[com.atlassian.bamboo.scopedcaches.ScopedCaches\] (value \[com.atlassian.bamboo.scopedcaches.ScopedCaches@7cb20a25\]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.  
29-Mar-2018 12:06:15.752 SEVERE \[localhost-startStop-2\] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application \[ROOT\] created a ThreadLocal with key of type \[com.atlassian.bamboo.scopedcaches.ThreadScopedCaches$1\] (value \[com.atlassian.bamboo.scopedcaches.ThreadScopedCaches$1@5268569d\]) and a value of type \[com.atlassian.bamboo.scopedcaches.ScopedCaches\] (value \[com.atlassian.bamboo.scopedcaches.ScopedCaches@58a5843d\]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.  
29-Mar-2018 12:06:15.752 SEVERE \[localhost-startStop-2\] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application \[ROOT\] created a ThreadLocal with key of type \[com.atlassian.bamboo.scopedcaches.ThreadScopedCaches$1\] (value \[com.atlassian.bamboo.scopedcaches.ThreadScopedCaches$1@5268569d\]) and a value of type \[com.atlassian.bamboo.scopedcaches.ScopedCaches\] (value \[com.atlassian.bamboo.scopedcaches.ScopedCaches@51d4afe1\]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.  
29-Mar-2018 12:06:15.752 SEVERE \[localhost-startStop-2\] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application \[ROOT\] created a ThreadLocal with key of type \[com.atlassian.bamboo.scopedcaches.ThreadScopedCaches$1\] (value \[com.atlassian.bamboo.scopedcaches.ThreadScopedCaches$1@5268569d\]) and a value of type \[com.atlassian.bamboo.scopedcaches.ScopedCaches\] (value \[com.atlassian.bamboo.scopedcaches.ScopedCaches@2216023b\]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.  
29-Mar-2018 12:06:15.752 SEVERE \[localhost-startStop-2\] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application \[ROOT\] created a ThreadLocal with key of type \[com.atlassian.bamboo.scopedcaches.ThreadScopedCaches$1\] (value \[com.atlassian.bamboo.scopedcaches.ThreadScopedCaches$1@5268569d\]) and a value of type \[com.atlassian.bamboo.scopedcaches.ScopedCaches\] (value \[com.atlassian.bamboo.scopedcaches.ScopedCaches@56e6fe28\]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.  
29-Mar-2018 12:06:15.752 SEVERE \[localhost-startStop-2\] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application \[ROOT\] created a ThreadLocal with key of type \[com.atlassian.bamboo.scopedcaches.ThreadScopedCaches$1\] (value \[com.atlassian.bamboo.scopedcaches.ThreadScopedCaches$1@5268569d\]) and a value of type \[com.atlassian.bamboo.scopedcaches.ScopedCaches\] (value \[com.atlassian.bamboo.scopedcaches.ScopedCaches@22b9e8b2\]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.  
29-Mar-2018 12:06:15.752 SEVERE \[localhost-startStop-2\] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application \[ROOT\] created a ThreadLocal with key of type \[com.atlassian.bamboo.scopedcaches.ThreadScopedCaches$1\] (value \[com.atlassian.bamboo.scopedcaches.ThreadScopedCaches$1@5268569d\]) and a value of type \[com.atlassian.bamboo.scopedcaches.ScopedCaches\] (value \[com.atlassian.bamboo.scopedcaches.ScopedCaches@22f700a8\]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.  
29-Mar-2018 12:06:15.799 INFO \[Thread-8\] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler \["http-apr-8085"\]


Answers:
author: robhit
body: Hi Afir,

Thanks for your question!

It seems you are dealing with memory problem here. I would recommend opening a support ticket for proper investigation and solution.

Thanks,

Robhit