I believe this is not a Drools issue. It appears well documented. <br><br><a href="https://issues.apache.org/jira/browse/DBCP-332">https://issues.apache.org/jira/browse/DBCP-332</a><br><br><a href="http://confluence.atlassian.com/pages/viewpage.action?pageId=218275753">http://confluence.atlassian.com/pages/viewpage.action?pageId=218275753</a><br>
<br><br><div class="gmail_quote">On 21 September 2010 20:25, bbarani <span dir="ltr">&lt;<a href="mailto:bbarani@gmail.com">bbarani@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Hi,<br>
<br>
I have deployed Guvnor 5.1.1 in Tomcat.<br>
<br>
I am getting the below error message whenever I shut down Tomcat server.<br>
<br>
<br>
Sep 21, 2010 3:19:52 PM org.apache.catalina.loader.WebappClassLoader<br>
clearRefere<br>
ncesJdbc<br>
SEVERE: The web application [/drools-5.1.1-guvnor] registered the JBDC<br>
driver [o<br>
rg.apache.derby.jdbc.AutoloadedDriver] but failed to unregister it when the<br>
web<br>
application was stopped. To prevent a memory leak, the JDBC Driver has been<br>
forc<br>
ibly unregistered.<br>
Sep 21, 2010 3:19:53 PM org.apache.catalina.loader.WebappClassLoader<br>
clearRefere<br>
ncesThreads<br>
SEVERE: The web application [/drools-5.1.1-guvnor] appears to have started a<br>
thr<br>
ead named [Timer-1] but has failed to stop it. This is very likely to create<br>
a m<br>
emory leak.<br>
Sep 21, 2010 3:19:53 PM org.apache.catalina.loader.WebappClassLoader<br>
clearRefere<br>
ncesThreads<br>
SEVERE: The web application [/drools-5.1.1-guvnor] appears to have started a<br>
thr<br>
ead named [pool-1-thread-1] but has failed to stop it. This is very likely<br>
to cr<br>
eate a memory leak.<br>
Sep 21, 2010 3:19:53 PM org.apache.catalina.loader.WebappClassLoader<br>
clearRefere<br>
ncesThreads<br>
SEVERE: The web application [/drools-5.1.1-guvnor] appears to have started a<br>
thr<br>
ead named [Thread-23] but has failed to stop it. This is very likely to<br>
create a<br>
 memory leak.<br>
Sep 21, 2010 3:19:53 PM org.apache.catalina.loader.WebappClassLoader<br>
clearRefere<br>
ncesThreads<br>
SEVERE: The web application [/drools-5.1.1-guvnor] appears to have started a<br>
thr<br>
ead named [Timer-5] but has failed to stop it. This is very likely to create<br>
a m<br>
emory leak.<br>
Sep 21, 2010 3:19:53 PM org.apache.catalina.loader.WebappClassLoader<br>
clearThread<br>
LocalMap<br>
SEVERE: The web application [/drools-5.1.1-guvnor] created a ThreadLocal<br>
with ke<br>
y of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@b54ef7]) and<br>
a v<br>
alue of type [org.apache.jackrabbit.core.query.lucene.PerQueryCache] (value<br>
[org<br>
.apache.jackrabbit.core.query.lucene.PerQueryCache@1536ecf]) but failed to<br>
remov<br>
e it when the web application was stopped. This is very likely to create a<br>
memor<br>
y leak.<br>
Sep 21, 2010 3:19:53 PM org.apache.catalina.loader.WebappClassLoader<br>
clearThread<br>
LocalMap<br>
SEVERE: The web application [/drools-5.1.1-guvnor] created a ThreadLocal<br>
with ke<br>
y of type [org.apache.derby.iapi.sql.dictionary.TableDescriptor$1] (value<br>
[org.a<br>
pache.derby.iapi.sql.dictionary.TableDescriptor$1@8fdcd1]) and a value of<br>
type [<br>
java.util.WeakHashMap] (value [{=null, ={1, 2, 3}, =null, =null, =null, ={1,<br>
2},<br>
 =null, =null, =null, =null, ={1, 2, 3}}]) but failed to remove it when the<br>
web<br>
application was stopped. This is very likely to create a memory leak.<br>
Sep 21, 2010 3:19:53 PM org.apache.catalina.loader.WebappClassLoader<br>
clearThread<br>
LocalMap<br>
SEVERE: The web application [/drools-5.1.1-guvnor] created a ThreadLocal<br>
with ke<br>
y of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@ea4081]) and<br>
a v<br>
alue of type [org.apache.derby.iapi.services.context.ContextManager] (value<br>
[org<br>
.apache.derby.iapi.services.context.ContextManager@18facfb]) but failed to<br>
remov<br>
e it when the web application was stopped. This is very likely to create a<br>
memor<br>
y leak.<br>
Sep 21, 2010 3:19:53 PM org.apache.catalina.loader.WebappClassLoader<br>
clearThread<br>
LocalMap<br>
SEVERE: The web application [/drools-5.1.1-guvnor] created a ThreadLocal<br>
with ke<br>
y of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@ea4081]) and<br>
a v<br>
alue of type [org.apache.derby.iapi.services.context.ContextManager] (value<br>
[org<br>
.apache.derby.iapi.services.context.ContextManager@1efb003]) but failed to<br>
remov<br>
e it when the web application was stopped. This is very likely to create a<br>
memor<br>
y leak.<br>
Sep 21, 2010 3:19:53 PM org.apache.catalina.loader.WebappClassLoader<br>
clearThread<br>
LocalMap<br>
SEVERE: The web application [/drools-5.1.1-guvnor] created a ThreadLocal<br>
with ke<br>
y of type [org.apache.derby.iapi.sql.dictionary.TableDescriptor$1] (value<br>
[org.a<br>
pache.derby.iapi.sql.dictionary.TableDescriptor$1@8fdcd1]) and a value of<br>
type [<br>
java.util.WeakHashMap] (value [{=null}]) but failed to remove it when the<br>
web ap<br>
plication was stopped. This is very likely to create a memory leak.<br>
<br>
Has anyone faced this type of issue?<br>
<br>
Thanks,<br>
Barani<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Guvnor-5-1-1-Memory-leak-on-Tomcat-tp1556935p1556935.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Guvnor-5-1-1-Memory-leak-on-Tomcat-tp1556935p1556935.html</a><br>

Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br>