Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -567,9 +567,11 @@ private void createConnector(MBeanServer mbeanServer) throws IOException {
Attribute attr = new Attribute("Port", connectorPort);
mbeanServer.setAttribute(namingServiceObjectName, attr);
} catch(ClassNotFoundException e) {
LOG.debug("Probably not using JRE 1.4: {}", e.getLocalizedMessage());
LOG.warn("Probably not using JRE 1.4: {}", e.getLocalizedMessage());
} catch (Throwable e) {
LOG.debug("Failed to create local registry. This exception will be ignored.", e);
LOG.warn("Failed to create local RMI registry on port {}. This may happen when another process or broker instance "
+ "is already using the port. To resolve, either change the connectorPort in your managementContext configuration "
+ "or set createConnector=\"false\" if remote JMX access is not required. This exception will be ignored.", connectorPort, e);
}

// Create the JMXConnectorServer
Expand Down
Loading