cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The AppDynamics Community is Migrating this Friday, February 28th.


At 6pm PST, the AppDynamics Community will go into read-only mode and after migration is complete, you will be redirected to community.splunk.com.
Read more here


Java agent is not starting

admin
Explorer

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?

4 REPLIES 4

Atyuha.Pal
AppDynamics Team

Hi,

 

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

 

Thanks,

Atyuha



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

No logs are getting generated.

Anonymous
Not applicable

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?

Anonymous
Not applicable

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

Ask the Experts Session: Hybrid Application Monitoring Deployment

Join us on Feb 26 to explore Splunk AppDynamics deployment strategies, SaaS models, agent rollout plans, and expert best practices.


Register Now

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here