
[ http://jira.qos.ch/browse/LBCLASSIC-183?page=com.atlassian.jira.plugin.syste... ] Jose Guerra commented on LBCLASSIC-183: --------------------------------------- Hi, I am using a new version of Logback 0.9.20 and aparently the stability has improved a lot on Tomcat 6.0.26 but still after certain number of redeployments , the bug comes out again. Jun 8, 2010 11:28:09 AM org.apache.catalina.startup.HostConfig checkResources INFO: Undeploying context [/tcs-trackingws] Jun 8, 2010 11:28:09 AM com.sun.xml.ws.transport.http.servlet.WSServletDelegate destroy INFO: WSSERVLET15: JAX-WS servlet destroyed Jun 8, 2010 11:28:09 AM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextDestroyed INFO: WSSERVLET13: JAX-WS context listener destroyed About to detach context named trackingws Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1059782]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1059782]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1de65cc]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.ClassFactory$1@1ed381d]) and a value of type [java.util.WeakHashMap] (value [{class tng.iac.tracking.vme.service.ws.jaxws.GetTelemetryValue=java.lang.ref.WeakReference@ff0537}]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [null]) and a value of type [com.sun.xml.bind.v2.runtime.property.ArrayElementLeafProperty] (value [com.sun.xml.bind.v2.runtime.property.ArrayElementLeafProperty@af70da]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [null]) and a value of type [com.sun.xml.bind.v2.runtime.property.ArrayElementLeafProperty] (value [com.sun.xml.bind.v2.runtime.property.ArrayElementLeafProperty@af70da]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@1a2ad3]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1f1ba17]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1de65cc]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [null]) and a value of type [com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty] (value [com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty@f05184]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.ClassFactory$1@1ed381d]) and a value of type [java.util.WeakHashMap] (value [{class tng.iac.tracking.vme.generated.dbvarmap.UnitType=java.lang.ref.WeakReference@177d05d, class tng.iac.tracking.vme.service.ws.jaxws.GetTelemetryValue=java.lang.ref.WeakReference@110ad4c, class tng.iac.tracking.vme.service.ws.jaxws.RegisterServices=java.lang.ref.WeakReference@1e177e6, class tng.iac.tracking.vme.service.ws.jaxws.StopService=java.lang.ref.WeakReference@186a635, class tng.iac.tracking.vme.service.ws.jaxws.StartService=java.lang.ref.WeakReference@10a17b3, class tng.iac.tracking.vme.service.ws.jaxws.UnregisterService=java.lang.ref.WeakReference@199ec61, class java.util.ArrayList=java.lang.ref.WeakReference@6de896, class tng.iac.tracking.vme.generated.dbvarmap.VarMapType=java.lang.ref.WeakReference@1c10670, class tng.iac.tracking.vme.generated.dbvarmap.WsType=java.lang.ref.WeakReference@18dcf0b}]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [null]) and a value of type [com.sun.xml.bind.v2.runtime.property.ArrayElementLeafProperty] (value [com.sun.xml.bind.v2.runtime.property.ArrayElementLeafProperty@af70da]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1059782]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1141671]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [null]) and a value of type [com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty] (value [com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty@f05184]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [null]) and a value of type [com.sun.xml.bind.v2.runtime.property.ArrayElementLeafProperty] (value [com.sun.xml.bind.v2.runtime.property.ArrayElementLeafProperty@af70da]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1de65cc]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1059782]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1de65cc]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1059782]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1de65cc]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1059782]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1de65cc]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1059782]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1de65cc]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1059782]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1de65cc]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1059782]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Jun 8, 2010 11:28:09 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap INFO: Deploying web application archive tcs-trackingws.war Jun 8, 2010 11:28:30 AM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized INFO: WSSERVLET12: JAX-WS context listener initializing Jun 8, 2010 11:28:32 AM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized SEVERE: WSSERVLET11: failed to parse runtime descriptor: java.lang.OutOfMemoryError: PermGen space java.lang.OutOfMemoryError: PermGen space^M at java.lang.ClassLoader.defineClass1(Native Method)^M at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)^M at java.lang.ClassLoader.defineClass(ClassLoader.java:616)^M at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)^M at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2527)^M at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1010)^M at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1483)^M at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361)^M at ch.qos.logback.core.joran.GenericConfigurator.buildInterpreter(GenericConfigurator.java:111)^M at ch.qos.logback.core.joran.JoranConfiguratorBase.buildInterpreter(JoranConfiguratorBase.java:101)^M at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:123)^M at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:93)^M at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:52)^M at ch.qos.logback.classic.selector.ContextJNDISelector.configureLoggerContextByURL(ContextJNDISelector.java:161)^M at ch.qos.logback.classic.selector.ContextJNDISelector.getLoggerContext(ContextJNDISelector.java:105)^M at org.slf4j.impl.StaticLoggerBinder.getLoggerFactory(StaticLoggerBinder.java:109)^M at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:280)^M at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:248)^M at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:261)^M at tng.iac.tracking.vme.service.ws.VMEMasterService.<clinit>(Unknown Source)^M at java.lang.Class.forName0(Native Method)^M at java.lang.Class.forName(Class.java:247)^M at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.getImplementorClass(DeploymentDescriptorParser.java:545)^M at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:223)^M at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)^M at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)^M at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)^M at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)^M at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)^M at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)^M at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)^M at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)^M Jun 8, 2010 11:28:32 AM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Jun 8, 2010 11:28:32 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/tcs-trackingws] startup failed due to previous errors Jun 8, 2010 11:28:32 AM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextDestroyed INFO: WSSERVLET13: JAX-WS context listener destroyed About to detach context named trackingws
Tomcat reports SEVERE ThreadLocal issues upon shutdown ------------------------------------------------------
Key: LBCLASSIC-183 URL: http://jira.qos.ch/browse/LBCLASSIC-183 Project: logback-classic Issue Type: Bug Affects Versions: 0.9.18 Environment: Tomcat 6.0.24, JDK 6, Windows or Solaris Reporter: Anthony Whitford Assignee: Ceki Gulcu
I have a webapp that uses Logback, deployed on a Tomcat instance. Upon shutdown, Tomcat reports this and doesn't completely shut down: SEVERE: A web application created a ThreadLocal with key of type [org.slf4j.impl.CopyOnInheritThreadLocal] (value [org.slf4j.impl.CopyOnInheritThreadLocal@1bb35 b]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Feb 3, 2010 10:49:22 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@10e2558]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Is LogBack leaking resources?
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira