Starting and Stopping the 3DOrchestrate Distribution Server

You can start and stop the 3DOrchestrate Distribution Server application using batch file scripts on Windows or shell scripts on Linux.

This page discusses:

After you have installed and deployed the 3DOrchestrate Distribution Server application, you can start it in TomEE with the following batch or shell script file:

<server_install_dir>\exe1\tomee\bin\startup.bat
<server_install_dir>/exe1/tomee/bin/startup.sh

This path uses the default exe1 as the Java EE application name (server name), but yours may be different if it was changed in the 3DOrchestrate deployment utility.

You can stop the running application with the following batch/script file:

<server_install_dir>\exe1\tomee\bin\shutdown.bat
<server_install_dir>/exe1/tomee/bin/shutdown.sh

Note:

The deployment utility sets the TomEE CATALINA_BASE environment variable to the following:

CATALINA_BASE = <server_install_dir>/exe1/tomee/

CATALINA_BASE is set rather than CATALINA_HOME to keep your installation-specific data and configuration separate from the TomEE installation directory—in order to simplify future TomEE upgrades (delivered by the 3DOrchestrate installer). The 3DOrchestrate Distribution Server application deployment is placed under CATALINA_BASE and CATALINA_HOME is not modified.

Checking for Successful Startup

You can monitor the log files in this directory to check for success messages or errors:

<server_install_dir>\exe1\tomee\logs\

In particular, look for the following message lines in the DS_SIMULIA_Execution.<date>.log file:

Sep 26, 2018 10:08:53 PM com.dassault_systemes.smaexe.ejb.SMAExeApplicationStartAndShutdown 
ALWAYS: Compute Orchestration Server server is now in RUNNING state.

You can also look for the following message in the catalina.<date>.log file:

INFO: Server startup in 2263 ms

Other Ways to Start the Server

There are two additional ways to start and stop the 3DOrchestrate Distribution Server application: