AppD Archive

Not able to intialise AppdynamicsLite agent on Tomcat6

CommunityUser
Splunk Employee
Splunk Employee

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?

0 Karma

Arun_Dasetty
Super Champion

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

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

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.

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...