cmx_register_application (Register a J2EE application) (For compatibility)

Format

Function

This command registers a J2EE application into the domain managed by Management Server.

The J2EE application formats that you can register include the archive format and the exploded archive format.

Arguments

-f EAR-file
Specifies the EAR file path of J2EE applications.
-appver application-version-ID
Specifies the version ID of J2EE applications.
-appname application-display-name
Specifies the application display name coded in the display-name tag of DD (application.xml) below the application directory.
-d application-directory-path
Specifies the application directory path that can be referenced from the Application Server machine (J2EE server).
-replace
Specify this option to re-register J2EE applications.

Input examples

cmx_register_application -f App1.ear -appver 1.1 -replace

Return values

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

Notes