AppD Archive

Appdynamics is failing to detect the jvm for CQ5

CommunityUser
Splunk Employee
Splunk Employee

Hi,

 I am trying to use appdynamics  lite  for  CQ5 application. In my local  CQ5 set up , I start CQ5 with  a run.bat file  instead of  quickstart.bat that comes with  CQ5. Below are the  set up  steps I am following  to set up appdynamics lite and  agent  is able to detect the  JVM as well as the transactions.

1. Open the sling.properties file.

2. Add following package prefix to the sling.properties file.

org.osgi.framework.bootdelegation=com.singularity.*

3.In the startup script for the osgi server add the following

-javaagent:Drive:\agent_install_dir\javaagent.jar

(Drive:\agent_install_dir refers to i=the directory where the contents of AppServerAgentLite.zip were extracted.)

But  when I am trying to do the same configuration in Test servers , the agent is not able to  identify the  jvm.

The only difference between  Test and local  environments  is  the we start the CQ5. in local  its through run.bat and  in Test we start  it with  CQ5 provided  quickstart.bat. so in Test the  jvm opt argument is  given in the  quicckstart.bat.

So far we are unable to  figure out why  the agent fails to detect the jvm  in Test environment.

Any help  will be highly appreciated!!

0 Karma

Arun_Dasetty
Super Champion

Hi,

Thanks for writing in. Can you please provide the following logs to debug further:
- quicckstart.bat and run.bat from CQ5 installation in which you have configured javaagent entry

- zipped version logs directory under <liteagent_dir>/logs
- startup console logs when you starting server with agent using quicckstart.bat, to check if any agent errors
- and the sling.properties file

Do write back to us for further assistance.

Thanks,

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