29 Sep 2022 06:58 PM - last edited on 30 Sep 2022 10:28 AM by MaciejNeumann
30 Sep 2022 12:09 PM
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.
30 Sep 2022 01:17 PM
Hi ,
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?
Thanks,
Luis
30 Sep 2022 02:11 PM
DT_CUSTOM_PROP should be a environment variable for the process, not a java option parameter.