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

Agent Configuration for Java Wrapper in windows

himanshu_mor
Advisor

HI Guys,

I am facing issues with java agent configuration for windows service using wrapper.conf

Java service starts successfully but DT java agent is not starting up , no agent logs are getting generated as well.

Thanks

HImanshu Mor


3 REPLIES 3

himanshu_mor
Advisor

I Have tried below combinations but none worked

wrapper.java.additional.1=-agentpath:"D:\\Dynatrace\\agent\\lib\\dtagent.dll"=name=JAVA_PROD,collector=XYZ.COM:9998,loglevel=fine
wrapper.java.additional.1=-agentpath:"D:\Dynatrace\agent\lib\dtagent.dll"=name=JAVA_PROD,collector=XYZ.COM:9998,loglevel=fine
wrapper.java.additional.1=-agentpath:D:/Dynatrace/agent/lib/dtagent.dll=name=Java_mySystemProfile,collector=XYZ.com:9998,loglevel=fine


dave_mauney
Dynatrace Champion
Dynatrace Champion

Hi Himanshu,

If your Java is 64bit, use lib64 rather than lib in the path.

Did you check the command line to verify the agentpath was added successfully?

HTH,

dave


Hi Dave , apologies for such a late response here.

This actually worked out because it was java 64bit and lib64 folder was not present in our initial agent installation.

We did a fresh agent install and instrumented in java64 and worked.