[Java] agent not working with AEM on Windows

I downloaded the yaml config file and agent and placed them in the opt folder under the AEM folder.

Then I edited the start.bat file and added the javaagent param:
if not defined CQ_JVM_OPTS set CQ_JVM_OPTS=-Xmx1024m -XX:MaxPermSize=256M -Djava.awt.headless=true -javaagent:F:\AEM-Primary\crx-quickstart\opt\newrelic\newrelic.jar

Finally, I restarted the AEM Windows service.

But I still cannot see any data in NR. Any suggestions?

Thanks

Hi eo-tech-support!

A few questions:

  • Is the java agent generating a log file?
  • When you look at the running process, is the -javaagent flag present on the JVM?