• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Did you just should on me? You should read this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic