I am trying to install Dynatrace agent on Apache Tomcat 7.
I am following below procedure:
sh <Tomcat_Home>/bin/startup.sh -agentpath:/<DHD>/agent/lib64/libdtagent.so=name=<NameOfMonitor>,server=<Host>:<Port>
Now I go to Dynatrace Client, and I dont see corresponding agent entry in UI.
I tried to check dynatrace logs to see if any issues, but no logs are generated.
Am i missing something? Is there any entry has to be made at Dynatrace Server/Host side?
Answer by Roman S. ·
The argument for the agent is required for the JVM, not the Tomcat startup script. Check here for details on what to modify and where
There is a nice quick start guide for you to follow that walks you through the steps required to get dynaTrace working in your application. It is part of our documentation - Quickstart Guide#ConnectYourApplicationtodynaTrace