-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Could not load com.mchange....BasicResourcePool in Tomcat
PostPosted: Thu Feb 16, 2006 5:58 am 
Newbie

Joined: Wed Dec 21, 2005 2:37 pm
Posts: 5
Hello all,

I'm running Hibernate 3.1 inside a web application running in Tomcat.

After few minutes (aprox 20 minutes) I have the following message in the catalina log file

INFO: Illegal access: this web application instance has been stopped already. Could not load com.mchange.v2.resourcepool.BasicResourcePool$5. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact)

I'm using c3p version 0-0.9.0.

I'm not worry about that since as said in the message is not critic, but anyone knows if this can be fixed or the source of the problem?

Thanks in advance

Albert


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 16, 2007 4:11 am 
Newbie

Joined: Tue Jan 16, 2007 4:07 am
Posts: 1
Exactly the same problem, only with version 0.8.5 of c3p0... Did you find a fix / has anyone else ever dealt with this succesffully?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 16, 2007 3:15 pm 
C3P0 Developer
C3P0 Developer

Joined: Tue Jan 06, 2004 8:58 pm
Posts: 145
There are interesting classloading issues under Tomcat. This sounds like one of them. I bet you can fix this by moving c3p0's jar file to Tomcat's "common/lib", but I'm not sure it's worth the trouble, if the failure to load only occurs after a web-app and its disabled and destroyed and its ClassLoader made eligible for garbage collection.

I'd be interested to see the debug stack trace that your tomcat logs suggest would follow.

smiles,
Steve


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.