4.1.29 Setting and starting the business application (when using CUI)
For starting the business, you must import and start the J2EE application. Use the server management commands to import and start the J2EE application. Set the business application on Application Server where you set the J2EE application. The J2EE server also runs on this Application Server. For details on how to operate the J2EE application by using the server management commands, see the following section and subsection in the uCosminexus Application Server Application Setup Guide.
-
8.1 Importing J2EE applications
-
10.2.1 Starting J2EE applications
The J2EE application described in this subsection must be created as an application that includes the cosminexus.xml. The following table describes the settings used in the example.
Item |
Settings |
---|---|
File name of the J2EE application |
MyApp.ear |
Display name of the J2EE application |
MyApp |
Name of the J2EE server importing the J2EE application |
MyWebSystem_J2EE01 |
-
Start the command prompt on the host for allocating the J2EE server.
-
Execute the cjimportapp command for importing the J2EE application to the J2EE server.
The following is an example of command execution:
cjimportapp MyWebSystem_J2EE01 -nameserver corbaname::192.168.100.12:900 -f MyApp.ear
-
Execute the cjstartapp command to start the J2EE application.
The following is an example of command execution:
cjstartapp MyWebSystem_J2EE01 -nameserver corbaname::192.168.100.12:900 -name MyApp