cmx_unregister_application (Delete a J2EE application) (For compatibility)
Format
- To delete a J2EE application in archive format
cmx_unregister_application [Common-arguments] -appname application-display-name -appver application-version-ID
- To delete a J2EE application in exploded archive format
cmx_unregister_application [Common-arguments] -appname application-display-name
Function
This command deletes the specified J2EE application from the domain managed by Management Server.
- To delete a J2EE application in the archive format
A J2EE application in the archive format is uniquely identified by the application display name and application version ID.
- To delete a J2EE application in the exploded archive format
A J2EE application in the exploded archive format is uniquely identified by the application display name.
Arguments
- -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.
- -appver application-version-ID
- Specifies the version ID of the J2EE application.
Input examples
cmx_unregister_application -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 associated with the Web system using the cmx_define_application command, 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.