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 nameFunctionDescriptionCommand group
cjaddappAdd resourceAdds an imported EJB-JAR file, WAR file, or filter to a J2EE application.Update
cjdeleteappDelete J2EE applicationDeletes from a specified J2EE server a J2EE application or an EJB-JAR file, WAR file, or filter contained in a J2EE application.Update
cjdeletelibjarDelete library JARDeletes a library JAR from a J2EE application.Update
cjexportappExport J2EE applicationExports a J2EE application from a J2EE server.Update
cjgencmpsqlGenerate SQL statements for CMP2.x Entity BeansGenerates SQL statements for CMP2.x Entity Beans.Update
cjgetapppropGet HITACHI Application PropertyObtains a J2EE application or the resources contained in a J2EE application and generates a Property File.Update
cjgetstubsjarGet RMI-IIOP stub and interface for applicationObtains the RMI-IIOP stub and interface for a J2EE application.Update
cjimportappImport J2EE applicationImports a J2EE application into a J2EE server.
This command can be executed in the test mode.
Update
cjimportwarImport WAR applicationImports a WAR application into a J2EE server.Update
cjimportlibjarImport library JARImports a library JAR into a J2EE application.Update
cjlistappList applicationsOutputs the names and statuses of all J2EE applications and a list of the EJB-JAR or WAR files contained in the J2EE applications.Reference
cjlistlibjarList library JARsOutputs a list of the library JARs contained in a J2EE application.Reference
cjreloadappReload applicationReplaces the component classes and JSPs of a J2EE application without stopping the application.Update
cjrenameappRename applicationRenames a J2EE application.Update
cjreplaceappReplace applicationReplaces a J2EE application.
This command can be executed in the test mode.
Update
cjsetapppropSet HITACHI Application PropertyChanges 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
cjstartappStart J2EE applicationStarts a J2EE application and enables it to receive requests from clients.Update
cjstopappStop J2EE applicationStops 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 control of server management commands in the uCosminexus Application Server Application Setup Guide.

Organization of this section
cjaddapp (add resource)
cjdeleteapp (delete J2EE application)
cjdeletelibjar (delete library JAR)
cjexportapp (export J2EE application)
cjgencmpsql (generate SQL statements for CMP2.x Entity Beans)
cjgetappprop (get HITACHI Application Property)
cjgetstubsjar (get RMI-IIOP stub and interface for application)
cjimportapp (import J2EE application)
cjimportlibjar (import library JAR)
cjimportwar (Import a WAR application)
cjlistapp (list applications)
cjlistlibjar (list library JARs)
cjreloadapp (reload application)
cjrenameapp (rename application)
cjreplaceapp (replace application)
cjsetappprop (set HITACHI Application Property)
cjstartapp (start J2EE application)
cjstopapp (stop J2EE application)