Hitachi

uCosminexus Application Server Command Reference Guide


2.3 Commands used in J2EE applications

This section describes the commands used in J2EE applications.

The following table lists the commands used in J2EE applications:

Table 2‒4: List of commands used in J2EE applications

Command name

Function

Description

Command group

cjaddapp

Add resource

Adds an imported EJB-JAR file, WAR file, or filter to a J2EE application.

Update

cjdeleteapp

Delete J2EE application

Deletes from a specified J2EE server a J2EE application or an EJB-JAR file, WAR file, or filter contained in a J2EE application.

Update

cjdeletelibjar

Delete library JAR

Deletes a library JAR from a J2EE application.

Update

cjexportapp

Export J2EE application

Exports a J2EE application from a J2EE server.

Update

cjgencmpsql

Generate SQL statements for CMP2.x Entity Beans

Generates SQL statements for CMP2.x Entity Beans.

Update

cjgetappprop

Get HITACHI Application Property

Obtains a J2EE application or the resources contained in a J2EE application and generates a property file.

Update

cjgetstubsjar

Get RMI-IIOP stub and interface for application

Obtains the RMI-IIOP stub and interface for a J2EE application.

Update

cjimportapp

Import J2EE application

Imports a J2EE application into a J2EE server.

This command can be executed in the test mode.

Update

cjimportwar

Import WAR application

Imports a WAR application into a J2EE server.

Update

cjimportlibjar

Import library JAR

Imports a library JAR into a J2EE application.

Update

cjlistapp

List applications

Outputs the names and statuses of all J2EE applications and a list of the EJB-JAR or WAR files contained in the J2EE applications.

Reference

cjlistlibjar

List library JARs

Outputs a list of the library JARs contained in a J2EE application.

Reference

cjreloadapp

Reload application

Replaces the component classes and JSPs of a J2EE application without stopping the application.

Update

cjrenameapp

Rename application

Renames a J2EE application.

Update

cjreplaceapp

Replace application

Replaces a J2EE application.

This command can be executed in the test mode.

Update

cjsetappprop

Set HITACHI Application Property

Changes the Property of an application, or the Property of the resources contained in an EJB-JAR or WAR file to the values in a specified application property file.

This command can be executed in the test mode.

Update

cjstartapp

Start J2EE application

Starts a J2EE application and enables it to receive requests from clients.

Update

cjstopapp

Stop J2EE application

Stops a J2EE application and disables it from receiving requests from clients.

This command can be executed in the test mode.

Update#

Legend:

Update: The command is an update command, which updates the J2EE server contents or retrieves configuration information.

Reference: The command is a reference command, which only displays the configuration status without updating the J2EE server contents.

#

When the -cancel option is specified, the command becomes a privileged command.

For details on the mutual exclusion control for each system of server management commands, see 3.2 Exclusive access control of server management commands in the uCosminexus Application Server Application Setup Guide.

Organization of this section