cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AppDynamic Agent page not loading nor can see any logs under agent logs

narita.saxena
Wanderer

Hi ,

 

I installed the java agent for my java application, and can see in the tomcat logs that agent has started:

[Thread-0] Wed Jun 28 11:38:12 CEST 2017[INFO]: JavaAgent - Java Agent Directory [/external/nsaxena/appagent/ver4.3.3.1]
[Thread-0] Wed Jun 28 11:38:12 CEST 2017[INFO]: JavaAgent - Java Agent AppAgent directory [/external/nsaxena/appagent/ver4.3.3.1]
[Thread-0] Wed Jun 28 11:38:12 CEST 2017[INFO]: JavaAgent - ####################################################################################
[Thread-0] Wed Jun 28 11:38:12 CEST 2017[INFO]: JavaAgent - Java Agent Directory [/external/nsaxena/appagent/ver4.3.3.1]
[Thread-0] Wed Jun 28 11:38:12 CEST 2017[INFO]: JavaAgent - Java Agent AppAgent directory [/external/nsaxena/appagent/ver4.3.3.1]
[Thread-0] Wed Jun 28 11:38:12 CEST 2017[INFO]: JavaAgent - Using Java Agent Version [Server Agent v4.3.3.1 GA #15212 r${env.GIT_COMMIT} 2740-4.3.3.next-analytics]
[Thread-0] Wed Jun 28 11:38:12 CEST 2017[INFO]: JavaAgent - All agent classes have been pre-loaded
[Thread-0] Wed Jun 28 11:38:12 CEST 2017[DEBUG]: JavaAgent - Using Java Version [JAVA_18] for AppDynamics Java Agent
Running obfuscated agent
Started AppDynamics Java Agent Successfully.
[Thread-0] Wed Jun 28 11:38:18 CEST 2017[INFO]: JavaAgent - Started AppDynamics Java Agent Successfully. 

 but i cant see agents under AppDynamics agent page nor any logs being created for agent under 

/external/nsaxena/appagent/ver4.3.3.1/logs/.?

 

What am i missing?

 

Regards

Narita

3 REPLIES 3

Rajesh.Putta
AppDynamics Team

Hi Narita

 

Could you please confirm that you have passed application, tier and node name and other configurations under controller-info.xml file located under <agent-install-dir>/conf folder as per

 

https://docs.appdynamics.com/display/PRO43/Install+the+Java+Agent

https://docs.appdynamics.com/display/PRO43/Java+Agent+Configuration+Properties

 

If yes, please send us

 

1) startup scripts what ever configuration that you have added

2) output of listed command

ps -ef |grep "java"  

 

Also please ensure 

  • The user under which the JVM runs must have write privileges to the conf and logs directories in the Java Agent home. To achieve this, you can install the agent as the same user that owns the JVM or as an administrator on the host machine. You can restrict the remaining contents of the agent directory to read only access. 

 

Thanks

Rajesh

Hi Rajesh,

 

Thanks, i got it working by adding node name in controller-info.xml, as i think tomcat wasnt finding it and it wasnt generate automatically. Also browser required flash to view agents.

 

Regards

Narita

Hi Narita,

 

Glad to hear this good news.

 

Thanks

Rajesh