uCosminexus Application Server, Application Development Guide

[Contents][Glossary][Index][Back][Next]

9.7 Executing batch applications

This section describes how to use Eclipse to execute and forcibly terminate the batch applications.

As in the case of debugging, you can execute batch applications from Eclipse. The connection to the Management Server remote management of the batch applications is presumed to be set up in the subsection 9.6.1 Setting up the debug environment.

To execute the batch applications, use either of the following methods:

The procedures are described below.

Organization of this section
(1) Executing the batch applications from a shortcut
(2) Executing the batch applications by displaying the Execute Configuration dialog box
(3) Precautions for execution

(1) Executing the batch applications from a shortcut

  1. In the Project Explorer view, select the project to be executed or open the Java file using an editor.
  2. From the Eclipse menu bar, choose Run - Run as - Cosminexus Batch Application.
    The execution of the batch applications is started. If the batch server is not running, the batch server will start.
    When the management user authentication in the Management Server Management User settings is specified as Authenticate, and if the connection to the Management Server remote management is not established, the Log in - Remote Management dialog box appears. Enter the management user ID and the password, and then click the OK button.

(2) Executing the batch applications by displaying the Execute Configuration dialog box

  1. From the Eclipse menu bar, choose Run - Run Configuration.
    The Run Configuration dialog box appears.
  2. Select the created start configuration, and then click the Run button.
    The execution of the batch applications is started. If the batch server is not running, the batch server will start.
    When the management user authentication in the Management Server Management User settings is specified to Authenticate, and if the connection to the Management Server remote management is not established, the Log in - Remote Management dialog box appears. Enter the management user ID and the password, and then click the OK button.

(3) Precautions for execution