I am new to AppDynamics, I have my JAVA application running on my Ubuntu server. The way I run my application is:
java -jar app.jar -conf path/conf.json
When I try to add java agent, the application doesn't start:
java -javaagent:appd-agent/javaagent.jar -jar app.jar -conf path/conf.json
After running above command, no logs are displayed and nothing happens.
But when I try the following command:
java -jar app.jar -conf path/conf.json -javaagent:appd-agent/javaagent.jar
My application starts but no reporting is sent to AppDynamics, and in Applications, I only see "No load detected for the time range"
How do I solve this problem?
... View more