Hitachi

uCosminexus Application Server Command Reference Guide


cjstartapp (start J2EE application)

Organization of this page

Format

cjstartapp [server-name] [-nameserver provider-URL] 
      -name J2EE-application-name [-jspc]

Function

This command starts a J2EE application and enables it to receive requests from clients.

Arguments

server-name

Specifies the name of a connected J2EE server. If the server name is omitted, the host name is assumed.

-nameserver provider-URL

Specifies the access protocol for the CORBA Naming Service, the name of the host running the CORBA Naming Service, and the port number being used by the host. These items are specified in the following format:

protocol-name: : host-name: port-number

For details on the specification items, see 2.1.2 Provider URL.

-name J2EE-application-name

Specifies the name of the J2EE application that is to be started.

-jspc

Specifies that the command is to execute JSP precompilation. You specify this argument when an existing Web application is the application to be started after JSP precompilation has executed. Application startup is executed even if an error occurs during JSP precompilation.

Input examples

cjstartapp MyServer -name App1

Return values

0:

The command terminated normally.

1:

The command terminated abnormally.

2:

The command could not be executed because of an exclusion error.

3:

A timeout occurred.

9:

The command could not be executed because there are no administrator privileges (in Windows).

Notes