Hitachi

uCosminexus Application Server System Setup and Operation Guide


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.

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.

Table 4‒14: Settings used in the example (Setting and starting the J2EE application)

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

  1. Start the command prompt on the host for allocating the J2EE server.

  2. 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
  3. 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