cmx_undefine_application (Disassociate J2EE applications and Web systems) (For compatibility)
Format
- To delete the association of a J2EE application in the archive format
cmx_undefine_application [Common-arguments] [-s web-system-name] -appname application-display-name -appver application-version-ID
- To delete the association of a J2EE application in the exploded archive format
cmx_undefine_application [Common-arguments] [-s web-system-name] -appname application-display-name
Function
This command deletes the association between the J2EE applications and the Web system.
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 you execute the cmx_undefine_application command by omitting the -s option, an error occurs.
- -appname application-display-name
- Specifies the display name of the J2EE application. You use the display name output in the message issued after the cmx_register_application command is executed.
- -appver application-version-ID
- Specifies the version ID of the J2EE application.
Input examples
cmx_undefine_application -s sample-system -appname App1 -appver 1.0
Return values
- 0:
- The command is terminated normally.
- 1:
- The command is terminated with a warning.
- 64:
- The command is terminated abnormally.
Notes
- If the specified J2EE application is deployed, an error occurs.
- This command is used for compatibility with the earlier versions. For the commands related to application operations, we recommend that you use the server management commands in the version 08-00 or later versions.