tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Could not load com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask
Date Mon, 06 Jul 2009 15:18:55 GMT
> From: gasdia73 [mailto:gasdia73@gmail.com]
> Subject: Could not
> loadcom.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask
> 
> I periodically receive this exception in tomcat 6.0 with hibernate 3.3
> and c3p0 as connection pooling library...

It looks like your webapp is starting an auxiliary timer thread and not terminating it properly
when the webapp is being stopped.  You can try implementing a ServletContextListener and have
it terminate the extra thread in its contextDestroyed() method.  Look at the servlet spec
and the associated servlet API doc for details.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message