Splunk AppDynamics

Java agent is not starting

admin1
New Member

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?

Labels (1)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

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?

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

same here, i have started my tomcat but no logs generated

0 Karma

Atyuha_Pal
Contributor

Hi,

Could you please share the zip file of agent log to debug the issue.

Thanks,

Atyuha

0 Karma

admin1
New Member

No logs are getting generated.

0 Karma
Get Updates on the Splunk Community!

Best Strategies to Optimize Observability Costs

 Join us on Tuesday, May 6, 2025, at 11 AM PDT / 2 PM EDT for an insightful session on optimizing ...

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...