Java agent is not starting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2017 10:14 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2017 02:03 AM
Hi,
Could you please share the zip file of agent log to debug the issue.
Thanks,
Atyuha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2017 02:41 AM
No logs are getting generated.
![](/skins/images/7D0ACBDB6F7B7B4B9947636AD6FFCF71/responsive_peak/images/icon_anonymous_profile.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2017 01:43 PM
java -jar app.jar -conf path/conf.json -javaagent:appd-agent/javaagent.jar
Trying giving the absolute path to the javagent.jar
Also, have you updated your controller-info.xml properly?
![](/skins/images/7D0ACBDB6F7B7B4B9947636AD6FFCF71/responsive_peak/images/icon_anonymous_profile.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2018 02:45 AM
same here, i have started my tomcat but no logs generated
![](/skins/images/257F09B7C74A4FCD0B235A3562F3C96B/responsive_peak/images/icon_anonymous_message.png)