uCosminexus Application Server, Application Setup Guide
This subsection describes the normal termination and the forced termination of J2EE applications.
Execute the following command to terminate a J2EE application normally. If resource adapters are included in the J2EE application, all the resource adapters included in the J2EE application will also stop automatically.
cjstopapp [server-name] [-nameserver provider URL] -name J2EE-application-name |
cjstopapp MyServer -name account
For details on the cjstopapp command, see cjstopapp (Stopping J2EE applications) in the uCosminexus Application Server Command Reference Guide.
This subsection explains the forced termination of the J2EE applications.
The two methods to terminate J2EE applications forcibly are as follows:
The procedures for each forced termination are as follows:
When a J2EE application does not stop even when terminated normally as per the procedures in (1) Normal termination of J2EE applications, you can terminate the J2EE application forcibly using the following procedures:
Note that you execute forced termination of J2EE applications only when J2EE applications do not stop properly even by normal termination.
Execute the following command to terminate a J2EE application forcibly:
cjstopapp [server-name] [-nameserver provider-URL] -name J2EE-application-name -cancel |
cjstopapp MyServer -name account -cancel
For details on the cjstopapp command, see cjstopapp (Stopping J2EE applications) in the uCosminexus Application Server Command Reference Guide.
When executing normal termination of a J2EE application, you can specify that forced termination will be executed automatically after a timeout ends if the J2EE application does not stop properly.
Execute the following command so that forced termination will be automatically performed for a J2EE application that does not stop normally:
cjstopapp [server-name] [-nameserver provider-URL] -name J2EE-application-name -t timeout-period (seconds) -force |
cjstopapp MyServer -name account -t 120 -force
For details on the cjstopapp command, see cjstopapp (Stopping J2EE applications) in the uCosminexus Application Server Command Reference Guide.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.