diff --git a/opendj-server-legacy/src/main/java/org/opends/server/protocols/jmx/RmiConnector.java b/opendj-server-legacy/src/main/java/org/opends/server/protocols/jmx/RmiConnector.java index bf17de99ec..fa14fa0b7f 100644 --- a/opendj-server-legacy/src/main/java/org/opends/server/protocols/jmx/RmiConnector.java +++ b/opendj-server-legacy/src/main/java/org/opends/server/protocols/jmx/RmiConnector.java @@ -17,6 +17,9 @@ */ package org.opends.server.protocols.jmx; +import static org.opends.messages.ProtocolMessages.*; +import static org.opends.server.util.StaticUtils.*; + import java.io.IOException; import java.net.InetAddress; import java.rmi.RemoteException; @@ -182,6 +185,11 @@ public void initialize() { logger.traceException(e); + logger.error(ERR_JMX_CONNHANDLER_CANNOT_START_RMI_CONNECTOR, + jmxConnectionHandler.getComponentEntryDN(), + jmxConnectionHandler.getListenPort(), + getExceptionMessage(e)); + throw new RuntimeException("Error while starting the RMI module : " + e.getMessage()); } diff --git a/opendj-server-legacy/src/messages/org/opends/messages/protocol.properties b/opendj-server-legacy/src/messages/org/opends/messages/protocol.properties index bc92b6be59..8d3518ea20 100644 --- a/opendj-server-legacy/src/messages/org/opends/messages/protocol.properties +++ b/opendj-server-legacy/src/messages/org/opends/messages/protocol.properties @@ -13,7 +13,7 @@ # Copyright 2006-2009 Sun Microsystems, Inc. # Portions Copyright 2013-2016 ForgeRock AS. # Portions copyright 2013-2014 Manuel Gaupp - +# Portions Copyright 2026 3A Systems LLC. # @@ -731,6 +731,9 @@ ERR_JMX_SEARCH_INSUFFICIENT_PRIVILEGES_438=You do not have sufficient \ ERR_JMX_INSUFFICIENT_PRIVILEGES_439=You do not have sufficient \ privileges to establish the connection through JMX. At least JMX_READ \ privilege is required +ERR_JMX_CONNHANDLER_CANNOT_START_RMI_CONNECTOR_1537=The JMX connection \ + handler defined in configuration entry %s was unable to start the JMX \ + RMI connector on port %d: %s ERR_INTERNALCONN_NO_SUCH_USER_440=User %s does not exist in the directory ERR_INTERNALOS_CLOSED_441=This output stream has been closed ERR_INTERNALOS_INVALID_REQUEST_442=The provided LDAP message had an \