I'm trying to use the AppDynamics Lite server on linux12.4 and with Apache tomcat7 server and JVM HotSpot(TM) 1.7.x
I did all the instructions required to integerate the AppDynamics Lite with Tomcat7 and JVM ,but unfortunatly useless.
The AppDynamic viewer doesn't connect with the agent and I don't know why?
I added the two attachments below to expose what appears in the viewer and the file name "catalina.sh" startup script which contains the specified where javaagent.jar exist.
thanks in advance.
Hi,
Let us know if we can have quick GotoMeeting screenshare session now Or let us know couple of timeslots and lsit the time and timezone you are in so that we will send the meeting details accordingly?
We suspect from the logs that tomcat is either running as a different user and lite agent on different path , can you check if moving liteviewer to location "/usr/share/tomcat7/AppDynamicsLite/" and restarting liteviwer and then starting tomcat makes any different here while you confirm your availability for meeting details, we assume that both the tomcat and liteagent are in same machines
also can you confirm whether you are starting tomcat as follows:
shell> catalina.sh run
Regards,
Arun
Actually, It works NOW! . Thanks Alot for your assistant .. it was a matter of Apache tomcat7.. it was not running properly as Tomcat7 and liteDynamics was not on the same user.
Hi,
We understood that both viewer (http://localhost:8990) and tomcat server are in same machine, let us know if any disconnect.
If this is the case, Can you please try the following:
step1: stop all java process
step2: start liteviwer java process
step3: start tomcat with lite agent (check whether you see logs under ..\AppServerAgentLite\appagent\logs path)
step4: do browser refresh in liteviewer and re-login the viewer UI and see if the "no agents connected" message still exists?
If the issue still persists, Can you send the catalina.sh and logs under ..\AppServerAgentLite\appagent\logs path and also liteviwer.log under liteviwer install directory to assist you better?
Regards,
Arun
Does agent has write permission to the the logs directory ? The user who is running the tomcat should have write permissions.
To confirm that you can go into
/usr/share/tomcat7/AppDynamicsLite/appagent/ this directory and go to logs directory and try creating file , writing into it and delete it.
yes there was no permission for the user to do operations on the javaagent directory, but now I changed the owner to the running user.
then, I restarted the tomcat7 server again ,and restarted the liteviewer again. but still the issue exist "No Agent connected!" and still no log file for the agent.
the file below is the liteviewer log now.
Hi,
Let us know if we can have quick GotoMeeting screenshare session now Or let us know couple of timeslots and lsit the time and timezone you are in so that we will send the meeting details accordingly?
We suspect from the logs that tomcat is either running as a different user and lite agent on different path , can you check if moving liteviewer to location "/usr/share/tomcat7/AppDynamicsLite/" and restarting liteviwer and then starting tomcat makes any different here while you confirm your availability for meeting details, we assume that both the tomcat and liteagent are in same machines
also can you confirm whether you are starting tomcat as follows:
shell> catalina.sh run
Regards,
Arun
Actually, It works NOW! . Thanks Alot for your assistant .. it was a matter of Apache tomcat7.. it was not running properly as Tomcat7 and liteDynamics was not on the same user.