Has anyone seen the severe errors below in their Tomcat catalina.log file after shutting
Tomcat down?
Does anyone know what to do about it? It causes problems when restarting the XWiki web
application.
Thanks in advance for your help.
Mike
[mschaffner@ebo-elab01 logs]$ ../bin/version.sh
Using CATALINA_BASE: /usr/share/apache-tomcat-7.0.35
Using CATALINA_HOME: /usr/share/apache-tomcat-7.0.35
Using CATALINA_TMPDIR: /usr/share/apache-tomcat-7.0.35/temp
Using JRE_HOME: /usr/lib/jvm/java-1.6.0-openjdk.x86_64/jre
Using CLASSPATH:
/usr/share/apache-tomcat-7.0.35/bin/bootstrap.jar:/usr/share/apache-tomcat-7.0.35/bin/tomcat-juli.jar
Server version: Apache Tomcat/7.0.35
Server built: Jan 10 2013 10:52:49
Server number: 7.0.35.0
OS Name: Linux
OS Version: 2.6.43.8-1.fc15.x86_64
Architecture: amd64
JVM Version: 1.6.0_22-b22
JVM Vendor: Sun Microsystems Inc.
[mschaffner@ebo-elab01 logs]$ cat catalina.out
Jan 31, 2013 2:13:02 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path:
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Jan 31, 2013 2:13:02 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jan 31, 2013 2:13:02 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jan 31, 2013 2:13:02 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1064 ms
Jan 31, 2013 2:13:02 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 31, 2013 2:13:02 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.35
Jan 31, 2013 2:13:02 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory
/usr/share/apache-tomcat-7.0.35/webapps/examples
Jan 31, 2013 2:13:03 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.35/webapps/ROOT
Jan 31, 2013 2:13:03 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.35/webapps/xwiki
2013-01-31 14:13:16,811 [localhost-startStop-1] WARN o.x.e.i.ServletEnvironment - No
permanent directory configured. Using temporary directory
[/usr/share/apache-tomcat-7.0.35/temp].
2013-01-31 14:13:20,955 [localhost-startStop-1] INFO istributionInitializerListener -
Distribution up to date
Jan 31, 2013 2:13:21 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory
/usr/share/apache-tomcat-7.0.35/webapps/host-manager
Jan 31, 2013 2:13:21 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.35/webapps/manager
Jan 31, 2013 2:13:21 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.35/webapps/docs
Jan 31, 2013 2:13:21 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jan 31, 2013 2:13:21 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jan 31, 2013 2:13:21 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 18581 ms
Jan 31, 2013 2:17:50 PM org.apache.catalina.core.StandardServer await
INFO: A valid shutdown command was received via the shutdown port. Stopping the Server
instance.
Jan 31, 2013 2:17:50 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8080"]
Jan 31, 2013 2:17:50 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
Jan 31, 2013 2:17:50 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named
[com.google.inject.internal.util.$Finalizer] but has failed to stop it. This is very
likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named [Core
extension repository updater] but has failed to stop it. This is very likely to create a
memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named [Job Manager
daemon thread] but has failed to stop it. This is very likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named [Distribution
initialization] but has failed to stop it. This is very likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named [Timer-440]
but has failed to stop it. This is very likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named [New I/O
client boss #441] but has failed to stop it. This is very likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named [New I/O
client worker #441-1] but has failed to stop it. This is very likely to create a memory
leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named
[AsyncHttpClient-Reaper] but has failed to stop it. This is very likely to create a memory
leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named
[AsyncHttpClient-Reaper] but has failed to stop it. This is very likely to create a memory
leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named
[AsyncHttpClient-Callback] but has failed to stop it. This is very likely to create a
memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named
[AsyncHttpClient-Reaper] but has failed to stop it. This is very likely to create a memory
leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named
[AsyncHttpClient-Reaper] but has failed to stop it. This is very likely to create a memory
leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type
[com.google.inject.internal.InjectorImpl$1] (value
[com.google.inject.internal.InjectorImpl$1@19290b6f]) and a value of type
[java.lang.Object[]] (value [[Ljava.lang.Object;@55adb150]) 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.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type
[com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@7e542721])
and a value of type [java.util.WeakHashMap] (value [{class
org.xwiki.extension.repository.xwiki.model.jaxb.ExtensionAuthor=java.lang.ref.WeakReference@544a43d2,
class java.util.ArrayList=java.lang.ref.WeakReference@57aabb39, class
org.xwiki.extension.repository.xwiki.model.jaxb.ExtensionDependency=java.lang.ref.WeakReference@9e9c826,
class
org.xwiki.extension.repository.xwiki.model.jaxb.License=java.lang.ref.WeakReference@53533bdf,
class
org.xwiki.extension.repository.xwiki.model.jaxb.ExtensionVersion=java.lang.ref.WeakReference@7d7fd835}])
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.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type
[com.ning.http.client.providers.netty.NettyAsyncHttpProvider.ThreadLocalBoolean] (value
[com.ning.http.client.providers.netty.NettyAsyncHttpProvider$ThreadLocalBoolean@2e24655f])
and a value of type [java.lang.Boolean] (value [false]) 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.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type
[org.sonatype.guice.bean.inject.BeanInjector$1] (value
[org.sonatype.guice.bean.inject.BeanInjector$1@577b57a3]) and a value of type [boolean[]]
(value [[Z@62b6bb33]) 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.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type
[org.jboss.netty.util.CharsetUtil$1] (value [org.jboss.netty.util.CharsetUtil$1@4abc43e6])
and a value of type [java.util.IdentityHashMap] (value
[{US-ASCII=sun.nio.cs.US_ASCII$Encoder@591686f7}]) 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.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type
[com.sun.xml.bind.v2.runtime.Coordinator$1] (value
[com.sun.xml.bind.v2.runtime.Coordinator$1@55f6efd2]) and a value of type
[java.lang.Object[]] (value [[Ljava.lang.Object;@46faf015]) 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.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type
[java.lang.ThreadLocal] (value [java.lang.ThreadLocal@4a8171b]) and a value of type
[java.util.Stack] (value [[org.xwiki.context.ExecutionContext@3784f000]]) 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.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type
[java.lang.ThreadLocal] (value [java.lang.ThreadLocal@78a8ac79]) and a value of type
[java.util.Stack] (value [[org.xwiki.logging.event.LogQueueListener@9d379d2]]) 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.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type
[java.lang.ThreadLocal] (value [java.lang.ThreadLocal@4a8171b]) and a value of type
[java.util.Stack] (value [[org.xwiki.context.ExecutionContext@1ae2cf08]]) 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.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type
[com.ning.http.client.providers.netty.NettyAsyncHttpProvider.ThreadLocalBoolean] (value
[com.ning.http.client.providers.netty.NettyAsyncHttpProvider$ThreadLocalBoolean@2e24655f])
and a value of type [java.lang.Boolean] (value [true]) 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.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type
[java.lang.ThreadLocal] (value [java.lang.ThreadLocal@20862402]) and a value of type
[org.infinispan.context.SingleKeyNonTxInvocationContext] (value
[SingleKeyNonTxInvocationContext{flags=null}]) 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.
Jan 31, 2013 2:17:50 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8080"]
Jan 31, 2013 2:17:50 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
Jan 31, 2013 2:17:50 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-8080"]
Jan 31, 2013 2:17:50 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
[mschaffner@ebo-elab01 logs]$