Hitachi

uCosminexus Application Server Command Reference Guide


cjsetup (set up or delete J2EE server environment)

Organization of this page

Format

For setup
cjsetup -batch [server-name]
For unsetup
cjsetup -d server-name

Function

This command sets up the environment of batch servers with specified names.

The default user definitions are created for batch servers set up in the following directory:

When the -d option is specified, the batch server environment (directories and files) shown below is deleted:

Note that if you specify values other than the default values in the ejb.public.directory key of the user definition file (usrconf.cfg), this setting will delete all the folders and files under that work directory.

Arguments

server-name

Specifies server names of the batch servers to be set up. If the server name is omitted, the host name is used as the server name. However, the server name cannot be omitted for the unsetup processing. Furthermore, if the host name contains characters that cannot be used in server names, an error will occur.

You can use single-byte alphanumeric characters (0-9, A-Z, and a-z), the underscore (_), and the hyphen (-) in the server name. The first character must be an alphanumeric character. Specify the server name with maximum of 255 characters and the length calculated by referring to Appendix C.2 Work directory of the batch server in the uCosminexus Application Server System Setup and Operation Guide.

-batch

Specified when setting up the environment of batch servers.

-d

Specifies that the environment of the batch server is to be deleted. You cannot omit server names.

Return values

0:

The command terminated normally.

1:

The command terminated abnormally.

Notes