Hitachi

uCosminexus Application Server Command Reference Guide


F.2 How to start a system

This section explains how to start a batch server, and also how to execute batch applications.

Organization of this subsection

(1) Starting a batch server

The method of starting a batch server is as follows:

To start a batch server when the CORBA Naming Service is invoked as an in-process in the standard system configuration:

  1. Move the current directory using the cd command.

    cd "Cosminexus-installation-directory\CC\server\bin"
  2. Start the batch server using the cjstartsv command.

    You must have the Administrator permission to execute the command.

    cjstartsv server-name -nosecurity

(2) Executing batch applications

The method of executing batch applications is as follows:

Execute a batch application using the cjexecjob command. Note that you must have the Administrator permission to execute the cjexecjob command. In Windows, execute the command as a user with administrator privileges.

To execute a batch application:

  1. Change the current directory using the cd command.

    cd "Cosminexus-installation-directory\CC\batch\bin"
  2. Execute the batch application using the cjexecjob command.

    You must have the Administrator permission to execute the command.

    The method of specifying the server, to be connected to, depends upon whether the batch application uses the job scheduling functionality or not.

    When the job scheduling functionality is not used

    Specify the batch server that can execute the job.

    cjexecjob server-name Java-application-class-name
    When the job scheduling functionality is used

    Specify the job-scheduling group.

    cjexecjob [schedule-group-name] [-jobID job-ID] Java-application-class-name