cmx_stop_application (Stop a J2EE application) (For compatibility)

Format

Function

This command stops a J2EE application. The J2EE application to be stopped differs when the J2EE application is specified in the command and when the J2EE application is not specified in the command.

Arguments

-s web-system-name
Specifies the Web system name.
If you omit this option, the value set in the cmx.websystem.name key of the .cmxrc file or the cmxclient.properties file will be used. Note that if the cmx.websystem.name key is not specified in the .cmxrc file and the cmxclient.properties file and if you execute the cmx_stop_application command by omitting the -s option, an error occurs.
-unit service-unit-name
Specifies the service unit name.
-appname application-display-name
Specifies the display name of the J2EE application. You use the display name output to the message issued after the cmx_register_application command is executed.

Input examples

cmx_stop_application -s sample-system -unit unit1 -appname App1

Return values

0:
The command terminated normally.
1:
The command terminated with a warning.
64:
The command terminated abnormally.

Notes