Splunk AppDynamics

JVM agent does not work

Kong_xiaohui
New Member

Hi,

I have installed the javaagent on my Linux server, and I append javaagent script after my startup script.

The whole script: "$JAVA_HOME/bin/java -jar /tmp/my-api.jar -ms64m -mx256m -javaagent:/opt/appdyn/javaagent/4.4.3.22593/javaagent.jar -Dappdynamics.controller.ssl.enabled=true -Dappdynamics.force.default.ssl.certificate.validation=true -Dappdynamics.agent.accountName=customer1 -Dappdynamics.agent.accountAccessKey=........ -Dappdynamics.controller.hostName=........ -Dappdynamics.controller.port=..... -Dappdynamics.agent.applicationName=........ -Dappdynamics.agent.tierName=my-api -Dappdynamics.agent.nodeName=_my-api"

my-api is a spring boot web application. After running this script, seems there is no log generated.

Labels (1)
0 Karma

Allan_Schiebold
Communicator

Hi. There is likely an error in the application logs about the app being unable to call the agent. This could be due to permissions issues. 

0 Karma
Get Updates on the Splunk Community!

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 ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...