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
09-05-2019 05:28 PM
Hi Experts,
we have sucesfully installed AppD agents in our app server also passed valid arugments however unable to view
any data in AppD console.
Our Controller and agent ver are : 4.8 controller/4.5 agent
Passed aruguments in MS v3 configfiles and application is hooked with AppDynamics when we tried with Ps -ef| grep java
Pls let us what could be rootcause it blocking the data ? or any body faced smilar kind of issue.
Solved! Go to Solution.
09-05-2019 06:01 PM
Surenda,
What do you see?
The agent logs will be the most useful source of troubleshooting information
Warm regards,
Peter
09-05-2019 06:51 PM
09-05-2019 06:56 PM
The logs are empty, or no logs are created?
If the latter case, do you see any output from the agent on stdout/stderr as the JVM starts?
Can you post the output of ps -ef for your java process?
What do you see if you take your agent options and just run java <your-options> -version ?
Warm regards,
Peter
09-06-2019 11:32 AM
Hi Pete,
Pls find my answer below.
If the latter case, do you see any output from the agent on stdout/stderr as the JVM starts?
No Logs were created hence no output on stdout/stderr
Can you post the output of ps -ef for your java process?
java -Xmx1024m -jar xxxapi.jar -javaagent:/opt/appdynamics/appserver-agent/javaagent.jar -Dappdynamics.agent.applicationName=xxxx -Dappdynamics.agent.tierName=xxx -Dappdynamics.agent.nodeName= xxx-api_xxxx001
What do you see if you take your agent options and just run java <your-options> -version ?
java -Xmx1024m -jar xxxapi.jar -javaagent:/opt/appdynamics/appserver-agent/javaagent.jar -Dappdynamics.agent.applicationName=xxxx -Dappdynamics.agent.tierName=xxx -Dappdynamics.agent.nodeName= xxx-api_xxxx001
Pls let me know if you have questions.
Regards
Surendra
09-08-2019 10:48 PM
Surendra,
Try moving the -javaagent and the -D options ahead of the "-jar" option in your command line.
Warm regards,
Peter
09-09-2019 02:24 PM
Thanks Pete for your reply.
we have tried said option however we are same page. pls find same below
java -Xmx1024m -javaagent:/opt/appdynamics/appserver-agent/javaagent.jar -Dappdynamics.agent.applicationName=xxxx -Dappdynamics.agent.tierName=xxx -Dappdynamics.agent.nodeName= xxx-api_xxxx001 -jar xxxapi.jar
pls correct me if any errors in above arguments
Thaks in Advance.
Regards,
Surendra
09-09-2019 03:35 PM
Surendra,
This is very strange. If the agent is not generating any output or log files, it is almost certainly not getting loaded for some reason.
What do you see if you run:
java -Xmx1024m -javaagent:/opt/appdynamics/appserver-agent/javaagent.jar -Dappdynamics.agent.applicationName=xxxx -Dappdynamics.agent.tierName=xxx -Dappdynamics.agent.nodeName= xxx-api_xxxx001 -version
Do you see anything at all in the 'tiers and nodes' dashboard of your application?
09-13-2019 03:13 PM
Hi Peter,
We are able to see data in AppD console post changes of below.
java -Xmx1024m -javaagent:/opt/appdynamics/appserver-agent/javaagent.jar -Dappdynamics.agent.applicationName=xxxx -Dappdynamics.agent.tierName=xxx -Dappdynamics.agent.nodeName= xxx-api_xxxx001 -version
Thanks for your great support on this . Very much appricaited
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form