This section explains how to terminate each process of the configuration software, resources, and J2EE applications.
For details on terminating a Web server, see the manual on the Web server you are using.
Note that the timing of terminating a Web server depends on the form of system operation. However, you can first terminate the Web server for controlling the reception of requests in the J2EE application. Furthermore, if you are using an in-process HTTP server, you need not terminate the Web server.
This point explains how to terminate a J2EE application.
You terminate the J2EE application using the server management command (cjstopapp). The method for terminating a J2EE application in the normal mode and test mode is explained below:
Note that you need to have the Administrator permission for executing server management commands.
In some cases, the request processing within a J2EE application does not finish even when the J2EE application is terminated, and hence, the termination processing is not complete. In such a case, you need to forcefully terminate the J2EE application. To forcefully terminate a J2EE application, specify the -force option in the cjstopapp command, and then execute the command.
For the specific procedure for terminating J2EE applications, see 10.2.2 Stopping J2EE applications in the uCosminexus Application Server Application Setup Guide.
This point explains how to terminate resources.
You terminate resources using the server management command (cjstoprar or cjstopjb).
Note that you need to have the Administrator permission to execute server management commands.
This operation is not required if you use a resource adapter included in the J2EE application.
To terminate a J2EE server:
Cd "Cosminexus-installation-directory\CC\server\bin" |
cjstopsv server-name |
An example of executing the cjstopsv command is explained below. In this example, the Cosminexus installation directory is C:\Program Files\Hitachi\Cosminexus, and the server name is MyServer.
C:\>cd "C:\Program Files\HITACHI\Cosminexus\CC\server\bin" |
Note that in some cases, the processing in a J2EE server does not finish even when the J2EE server is terminated, and hence, the termination processing is not complete. In such cases, you need to forcefully terminate the J2EE server. To forcefully terminate a J2EE server, specify the -f option or -fd option in the cjstopsv command, and then execute the command. If you specify the -fd option, the J2EE server is forcefully terminated after you acquire the failure information of the J2EE server.
You terminate an SFO server with the same procedure as a J2EE server.
For details on terminating a J2EE server, see D.4 (4) Terminating a J2EE server.
To terminate a CTM daemon:
cd "Cosminexus-installation-directory\CTM\bin" |
Ctmstop |
Note that in some cases even after you terminate the CTM daemon, the termination processing of the CTM daemon does not finish. In such cases, you must terminate the CTM daemon forcibly. For forceful termination of the CTM daemon, specify the -CTMForce option in the ctmstop command, and then execute the command.
The procedure for terminating the CORBA Naming Service differs depending on how the CORBA Naming Service is invoked.
To terminate CTM domain manager:
cd "Cosminexus-installation-directory\CTM\bin" |
Ctmdmstop |
Note that in some cases even after you terminate the CTM domain manager, the termination processing of the CTM domain manager does not finish. In such cases, you must terminate the CTM domain manager forcibly. For forceful termination of the CTM domain manager, specify the -CTMForce option in the ctmdmstop command, and then execute the command.
To terminate the Smart Agent:
To terminate a PRF daemon:
cd "Cosminexus-installation-directory\PRF\bin" |
cprfstop |
Note that in some cases, even after you terminate the PRF daemon, the termination processing of the PRF daemon does not finish. In such cases, you need to forcefully terminate the PRF daemon. To terminate the PRF daemon forcefully, specify the -Force option in the cprfstop command, and then execute the command.