Installing Additional Apps

This section explains how to install additional apps.

By default, the compilation of the JPOs (Java Program Objects) compilation when running BuildDeploy3DSpace_CAS.bat/.sh is not activated. To activate it:

  • On Windows, set the variable set do_jpo_compilation to true in <install_path>\win_b64\code\command\BuildDeploy3DSpace_CAS.bat.
  • On Linux, set the variable do_jpo_compilation to true in <install_path>/scripts/BuildDeploy3DSpace_CAS.sh.

Or launch MQL:

On Windows: <3DSpaceInstallPath>\win_b64\code\bin: mql

On Linux: <3DSpaceInstallPath>/scripts: ./mql

  • MQL<1> set context user creator ;
  • MQL<2>compile prog * force ;

Then you will be prompted to enter the password for the creator user.

Important: Starting from R2024x FD01, the embedded TomEE is no longer available:
  • You must use your own TomEE.

  1. Install the apps.

    On Windows, run the command:

    < AppName.Windows64\1> setup.exe –installerPath <Path to DS_Installer.Windows64\1>

    On Linux, run the command:

    <AppName.Linux64\1$./StartGUI.sh –installerPath <Path to DS_Installer.Linux64/1>

  2. Rebuild the war archives and redeploy them in the appropriate TomEE instance.

    On Windows, use the appropriate desktop shortcut (by right-clicking Run as administrator) , or run the appropriate script:

    • <3DSpaceInstallPath>\win_b64\code\command\BuildDeploy3DSpace_NoCAS.bat (without CAS)
    • <3DSpaceInstallPath>\win_b64\code\command\BuildDeploy3DSpace_CAS.bat (with CAS)

    On Linux, run the appropriate script:

    • <3DSpaceInstallPath>/scripts/BuildDeploy3DSpace_NoCAS.sh (without CAS)
    • <3DSpaceInstallPath>/scripts/BuildDeploy3DSpace_CAS.sh (with CAS)

  3. Copy the respective .war files (<3DSpaceInstallPath>/distrib/3dspace.war, <3DSpaceInstallPath>/distrib_CAS/3dspace.war, <3DSpaceInstallPath>/distrib_NoCAS/internal.war) in the webapps folder of each tomEE instance (CAS / NoCAS) (<TomEECAS_install_path>/ <TomEENoCAS_install_path>).

    If you are running Windows server, use the templates of setenvCAS.bat / setenv.bat that are ready in <3DSpaceInstallPath>/win_b64/templates/. You can copy them in the “bin” folder of each tomEE instance.

    The file setenvCAS.bat must be renamed to setenv.bat after copying.

    If you are running Linux server, mxEnvCAS.sh or mxEnv.sh scripts must be sourced at the beginning of each startup.sh script of TomEECAS / TomEENoCAS instance.

    For example,

    • for TomEECAS, you must add this line in the second position of <TomEECAS_install_path>/bin/startup.sh: . <3DSpaceInstallPath>/scripts/mxEnvCAS.sh
    • for TomEENoCAS, you must add this line in the second position of <TomEENoCAS_install_path>/bin/startup.sh: . <3DSpaceInstallPath>/scripts/mxEnv.sh