2.2 Commands used for operating J2EE servers

This section describes the commands used for operating J2EE servers.

The following table describes the commands used for operating J2EE servers:

Table 2-2 List of commands used for operating J2EE servers

Command nameFunctionDescriptionCommand group
cjdumpsvGet thread dump of J2EE serverObtains a JavaVM thread dump when a failure occurs in a J2EE server.--
cjenvsetupSet up Component Container AdministratorChanges the attributes of installation files so that users other than those who have root permission can operate them.
This command is for UNIX.
--
cjenvupdateConvert work directory and user definition filesConverts the work directory and user definition files that were used in the old environment of Cosminexus Component Container to a format that operates in the new environment.--
cjgetsysinfoGet OS statusObtains OS status information.--
cjrarupdateUpdate resource adapter versionUpdates the version of resource adapter imported or deployed on Cosminexus Component Container.--
cjsetupSet up or delete J2EE server environmentSets up an environment for a J2EE server and creates default user definitions.--
cjsleepSet J2EE server startup delayDelays execution for a specified number of seconds only. Use this command in a batch file to set a server startup delay.
This command is for Windows.
--
cjstartrecoverRecover J2EE server transactionRecovers a transaction of a J2EE server.--
cjstartsvStart J2EE serverStarts a J2EE server.--
cjstopsvStop J2EE serverStops a J2EE server.Update#
Legend:
Update: The command is an update command, which updates the J2EE server contents or retrieves configuration information.
--: Does not apply.
#
When the -f option is specified, the command belongs to none of the command groups.

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

You must execute the setup commands (cjenvsetup, cjenvupdate, cjrarupdate, and cjsetup) one at a time; do not execute two setup commands concurrently.

Organization of this section
cjdumpsv (get thread dump of J2EE server)
cjenvsetup (set up Component Container Administrator)
cjenvupdate (convert work directory and user definition files)
cjgetsysinfo (get OS status)
cjrarupdate (update resource adapter version)
cjsetup (set up or unsetup J2EE server)
cjsleep (set J2EE server startup delay)
cjstartrecover (recover J2EE server transaction)
cjstartsv (start J2EE server)
cjstopsv (stop J2EE server)