Author: ataylor
Date: 2012-01-03 08:32:54 -0500 (Tue, 03 Jan 2012)
New Revision: 11954
Modified:
branches/Branch_2_2_EAP/src/main/org/hornetq/ra/recovery/RecoveryManager.java
Log:
just log debug error if registry not available
Modified: branches/Branch_2_2_EAP/src/main/org/hornetq/ra/recovery/RecoveryManager.java
===================================================================
---
branches/Branch_2_2_EAP/src/main/org/hornetq/ra/recovery/RecoveryManager.java 2012-01-03
11:55:15 UTC (rev 11953)
+++
branches/Branch_2_2_EAP/src/main/org/hornetq/ra/recovery/RecoveryManager.java 2012-01-03
13:32:54 UTC (rev 11954)
@@ -87,7 +87,14 @@
for (int i = 0 ; i < locatorClasses.length; i++)
{
- registry = Util.locateRecoveryRegistry(locatorClasses[i]);
+ try
+ {
+ registry = Util.locateRecoveryRegistry(locatorClasses[i]);
+ }
+ catch (Throwable e)
+ {
+ log.debug("unable to load recovery registry " + locatorClasses[i],
e);
+ }
if (registry != null)
{
break;
Show replies by date