https://issues.apache.org/bugzilla/show_bug.cgi?id=55149

            Bug ID: 55149
           Summary: Usage of XmlBeans triggers "clearThreadLocalMap"
                    warnings in Tomcat with XSSF
           Product: POI
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: br...@reflexe.fr

When using POI 3.9 with Apache Tomcat 6, to load, manipulate and save XLSX
worksheets, the following messages appear in catalina.out when stopping Tomcat
using $CATALINA_HOME/bin/shutdown.sh --> this looks like a memory leak.

SEVERE: The web application [/foobar] created a ThreadLocal with key of type
[org.apache.xmlbeans.XmlBeans$1] (value
[org.apache.xmlbeans.XmlBeans$1@7d3aace]) and a value of type
[java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@5972be65])
but failed to remove it when the web application was stopped. This is very
likely to create a memory leak.
Jun 26, 2013 7:01:56 PM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: The web application [/foobar] created a ThreadLocal with key of type
[org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl$1] (value
[org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl$1@7c3206c3]) and a value
of type [java.util.ArrayList] (value [[java.lang.ref.SoftReference@385a2be8]])
but failed to remove it when the web application was stopped. This is very
likely to create a memory leak.
Jun 26, 2013 7:01:56 PM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: The web application [/foobar] created a ThreadLocal with key of type
[org.apache.xmlbeans.impl.store.Locale$1] (value
[org.apache.xmlbeans.impl.store.Locale$1@27f8a93f]) and a value of type
[java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@362f7b99])
but failed to remove it when the web application was stopped. This is very
likely to create a memory leak.
Jun 26, 2013 7:01:56 PM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: The web application [/foobar] created a ThreadLocal with key of type
[org.apache.xmlbeans.impl.store.CharUtil$1] (value
[org.apache.xmlbeans.impl.store.CharUtil$1@675b9599]) and a value of type
[java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@2dbaa4d2])
but failed to remove it when the web application was stopped. This is very
likely to create a memory leak.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to