3.2 Commands used for operating batch servers

This section describes the commands used for operating batch servers.

The following table lists the commands used for operating batch servers:

Table 3-2 List of commands used for operating batch servers

Command nameFunctionDescriptionCommand group
cjdumpsv#1Get thread dump of batch serverObtains a JavaVM thread dump when a failure occurs in a batch server.--
cjenvsetup#1Set 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.
--
cjenvupdate#1Convert 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.--
cjgetsysinfo#1Get OS statusObtains OS status information.--
cjrarupdate#1Update resource adapter versionUpdates the version of resource adapter imported or deployed on Cosminexus Component Container.--
cjsetupSet up or delete batch server environmentSets up an environment for a batch server and creates default user definitions.--
cjsleep#1Set batch 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.
--
cjstartsvStart batch serverStarts a batch server.--
cjstopsv#1Stop batch serverStops a batch server.Update#2
Legend:
Update: The command is an update command, which updates the batch server contents or retrieves configuration information.
--: Does not apply.
#1
For details on the commands, see 2.2 Commands used for operating J2EE servers. When referencing, substitute J2EE server for batch server.
#2
When the -f option is specified, the command belongs to none of the command groups.

For the exclusive control conditions for server management commands of each system, 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
cjsetup (set up or delete J2EE server environment)
cjstartsv (start J2EE server)