cjstartsv (start J2EE server)
- Organization of this page
Format
cjstartsv [server-name] [-nosecurity]
Function
This command starts batch servers with the specified names. If the server name is omitted, the batch server with the name same as the host name will be started.
Arguments
- server-name
-
Specifies the server name of the batch server to be started. If the server name is omitted, the host name is assumed.
- -nosecurity
-
Specify to release SecurityManager.
User definition files
-
In Windows
-
Cosminexus-installation-directory\CC\server\usrconf\ejb\server-name\usrconf.cfg
-
Cosminexus-installation-directory\CC\server\usrconf\ejb\server-name\usrconf.properties
-
-
In UNIX
-
/opt/Cosminexus/CC/server/usrconf/ejb/server-name/usrconf.cfg
-
/opt/Cosminexus/CC/server/usrconf/ejb/server-name/usrconf.properties
-
Return values
- 0:
-
The command terminated normally.
- 1 or higher (other than 143):
-
The command terminated abnormally.
- 143:
-
The following operations are performed while the command is running (in Windows):
-
The x button is clicked for closing the command prompt window from which the command is invoked.
-
The Windows system is shutdown.
-
The Windows system is logged out.
-
Notes
-
This command can be set to start a batch server automatically. For starting the batch servers, see 2.2 Overview of the execution environment of batch applications in the uCosminexus Application Server Expansion Guide.
-
To execute the cjstartsv command on Windows, you must have the Administrator permission.
-
To execute the cjstartsv command on UNIX, you must have root permission (if a Component Container Administrator has not been set) or the Component Container Administrator permission (if a Component Container Administrator has been set).
-
When you specify a server name in the command arguments, you must specify a case-sensitive character string that matches a server name specified in a cjsetup (set up or unsetup J2EE server).