How to install Newrelic agent on AEM6.4 Author/Publisher Server
Hi ,
We are trying to install newrelic java agent in our AEM6.4 author and publisher servers.
Software installed in both servers:
-openjdk version "1.8.0_161"
- Apache Maven 3.5.3
- aem_6.4_quickstart.jar
Our installation path
/opt/aem_publisher/AEM_6.4_Quickstart_Setup/crx-quickstart/
We download newrelic-java-4.1.0.zip from Newrelic site and unzip it in /opt/aem_publisher/AEM_6.4_Quickstart_Setup/crx-quickstart/
When run the below command in /opt/aem_publisher/AEM_6.4_Quickstart_Setup/crx-quickstart/newrelic
getting below error.
[root@wisctvnewspub01 newrelic]# java -jar newrelic.jar install
***** ( ( o)) New Relic Java Agent Installer
***** Installing version 4.1.0 ...
* Could not edit start script because:
Could not locate a Tomcat, Jetty, JBoss, JBoss7 or Glassfish instance in /opt/aem_publisher/AEM_6.4_Quickstart_Setup/crx-quickstart
* Try re-running the install command with the -s <AppServerRootDirectory> option or from <AppServerRootDirectory>/newrelic.
If that doesn't work, locate and edit the start script manually.
* No need to create New Relic configuration file because:
A config file already exists: /opt/aem_publisher/AEM_6.4_Quickstart_Setup/crx-quickstart/newrelic/newrelic.yml
***** Install incomplete
***** Next steps:
For help completing the install, see https://newrelic.com/docs/java/new-relic-for-java
-----------------------------------------------------------------------
Can anyone please suggest ?
Thanks
Sina