mirror of https://github.com/apache/activemq.git
added additional logging around ClassNotFoundException
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631227 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
230255a479
commit
16b4009348
|
@ -373,7 +373,10 @@ public class ManagementContext implements Service {
|
||||||
// set the naming port
|
// set the naming port
|
||||||
Attribute attr = new Attribute("Port", Integer.valueOf(connectorPort));
|
Attribute attr = new Attribute("Port", Integer.valueOf(connectorPort));
|
||||||
mbeanServer.setAttribute(namingServiceObjectName, attr);
|
mbeanServer.setAttribute(namingServiceObjectName, attr);
|
||||||
} catch (Throwable e) {
|
} catch(ClassNotFoundException e) {
|
||||||
|
LOG.debug("Probably not using JRE 1.4: " + e.getLocalizedMessage());
|
||||||
|
}
|
||||||
|
catch (Throwable e) {
|
||||||
LOG.debug("Failed to create local registry", e);
|
LOG.debug("Failed to create local registry", e);
|
||||||
}
|
}
|
||||||
// Create the JMXConnectorServer
|
// Create the JMXConnectorServer
|
||||||
|
|
Loading…
Reference in New Issue