EHC ❯ Silent failure if ehcache.xml not found
-
Bug
-
Status: Closed
-
-
Resolution: Fixed
-
-
-
drb
-
Reporter: sourceforgetracker
-
September 21, 2009
-
0
-
Watchers: 0
-
September 22, 2009
-
September 22, 2009
Description
My threads were just stopping and when I investigating further, I found that I’d not got ehcache.xml in the classpath.
As a result, manager.getCache(“MMSPCache”) was returning a null, which lead to the threads dying with NPE’s (but not being seen as they were spun-off worker threads)!
I’d suggest that the return from getCache() should be an exception or failing that, explictly documented in the Javadoc.
Sourceforge Ticket ID: 1075256 - Opened By: gwynevans - 29 Nov 2004 13:54 UTC
Comments
Sourceforge Tracker 2009-09-21
Fiona OShea 2009-09-22
Re-opening so that I can properly close out these issues and have correct Resolution status in Jira
Logged In: YES user_id=693320
Hi, Could I get you to submit a test Comment by: gregluck - 7 Mar 2005 01:30 UTC