-
Open a Windows command prompt, and from the 3DOrchestrate home directory, run the following:
.\code\command\SMAExeStationAsService-Configure.bat
profile:<PROFILE NAME> name:<STATION NAME> account:<SERVICE ACCOUNT>
The profile specifies a connection profile name (without the .cpr
extension); name is the station name as you like it to appear in the
3DOrchestrate server; and the account is the Windows user account that owns the station as a service.
All three arguments are optional. However, if you include them when
you run the script, you can add them to the configuration file and prepopulate their
values whenever you use the station as a service.
The configuration script displays a summary of the options in the service it
will create.
-
Review the summary, particularly the %TEMP% directory where the
system stores the log and temporary files associated with the station as a service. If the
options are satisfactory, press Y to perform the configuration.
The script creates a configuration file in the /config folder
under the 3DOrchestrate home directory.
A typical configuration file generated using the embedded Java
11 Runtime Environment includes the following
lines:
# 3DOrchestrate EER Station specific environment variables are generated from 'SMAExeClientEnv' script.
set.default.SMAEXE_RANDOM=%WRAPPER_RAND_NNNNN%
set.default.SMAEXE_JRE=C:/DassaultSystemes/R2020x/3DOrchestrate/win_b64/code/jre
set.default.SMAEXE_INST=C:/DassaultSystemes/R2020x/3DOrchestrate/win_b64
set.default.SMAEXE_HOME=C:/DassaultSystemes/R2020x/3DOrchestrate/win_b64
set.default.SMAEXE_CONF=C:/DassaultSystemes/R2020x/3DOrchestrate/config
# Must explicitly use %TEMP% environment variable because the actual value and access permissions
both depend on the account running the Tanuki JSW.
set.default.SMAEXE_TEMP=%TEMP%/smaexe
set.default.SMAEXE_TEMPLIB=%SMAEXE_TEMP%/templib%SMAEXE_RANDOM%
set.default.SMAEXE_MEM=2048
set.default.SMAEXE_PROFILE_NAME=DELL3048DSY
set.default.SMAEXE_STATION_NAME=DELL3048DSY_SERVICE
set.default.SMAEXE_SERVICE_NAME=3DOrchestrate_R2020x_Station
set.default.SMAEXE_SERVICE_FRIENDLY_NAME=3DEXPERIENCE R2020x 3DOrchestrate Station
set.default.SMAEXE_DESCRIPTION=Tanuki Java Service Wrapper - 3DOrchestrate Station 3DEXPERIENCE R2020x
set.default.SMAEXE_ACCOUNT=DSONE\SPMREL