EHC ❯ Synchronous bootstrap and manual peer discovery combo
-
Bug
-
Status: Closed
-
-
Resolution: Fixed
-
-
-
drb
-
Reporter: sourceforgetracker
-
September 21, 2009
-
0
-
Watchers: 0
-
September 22, 2009
-
September 22, 2009
Description
Version 1.2.3
When using:
- Manual peer discovery
- Synchronous bootstrapping (RMIBootstrapCacheLoader)
When we start the first server of a group, there is of course no other peer in the group so an Exception (caused by “connection refused”) will be thrown during load method execution and the CacheManager instantiation will fail.
Proposal:
Add a try catch around the doLoad call in load method of RMIBootstrapCacheLoader (like the run method of BootstrapThread)
Sourceforge Ticket ID: 1585015 - Opened By: pgalley22 - 26 Oct 2006 11:13 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
Patrick
I catch the exception and log it as a warning on cache.bootstrap in the CacheManager. If you think it should be an info message let me know.
The fix is in trunk and will be in ehcache-1.2.4. Thanks for the bug report.
Greg Comment by: gregluck - 29 Oct 2006 06:15 UTC