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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...