git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@663604 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2008-06-05 13:29:59 +00:00
parent 3224ff8a0a
commit 55409bdea0
1 changed files with 5 additions and 0 deletions

View File

@ -487,6 +487,11 @@ public class BrokerService implements Service {
getBroker().brokerServiceStarted(); getBroker().brokerServiceStarted();
} catch (Exception e) { } catch (Exception e) {
LOG.error("Failed to start ActiveMQ JMS Message Broker. Reason: " + e, e); LOG.error("Failed to start ActiveMQ JMS Message Broker. Reason: " + e, e);
try{
stop();
}catch(Exception ex) {
LOG.warn("Failed to stop broker after failure in start ",ex);
}
throw e; throw e;
} }
} }