cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DT_CUSTOM_PROP to WebLogic

joseluis_hernan
Visitor

Hi,

 

We are trying to enter DT_CUSTOM_PROP to WebLogic JVM in Windows. But OneAgent is not picking up the values. The Weblogic instance is installed as a Windows Service

 

Please help!

Thanks,
Luis

3 REPLIES 3

pahofmann
DynaMight Guru
DynaMight Guru

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.

Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net

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

pahofmann
DynaMight Guru
DynaMight Guru

DT_CUSTOM_PROP should be a environment variable for the process, not a java option parameter.

Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net

Featured Posts