Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
10-26-2017 09:55 PM
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!
10-26-2017 10:30 PM - edited 10-26-2017 10:31 PM
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
10-27-2017 06:30 AM
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,
10-27-2017 08:24 AM
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
10-31-2017 05:54 PM
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.
11-01-2017 08:49 AM
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.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form