AppD Archive

Adding AppDynamics arguments to catalina break my program

CommunityUser
Splunk Employee
Splunk Employee
 
0 Karma

Arun_Dasetty
Super Champion

Hi,

We do not expect such behavior we have lot many customers using out LITE product without issues on Tomat server.

Can you provided the following details:

- zipped version of lite agent logs?

- jdk vendor and version? - if agent logs are not available

- catalina.bat in whcih you configured -javaagent entry

- complete error stacktrace or console log where you found the error "SEVERE: Error deploying configuration .."

- can you remove CATALINA_HOME from system env variables if you have set any and run from command prompt using "catalina.bat run" command?

Regards,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee
 
0 Karma

Arun_Dasetty
Super Champion

Hi,

Can you try the following in the meantime while you provided the below information, make sure no custom jvm args are passed in catalina.bat or other tomcat startup settings:

shell> cd <tomcat_install_dir>/bin
shell> java -javaagent:"C:\development\utils\perfmon\AppDynamicsLite\AppServerAgentLite\javaagent.jar"  -jar bootstrap.jar

and check how it goes with tomcat restart

Can you provide the following, catalina.bat we would like see if any other -javaagent profile arg are passed as we see newrelic in comments from provided script snippet, also can you provide the following;

- catalina.log with no -javaagent arg configured

- zipped version of logs under path C:\development\utils\perfmon\AppDynamicsLite\AppServerAgentLite\logs

  - this helps to see jvm args and any errors in agent lite logs

  - java version

- can you remove newrelic jar if added and check how it goes after restart?
- tomcat version ?

Keep us posted the requested information and let us know how it goes.

Regards,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee
 
0 Karma

CommunityUser
Splunk Employee
Splunk Employee
 
0 Karma

Arun_Dasetty
Super Champion

Hi,

We do not see any error in agent lite logs and it seems LiteViewer at localhost:8990 is not up which is not related to the issue, Also we have tested using tomcat.7.0.50 version in windows machine and we could not reproduce the issue (please find the attached catalina logs and console with and without lite agent), i am using jdk 1.7 as well

Can you send the console output of catalina.log and console outout of catalina.bat run command when you start tomcat with and without lite agent

Meantime, can you try the attached catalina.bat (rename catalina.txt to catalina.bat)  file (take a backup of your catalina.bat file before you replace) and check how it goes?

Regards,

Arun

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 ...