cjreplaceapp (replace application)
Format
cjreplaceapp [server-name] [-nameserver provider-URL]
-name application-name -f file-path
[-t timeout-time] [-replaceDD]
Function
This command replaces a J2EE application.
If the replaced J2EE application contains cosminexus.xml, the Application Server-specific definition information before replacing is destroyed, the default values are restored, and then the information is overwritten with the cosminexus.xml definition information. If the replaced J2EE application does not contain cosminexus.xml, the Application Server-specific definition information is inherited from the J2EE application before replacing.
This command can be executed whether the application is running or stopped. If the application is running, the system waits for the method in the application to terminate, stops the application, executes replacement processing, and then starts the application. However, if stop processing has not terminated even after the amount of time specified by the -t option has elapsed, the application is stopped forcibly.
Arguments
protocol-name: : host-name: port-number
Input examples
cjreplaceapp MyServer -name App1 -f App1.ear
Return values
Notes