[rules-users] Guvnor 5.1.1 Memory leak on Tomcat

Michael Anstis michael.anstis at gmail.com
Tue Sep 21 15:38:10 EDT 2010


I believe this is not a Drools issue. It appears well documented.

https://issues.apache.org/jira/browse/DBCP-332

http://confluence.atlassian.com/pages/viewpage.action?pageId=218275753


On 21 September 2010 20:25, bbarani <bbarani at gmail.com> wrote:

>
> Hi,
>
> I have deployed Guvnor 5.1.1 in Tomcat.
>
> I am getting the below error message whenever I shut down Tomcat server.
>
>
> Sep 21, 2010 3:19:52 PM org.apache.catalina.loader.WebappClassLoader
> clearRefere
> ncesJdbc
> SEVERE: The web application [/drools-5.1.1-guvnor] registered the JBDC
> driver [o
> rg.apache.derby.jdbc.AutoloadedDriver] but failed to unregister it when the
> web
> application was stopped. To prevent a memory leak, the JDBC Driver has been
> forc
> ibly unregistered.
> Sep 21, 2010 3:19:53 PM org.apache.catalina.loader.WebappClassLoader
> clearRefere
> ncesThreads
> SEVERE: The web application [/drools-5.1.1-guvnor] appears to have started
> a
> thr
> ead named [Timer-1] but has failed to stop it. This is very likely to
> create
> a m
> emory leak.
> Sep 21, 2010 3:19:53 PM org.apache.catalina.loader.WebappClassLoader
> clearRefere
> ncesThreads
> SEVERE: The web application [/drools-5.1.1-guvnor] appears to have started
> a
> thr
> ead named [pool-1-thread-1] but has failed to stop it. This is very likely
> to cr
> eate a memory leak.
> Sep 21, 2010 3:19:53 PM org.apache.catalina.loader.WebappClassLoader
> clearRefere
> ncesThreads
> SEVERE: The web application [/drools-5.1.1-guvnor] appears to have started
> a
> thr
> ead named [Thread-23] but has failed to stop it. This is very likely to
> create a
>  memory leak.
> Sep 21, 2010 3:19:53 PM org.apache.catalina.loader.WebappClassLoader
> clearRefere
> ncesThreads
> SEVERE: The web application [/drools-5.1.1-guvnor] appears to have started
> a
> thr
> ead named [Timer-5] but has failed to stop it. This is very likely to
> create
> a m
> emory leak.
> Sep 21, 2010 3:19:53 PM org.apache.catalina.loader.WebappClassLoader
> clearThread
> LocalMap
> SEVERE: The web application [/drools-5.1.1-guvnor] created a ThreadLocal
> with ke
> y of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal at b54ef7])
> and
> a v
> alue of type [org.apache.jackrabbit.core.query.lucene.PerQueryCache] (value
> [org
> .apache.jackrabbit.core.query.lucene.PerQueryCache at 1536ecf]) but failed to
> remov
> e it when the web application was stopped. This is very likely to create a
> memor
> y leak.
> Sep 21, 2010 3:19:53 PM org.apache.catalina.loader.WebappClassLoader
> clearThread
> LocalMap
> SEVERE: The web application [/drools-5.1.1-guvnor] created a ThreadLocal
> with ke
> y of type [org.apache.derby.iapi.sql.dictionary.TableDescriptor$1] (value
> [org.a
> pache.derby.iapi.sql.dictionary.TableDescriptor$1 at 8fdcd1]) and a value of
> type [
> java.util.WeakHashMap] (value [{=null, ={1, 2, 3}, =null, =null, =null,
> ={1,
> 2},
>  =null, =null, =null, =null, ={1, 2, 3}}]) but failed to remove it when the
> web
> application was stopped. This is very likely to create a memory leak.
> Sep 21, 2010 3:19:53 PM org.apache.catalina.loader.WebappClassLoader
> clearThread
> LocalMap
> SEVERE: The web application [/drools-5.1.1-guvnor] created a ThreadLocal
> with ke
> y of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal at ea4081])
> and
> a v
> alue of type [org.apache.derby.iapi.services.context.ContextManager] (value
> [org
> .apache.derby.iapi.services.context.ContextManager at 18facfb]) but failed to
> remov
> e it when the web application was stopped. This is very likely to create a
> memor
> y leak.
> Sep 21, 2010 3:19:53 PM org.apache.catalina.loader.WebappClassLoader
> clearThread
> LocalMap
> SEVERE: The web application [/drools-5.1.1-guvnor] created a ThreadLocal
> with ke
> y of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal at ea4081])
> and
> a v
> alue of type [org.apache.derby.iapi.services.context.ContextManager] (value
> [org
> .apache.derby.iapi.services.context.ContextManager at 1efb003]) but failed to
> remov
> e it when the web application was stopped. This is very likely to create a
> memor
> y leak.
> Sep 21, 2010 3:19:53 PM org.apache.catalina.loader.WebappClassLoader
> clearThread
> LocalMap
> SEVERE: The web application [/drools-5.1.1-guvnor] created a ThreadLocal
> with ke
> y of type [org.apache.derby.iapi.sql.dictionary.TableDescriptor$1] (value
> [org.a
> pache.derby.iapi.sql.dictionary.TableDescriptor$1 at 8fdcd1]) and a value of
> type [
> java.util.WeakHashMap] (value [{=null}]) but failed to remove it when the
> web ap
> plication was stopped. This is very likely to create a memory leak.
>
> Has anyone faced this type of issue?
>
> Thanks,
> Barani
>
> --
> View this message in context:
> http://drools-java-rules-engine.46999.n3.nabble.com/Guvnor-5-1-1-Memory-leak-on-Tomcat-tp1556935p1556935.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100921/31133e61/attachment.html 


More information about the rules-users mailing list