mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
07.55.2008 431ffc0eab1226d3937a4b4f1349ce38a5c16593
Fix for issue 3176 (Improve stop-ds error message : not enough information is provided)
3 files modified
19 ■■■■■ changed files
opendj-sdk/opends/src/messages/messages/tools.properties 11 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/ManageAccount.java 4 ●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/StopDS.java 4 ●●● patch | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/tools.properties
@@ -696,7 +696,8 @@
SEVERE_ERR_STOPDS_CANNOT_DETERMINE_PORT_400=ERROR:  Cannot parse the value of \
 the %s argument as an integer value between 1 and 65535:  %s
SEVERE_ERR_STOPDS_CANNOT_CONNECT_401=ERROR:  Cannot establish a connection to \
 the Directory Server:  %s
 the Directory Server %s.  Verify that the server is running and that \
 the provided credentials are valid.  Details:  %s
SEVERE_ERR_STOPDS_UNEXPECTED_CONNECTION_CLOSURE_402=NOTICE:  The connection \
 to the Directory Server was closed while waiting for a response to the \
 shutdown request.  This likely means that the server has started the shutdown \
@@ -1805,8 +1806,9 @@
 mechanism should be used
SEVERE_ERR_PWPSTATE_CANNOT_DETERMINE_PORT_1188=ERROR:  Cannot parse the value \
 of the %s argument as an integer value between 1 and 65535:  %s
SEVERE_ERR_PWPSTATE_CANNOT_CONNECT_1189=ERROR:  Cannot establish a connection \
 to the Directory Server:  %s
SEVERE_ERR_PWPSTATE_CANNOT_CONNECT_1189=ERROR:  Cannot establish a connection to \
 the Directory Server %s.  Verify that the server is running and that \
 the provided credentials are valid.  Details:  %s
INFO_UPGRADE_DESCRIPTION_FILE_1190=Specifies an existing OpenDS package \
 (.zip) file to which the current build will be upgraded using the command \
 line version of this tool
@@ -1875,7 +1877,8 @@
SEVERE_ERR_LDAP_CONN_CANNOT_DETERMINE_PORT_1298=ERROR:  Cannot parse the value \
 of the %s argument as an integer value between 1 and 65535:  %s
SEVERE_ERR_LDAP_CONN_CANNOT_CONNECT_1299=ERROR:  Cannot establish a connection \
 to the Directory Server:  %s
 to the Directory Server %s.  Verify that the server is running and that \
 the provided credentials are valid.  Details:  %s
INFO_LDAP_CONN_DESCRIPTION_HOST_1300=Directory server hostname or IP address
INFO_LDAP_CONN_DESCRIPTION_PORT_1301=Directory server port number
INFO_LDAP_CONN_DESCRIPTION_USESSL_1302=Use SSL for secure communication with \
opendj-sdk/opends/src/server/org/opends/server/tools/ManageAccount.java
@@ -1402,7 +1402,9 @@
    }
    catch (LDAPConnectionException lce)
    {
      Message message = ERR_PWPSTATE_CANNOT_CONNECT.get(lce.getMessage());
      String hostPort = host.getValue() + ":" + port.getValue();
      Message message = ERR_PWPSTATE_CANNOT_CONNECT.get(hostPort,
          lce.getMessage());
      err.println(wrapText(message, MAX_LINE_WIDTH));
      return LDAPResultCode.CLIENT_SIDE_CONNECT_ERROR;
    }
opendj-sdk/opends/src/server/org/opends/server/tools/StopDS.java
@@ -669,7 +669,9 @@
    }
    catch (LDAPConnectionException lce)
    {
      Message message = ERR_STOPDS_CANNOT_CONNECT.get(lce.getMessage());
      String hostPort = host.getValue() + ":" + port.getValue();
      Message message = ERR_STOPDS_CANNOT_CONNECT.get(hostPort,
          lce.getMessage());
      err.println(wrapText(message, MAX_LINE_WIDTH));
      return LDAPResultCode.CLIENT_SIDE_CONNECT_ERROR;
    }