cmx_define_application (Associate a J2EE application and a Web system) (For compatibility)

Format

Function

This command associates J2EE applications with Web systems.

Arguments

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

Input examples

cmx_define_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

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 and later versions.