Splunk AppDynamics

Java agent not reporting to controller

Sundarapandian_
Path Finder

Hello,

We have manually configured java agent by adding the required JVM Args to a stand-alone Java App

-javaagent:/ms/dist/esm/PROJ/appdynamics-agent/4.2.11.0/java_sun_jrockit/ver4.2.11.0/javaagent.jar

-Dappdynamics.agent.runtime.dir=/var/tmp/appdynamics

-Dappdynamics.controller.hostName=dev-controller

-Dappdynamics.controller.port=8090

-Dappdynamics.controller.ssl.enabled=false

-Dappdynamics.agent.accountAccessKey=xxxxxxxx

-Dappdynamics.agent.accountName=customer1

-Dappdynamics.agent.nodeName=ivapp-dip

-Dappdynamics.agent.tierName=dip-Tier

-Dappdynamics.agent.applicationName=DIP-DEV

 

We could see the agent started successfully message in the agent log. However, can't see the agent reporting to the controller. A batch job invokes the application process. appdev team says, the job every time starts the process also restarts JVM

 

Wondering, why we still couldn't see the agent reporting to the controller

 

Thanks!

Labels (1)
0 Karma

Peter_Holditch
Builder

Are you sure you do not even see the JVM registered under the "tiers and nodes" view?

If you don't, look in the agent logs for connectivity issues.

If you do, the problem may be that you need custom entry points for the agent to detect Business Transactions.

Also note in general, BTs are built with the assumption that they will be called repeatedly, an entry point called once and once only will not collect transaction statistics.

Also, take a look at the page about monitoring short lived JVMs

0 Karma

Sundarapandian_
Path Finder

Hello,

Thanks for the response.

I don't even see the Application that i created in the controller, to try create custom entry points.

No connectivity errors in the logs. Can agent start with connectivity errors? (Agent log attached) . I can se the tier and App names picked up correctly

Also, adding "‑Dappdynamics.cron.vm=true" would make any difference?

Regards,

0 Karma

Peter_Holditch
Builder

That looks to be the applicaton log.

You will find the agent logs in the

/ms/dist/esm/PROJ/appdynamics-agent/4.2.11.0/java_sun_jrockit/ver4.2.11.0/logs/ivapp1098162.devin3.ms.com-amtprocess-dip

Directory

agent.<JVM-starttime> will contain the information necessary to debug

0 Karma

Sundarapandian_
Path Finder

Sorry, that was my mistake. i'm waiting for the agent logs from the admin team, as we dont have access to the hosts

However, now i could see the application appearing in the controller but BT no BT wasn't registered. Came to know these are spring beans , so i had enabled automatic detection of spring bean detections under 'Transaction Detection' and also have created a couple of custon rules using spring bean entry point type.

Looks like the batch runs just once a day, so i'm going to leave this for a while and check if any BT gets registered with the new changes made.

0 Karma

Peter_Holditch
Builder

It sounds like things are workig then.  Only when entry point instrumentation is hit by a flow of transactions will you see nodes appearing on the flowmap.  Nodes that are idle, or are doing work that is not downstream of an entry point, will only appear under "tiers and nodes"

Please let us know if your nodes appear when the load is applied.  If not, you will likely have to place some custom POJO entry points.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...