29 Sep 2022 10:58 AM - last edited on 30 Sep 2022 02:28 AM by MaciejNeumann
This can be a bit tricky at times, especially on windows.
You need to make sure the environment variable is set for the actual WebLogic process and not just one of the wrapper scripts that is executed on service startup.
We us this technique to install a WebLogic as a service https://docs.oracle.com/cd/E24329_01/web.1211/e21048/winservice.htm
Now we try to add the DT_CUSTOM_PROD variable in our script we tried somethig like that :
set JAVA_OPTIONS=%JAVA_OPTIONS% -DDT_CUSTOM_PROP="actif-id=186851" or
set JAVA_OPTIONS=%JAVA_OPTIONS% -DDT_CUSTOM_PROP='actif-id=186851' or
set JAVA_OPTIONS=%JAVA_OPTIONS% -DDT_CUSTOM_PROP=\"actif-id=186851\"
But without success 😞
Do you know how we need to declare this variable?