Hi,
I have a java rest full application and i want to manitor memory leaks and service transactions with AppDynamics.Please give me any suggestion how to add java agent in jvm and how to add this java application to appdynamic controler i read documention but i am not clear.
https://docs.appdynamics.com/display/PRO39/Install+the+Java+Agent
Hi,
We understood that you want to monitor agent on standaline application, if this is the case, please let us know if that following information helps:
- unzip AppServerAgent.zip
- provide executable permissions to AppServerAgent directory and it sub folders f
- provide controller UI host name and port and application-name, tier-name and node-name details in <appserveragent_dir>/conf/controller-info.xml file
- start the jvm as follows:
cmd> java -javaagent:/mnt/AppServerAgent/javaagent.jar com.rest.app.TestApp 20
Where TestApp is the java class that initiates the standline jvm and that you would like to monitor, now define custom pojo rule if load discovere automatically , refer doc https://docs.appdynamics.com/display/PRO39/POJO+Entry+Points
if you are referring to standalone jar application, start jvm as follows:
shell> java -javaagent:"d:/AppServerAgent/javaagent.jar" -jar restApp.jar 40
Refer doc links: https://docs.appdynamics.com/display/PRO39/Install+the+Java+Agent
https://docs.appdynamics.com/display/PRO39/Quick+Install+for+the+Java+Agent
refer server specific agent configuration steps at doc link if you are monitoring an application server listed : https://docs.appdynamics.com/display/PRO39/Supported+Environments+and+Versions+for+Java#SupportedEnv...
Regards,
Arun
Thanks for your reply. My application is not a stndalone application,its complete restful web application. Different services on run different systems now i want to monitor this application. please guide me.
Hi,
Can you please provide the details of the server(tomcat , weblogic etc) under which the restful web application have been deployed? We will point you to doc on how to configure agent based on your response
Regards,
Arun
I am using tomcat application server and i added javaagent in tomcat catalina.bat file its sucessfully deployed but its not any result in my Appdynamic contoller.
Hi ,
Please send the agent logs collected from UI when load is there on BTs on rest web app and also provide screenshot from controller UI with agent reporting in UI fine and no load shows up, collect logs once status changes in logs colleciton changes to "successful" and attach to this post
Regards,
Arun
I have downloaded logs zip file. what are the logs files are required to send or complete logs files zip please confirm me.
Hi,
We need all logs and also the provide the screenshots from UI and the class/method details on which load is made.
Regards,
Arun