*
The moose likes Other Java Products and Servers and the fly likes Randomly getting 'com.mchange.v2.util.ResourceClosedException' this exception. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Randomly getting Watch "Randomly getting New topic
Author

Randomly getting 'com.mchange.v2.util.ResourceClosedException' this exception.

Maulee Parikh
Greenhorn

Joined: Mar 13, 2011
Posts: 1

Here is the some of the key things from exception trace:

com.mchange.v2.resourcepool.BasicResourcePool@1587357 - checkinResource( ... ) -- even broken pools should allow checkins without exception. probable resource pool bug.
com.mchange.v2.util.ResourceClosedException: Attempted to use a ThreadPoolAsynchronousRunner in a closed or broken state.

com.mchange.v2.resourcepool.BasicResourcePool@1587357 -- Unexpectedly broken!!!
com.mchange.v2.resourcepool.ResourcePoolException: Unexpected Break Stack Trace!

com.mchange.v2.resourcepool.BasicResourcePool@1587357 -- close() called multiple times. - (I am not calling close() multiple time. Session has been closed at the end of the process once.)

From error it looks like SessionFactory is closed while another thread is trying to access, not very sure. Also tried with java program with multiple threads but not able to reproduce .

Any idea ??? Please share.
 
wood burning stoves
 
subject: Randomly getting 'com.mchange.v2.util.ResourceClosedException' this exception.
 
Similar Threads
Trouble in setting up JFORUM with Eclipse as a Tomcat Project
APPARENT DEADLOCK Hibernate and c3p0 error site goes down please help
java.net.SocketException MESSAGE: Broken pipe
APPARENT DEADLOCK site goes down please help
connectivity problem