Recently I downloaded AppDynamicsLite version to analyze our Java base applications.
Even though we followed the instructions as mention in the documentation, We are unable
to view agent initiation in Viewer.
Attaching the log files.
Could you please help?
Hi,
Can you please verify whether "licvm2" is a valid host name. We see such errors when agent could not resolve host name of the machine on which agent is installed. Can you please try adding the following options:
Option-1:
- add the following entries in hosts file in linux machine (/etc/hosts) as follows:
127.0.0.1 localhost
127.0.0.1 licvm2
- reboot the machine or run source /etc/hosts command at shell prompt
- now restart the lite agent and check whether you see the error "java.net.UnknownHostException:" after the above changes
Option-2:
- restart the lite agent with the following -D jvm property added in addition to -javaagent arguement and check how whether you see the error "java.net.UnknownHostException:" after the following change:
-Dappdynamics.agent.uniqueHostId=<uniqueHost>
Ex:
-Dappdynamics.agent.uniqueHostId=licvm2
or
-Dappdynamics.agent.uniqueHostId=localhost
Let us know how it goes.
Thanks,
Arun
Thanks you Arun,
We made both the changes as mentioned in option 1 and option 2 , it worked.
Thanks once again we can now see agent and application flow map.