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