• Bug
  • Status: Closed
  • Resolution: Fixed
  • drb
  • Reporter: sourceforgetracker
  • September 21, 2009
  • 0
  • Watchers: 0
  • September 22, 2009
  • September 22, 2009

Description

EHCache’s ShutdownHook cleanup conflicts with the JBoss/Hibernate ShutdownHook. This is causing unnecessary Exceptions to be thrown whenever JBoss/Hibernate using EHCache is shut down.

For details, see: http://sourceforge.net/forum/forum.php?thread_id=1624868&forum_id=322278

Due to Hibernate’s less than optimal (IMHO) exception handling in SessionFactoryImpl.close, this could cause Hibernate’s ConnectionProvider not to be closed. (so it’s potentially more damaging than just spurious warnings showing up in the logs)

This issue has been highlighted on Hibernate’s forums here: http://forum.hibernate.org/viewtopic.php?t=968632

As a simple fix, could EHCache’s ShutdownHook be optionally disabled?

Thanks Sourceforge Ticket ID: 1616492 - Opened By: frankgrimes97 - 15 Dec 2006 15:39 UTC

Comments

Fiona OShea 2009-09-22

Re-opening so that I can properly close out these issues and have correct Resolution status in Jira