Author: ataylor
Date: 2010-09-28 05:59:05 -0400 (Tue, 28 Sep 2010)
New Revision: 9726
Modified:
branches/2_2_0_HA_Improvements/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java
Log:
added check for wrapped exception
Modified:
branches/2_2_0_HA_Improvements/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java
===================================================================
---
branches/2_2_0_HA_Improvements/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java 2010-09-28
09:33:31 UTC (rev 9725)
+++
branches/2_2_0_HA_Improvements/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java 2010-09-28
09:59:05 UTC (rev 9726)
@@ -611,11 +611,14 @@
}
catch (InterruptedException e)
{
-
System.out.println("HornetQServerImpl$SharedStoreBackupActivation.run");
+ //this is ok, we are being stopped
}
catch (Exception e)
{
- log.error("Failure in initialisation", e);
+ if(!(e.getCause() instanceof InterruptedException))
+ {
+ log.error("Failure in initialisation", e);
+ }
}
}