Hitachi

uCosminexus Application Server Application Setup Guide


3.2.2 Exclusive access control of server management commands

The following table describes the conditions for exclusive access control of command execution for each type of server management command.

Table 3‒1: Conditions for exclusive access control of command execution

Running command

Command to be executed later

Update node command

Reference node command

Privilege node command

Update node command

AF

P

P

Reference node command

P

AF

P

Privilege node command

P

P

C

Legend:

P: Command execution is permitted.

AF: Command execution will start after the running command finishes.

C: Command execution is cancelled. An exclusive error is returned.

If you attempt to execute another server management command while other commands are running, Cosminexus controls the server management command to be executed in a different format depending on the type of the command to be executed.

Organization of this subsection

(1) Control for executing a server management command in a J2EE server where another server management command is running

When a server management command of a different type is executed for the J2EE server in which a server management command is being processed, processing of the respective server management commands is executed concurrently. When a server management command is being processed on a J2EE server and another server management command of the same type is concurrently executed, the processing request of the server management command executed later will go into waiting status in the sequence of execution, and the processing will start after the processing of the previously executed server management command finishes. Therefore, for server management commands of the same type, the number of server management commands that can be concurrently executed is one. There is no limit to the maximum number of server management commands in the waiting status. If a process execution is in the waiting status, the message KDJE42211-I is displayed on the J2EE server machine.

(2) Control when using the server management commands while the shutdown command is being processed

Server management commands classified as update node and reference node cannot be executed for a J2EE server in which the shutdown command is being processed or is pending. When the server management commands classified as reference node and update node are executed during the shutdown process, an exclusive error occurs and the message KDJE42212-E is displayed. Note that server management commands classified as privilege node can be executed.

(3) Control when using the privilege node commands

Privilege node commands can be executed with priority over all other commands. Even when a privilege node command is being executed, it does not affect the execution of other commands, however, only one privilege node command can be executed concurrently for one J2EE server. When two or more privilege node commands are executed for one J2EE server, an error occurs and the message KDJE42230-E is displayed.