cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Installing Java Agent

tiagomacul
New Poster

I'm following the 

https://docs.appdynamics.com/display/PRO43/Java+Agent

 

I'm using  CENTOS

 

01. 

<>/controller/#/location=GETTING_STARTED_JAVA&timeRange=last_15_minutes.BEFORE_NOW.-1.-1.15

 

02. JVM i select SUN/Rockit (Is this right?)

 

03. Configure - allready configured is SaaS

 

04. Download

 

05. Install Agent

05.a unzip

05.b Set the value of -javaagent to the path to the Java Agent JAR file.

 

06. 

$TOMCAT_HOME/bin/catalina.sh

 

 

I make some mistake, but how can i find this error?

 

Regards

 

 

 

 

 

22 REPLIES 22

Brian.Wheeldon
AppDynamics Team (Retired)

Hi Narita,

The tomcat user needs to be able to write the $AGENT_HOME/<version>/logs/ and $AGENT_HOME/<version>/conf/ directory.

You can verify that by checking the tomcat user and the permissions on those directories, or you can make those directories writable by all. 

 

If tomcat, agent, controller all all running on the same host as your user, then permissions is not the problem.

It's most likely that the tomcat startup does not include the agent correctly. Please compare your configuration with the documentation at: https://docs.appdynamics.com/display/PRO43/Apache+Tomcat+Startup+Settings

 

Regards,

Brian

Brian Wheeldon, Solution Engineer, NYC




Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Hi Brian,

This might be a basic question, but what commands would you use in linux
for the same?

Brian.Wheeldon
AppDynamics Team (Retired)

Google: 

"linux find user running process"

"linux who owns folder"

 

Regards,

Brian Wheeldon

Brian Wheeldon, Solution Engineer, NYC




Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.