Hi,
We are trying AppDynamics lite and have a question:
We are running the agent on two Jboss JVM on the same linux box. It's working alright, but it seems to have merged the 2 JVM informations. We see all calls as if they were made from the same JVM...
I mean, why the "Application Flow Map" keep showing only 1 JVM ? ( see attached image), where we are expecting to see two distinc JVM ?
Thanks for your help.
antonio
Hi Antonio,
Thanks for the logs, we have analysed the logs and could observe agent/lite viewer connectivity issues and few conflicting BT.logs, we request you to try the following as it is not suggested to use same lite agent directory to monitor two JVMs, we suspect that agent might be switching randomly at could monitor only one jvm at particular point but the load might look it is merged, we request you to try the following:
- remove -javaagent entry from one of the JVMs and restart both the server/JVMs and check whether you see any issues after server restarts.
Thanks,
Arun
Hello Arun,
Ok, I understant that light viewer does not support showing two JVM in the same time. However, I can assure you it agregate the two JVM data in the viewer. This probably is because both JVM point to the same agent folder...
> jboss server version you are using
4.3_cp10
You will find the viwerlogs log attached.
By the way, I mad a request an evaludation for the Pro version earlier this week, but still waiting.
Bests,
Antonio
Hi Antonio,
Thanks for the liteviewer.log we could see that there is only one lite agent directory as expected:
[btpool0-15] 20 Jun 2013 14:11:29,147 INFO [btpool0-15] ConfigurationHandler - Agent Registration for Install Dir[/local/home/Jboss/jboss/agent]
Can you please send the zipped version of agent logs under lite_agent_install direcotory as we see the agent_dir is
/local/home/Jboss/jboss/agent , also the startup scripts for two servers in which you have provided -javaagent entries to debug further
Thanks,
Arun
Hello Arun,
Thanks for the pro download link.
Can't find how to to add attachments you asked in your forum anymore.. the attachment option vanished....
Thus here are the files:
https://docs.google.com/file/d/0B0cMch4odSIKNFkwSVJmVjNiXzg/edit?usp=sharing
https://docs.google.com/file/d/0B0cMch4odSIKb08wRm9Ec09Gc0U/edit?usp=sharing
Bests,
antonio
Hi Antonio,
Thanks for the logs, we have analysed the logs and could observe agent/lite viewer connectivity issues and few conflicting BT.logs, we request you to try the following as it is not suggested to use same lite agent directory to monitor two JVMs, we suspect that agent might be switching randomly at could monitor only one jvm at particular point but the load might look it is merged, we request you to try the following:
- remove -javaagent entry from one of the JVMs and restart both the server/JVMs and check whether you see any issues after server restarts.
Thanks,
Arun
Hello Antonio,
You can get started with a free trial of the Pro product on your own. You just have to to signup here - http://portal.appdynamics.com/account/signup/signupForm
Thanks
Hi Antonio,
One instance of Lite viewer can only monitor one instace of lite agent or one single JVM, let us know if that clarifies your query.
refer docs: http://litedocs.appdynamics.com/display/ADLite/Installing+the+Application+Server+Agent
http://litedocs.appdynamics.com/display/ADLite/Installing+the+Viewer
Howeve you can start multiple Lite viewers to monitor multiple JVMs/app servers as follows:
Step1:
shell> cd <Lite_viewer1_install_dir>
shell> java -Dadlite.port=8990 -jar adlite-viewer.jar
now provide the liteviewer1 port in addition -javagent lite agent entry in app server to point to corresponding lite viewer instsance:
-Dappdynamics.viewer.port=8990
Step2:
shell> cd <Lite_viewer1_install_dir>
shell> java -Dadlite.port=8991 -jar adlite-viewer.jar
now provide the liteviewer1 port in addition -javagent lite agent entry in app server to point to corresponding lite viewer instsance:
-Dappdynamics.viewer.port=8991
Regarding the other query "We are running the agent on two Jboss JVM on the same linux box. It's working alright, but it seems to have merged the 2 JVM informations. We see all calls as if they were made from the same JVM"
- We expect this is not expected behavior as lite only monitors single JVM, Can you please confirm the following:
- jboss server version you are using
- Have you configure two lite agents to monitor two jvms , have you added two -javaagent entries in different jboss startup scripts? If the above said is wrong, then it might be single JVM instance
- If there is disconnect in our understanding please provide the two startup scripts you have used with -javaagent entry you have added and also two request urls that you used for any business transaction that you used to make load on two jboss instances
- provide the logs under Liteviewe/logs directory to debug further.
Thanks,
Arun