cjresetsv (force release of server management commands from mutual exclusion)
- Organization of this page
Format
cjresetsv [server-name] [-nameserver provider-URL]
Function
Abnormal termination of a server management command may trigger an inconsistency in the exclusion information for the server management commands. If such an inconsistency occurs, the following message is displayed (even when no other server management command is being executed), and execution of server management commands is disabled:
"KDJE37057-E Another command is already running."
When this occurs, executing this command resets the exclusion information for the server management commands, thus enabling them to be executed. The commands that are the targets of exclusion control are the server management command and the cjstopsv command.
Arguments
- server-name
-
Specifies the name of a connected J2EE server. If the server name is omitted, the host name is assumed.
- -nameserver provider-URL
-
Specifies the access protocol for the CORBA Naming Service, the name of the host running the CORBA Naming Service, and the port number being used by the host. These items are specified in the following format:
protocol-name: : host-name: port-number
For details on the specification items, see 2.1.2 Provider URL.
Input examples
cjresetsv MyServer
Return values
- 0:
-
The command terminated normally.
- 1:
-
The command terminated abnormally.
- 3:
-
A timeout occurred.
- 9:
-
The command could not be executed because there are no administrator privileges (in Windows).
Notes
-
This command deletes the exclusion information only when the command is not running on the J2EE server. If the exclusion information cannot be deleted because the command is being processed, the error message KDJE42355-W is displayed, and then the command is terminated abnormally.
-
When the command exclusion information does not exist, this command is terminated normally.
-
When you specify a server name in the command arguments, you must specify it immediately after the command name. However, you cannot switch the sequence of an option name and its corresponding value (for example, you cannot specify provider-URL -nameserver); also, you cannot specify an option name in conjunction with a non-corresponding value (for example, you cannot specify -nameserver server-name).
-
When you specify a server name in the command arguments, you must specify a case-sensitive character string that matches a server name specified in a cjsetup (set up or unsetup J2EE server).