我已经下载了newrelic.zip并解压缩到我的服务器根文件夹
/myServer-war/newrelic
我如何运行jetty服务器:
mvn jetty:run
我已经将javaagent设置为:
export JAVA_OPTIONS="${JAVA_OPTIONS}
-javaagent:/myServer/newrelic/newrelic.jar"
新文物安装:
cd /myServer-war/newrelic
java -jar newrelic.jar install
我收到此错误
***** ( ( o)) New Relic Java Agent Installer
***** Installing version 3.34.0 ...
* Could not edit start script because:
Could not locate a Tomcat, Jetty, JBoss, JBoss7 or Glassfish instance in /myServer-war
* 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: /myServer-war/newrelic/newrelic.yml
***** Install incomplete
如何解决此错误?