uCosminexus Application Server, Application Development Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Glossary]](FIGURE/GLOSS.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
(1) Executing the batch applications from a shortcut
- In the Project Explorer view, select the project to be executed or open the Java file using an editor.
- 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
- From the Eclipse menu bar, choose Run - Run Configuration.
The Run Configuration dialog box appears.
- 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
- When the batch applications are executed, you cannot interrupt the execution or check the variables or expressions.
- If no batch servers are set up, an error occurs.
- When execution starts, if there are multiple main classes to be executed or the executed batch servers, the Select Batch Application dialog box appears. Specify the main classes to be executed or the executed batch servers.
- If the same start configuration is to be executed multiple times, the Select Batch Application dialog box appears. Select the start configuration to be executed.
- If you change the settings of a running batch server using the management portal or the Smart Composer functionality, restart the batch server.
- Since the batch server starts during the initial execution of the batch applications, the execution of the batch applications takes time.
- When the automatic restart of the batch server is enabled in the Management Server settings, the batch server restarts automatically, if an attempt to forcefully terminate the batch applications fails. While the batch server is restarting, you cannot operate the batch server.
All Rights Reserved. Copyright (C) 2012, 2013, Hitachi, Ltd.