Skip Headers

Oracle TopLink Developer's Guide 10g Release 3 (10.1.3) B13593-01 |
| Home | Solution Area | Contents | Index

Previous | Next |

# Remote Command Manager Exceptions (22101 - 22111)

`RemoteCommandManagerException` is a run-time exception that is raised when the remote command module is used.

Format

    EXCEPTION [TOPLINK – error code]: Exception name
    EXCEPTION DESCRIPTION: Message

Example 13-23 Remote Command Manager Exception

    EXCEPTION [TOPLINK – 22104]: oracle.toplink.exceptions.RemoteCommandManagerException
    EXCEPTION DESCRIPTION: Could not look up host name.

22101: ERROR_OBTAINING_CONTEXT_FOR_JNDI
  Cause: Failed to get a JNDI context with the specified properties due to a `javax.naming.NamingException`.
  Action: See the generated exception for root cause. Verify that the properties for looking up the context are correct.

22102: ERROR_BINDING_CONNECTION
  Cause: Failed to post a connection in the local naming service.
  Action: See the generated exception for the root cause.

22103: ERROR_LOOKING_UP_REMOTE_CONNECTION
  Cause: Failed to look up a remote connection with the specified name and URL.
  Action: See the generated exception for the root cause. Verify that the remote connection and URL are correct.

22104: ERROR_GETTING_HOST_NAME
  Cause: The `getLocalHost` method of the java.net.InetAddress failed to look up the specified host name.
  Action: See the generated exception for the root cause. Verify that the host is online and reachable.

22105: ERROR_PROPAGATING_COMMAND
  Cause: Failed to propagate a command to the specified connection.
  Action: See the generated exception for the root cause. Verify that the remote host of the specified connection is online and reachable if the generated exception included a `CommunicationException`.

22106: ERROR_CREATING_JMS_CONNECTION
  Cause: Could not create JMS connection with Topic, Topic Factory, and Context properties.
  Action: Verify that the JMS Topic is configured correctly with the application server and the specified Topic. Topic Factory and Context properties info can be used by a Java client to the JMS Topic.

22107: ERROR_UNBINDING_LOCAL_CONNECTION
  Cause: Could not remove local connection in local naming service under name.
  Action: Restart the application server or use the application server tool to remove name from its JNDI if this tool is available.

22108: ERROR_SERIALIZE_OR_DESERIALIZE_COMMAND
  Cause: Could not serialize or deserialize command.
  Action: If the command is a user defined command, make sure it is serializable. If it is a TopLink command, file a bug report including the stack trace.

22109: ERROR_RECEIVING_JMS_MESSAGE
  Cause: Failed to receive JMS message from JMS provider.
  Action: Make sure that TopLink sessions are the only publishers to the JMS Topic and that the TopLink sessions use the same project.

22110: ERROR_DISCOVERING_IP_ADDRESS
  Cause: Failed to discover local host IP address.
  Action: Replace the `$HOST` string of the URL with the known host name or IP address.

22111: ERROR_GETTING_SERVERPLATFORM
  Cause: Failed to get server platform. The server platform must be set on `Session` or `RemoteCommandManager`.
  Action: Set the correct `ServerPlatform` on the `RemoteCommandManager`. This exception is raised when the user does not use a TopLink Session and implements the `CommandProcessor`.