Currently the self-installer is fully compatible with Tomcat, Jetty, JBoss, and Glassfish. Other platforms may still require manual editing of the start scripts.
Note: As part of the installation process, change the default application name to a meaningful name.
To use the Java agent, you need a New Relic account.
Unless you have special install considerations, you should be able to complete your New Relic install by following the directions on Get started with Web App Monitoring. This page provides additional information on the install process.
Get started with Web App Monitoring: Your initial landing page when you first create a New Relic account. You can pick which platform you are using with the Choose your language drop down.
The Account settings page has a list of the most recent agents by platform in the right-hand column.
From the New Relic title bar, select (account) > Account settings.
Download the agent for your platform.
Unpack newrelic.zip into your app server's root directory. For Glassfish, unpack newrelic.zip into your domain's directory.
unzip newrelic.zip -d /path/to/appserver/
Copy a clean config file into the newrelic directory.
Account settings is on the title bar in the menu under your account name.
The installer is bundled inside the agent jar. Execute it from the newrelic directory with the
cd /path/to/appserver/newrelic java -jar newrelic.jar install
The installer will find your start script, back it up, and edit it to add the agent switch.
Options for the installer include:
||Display the usage help|
||Account license key|
||Location of your application server
Required if newrelic not located in your app server home directory
The installer provides feedback on whether the install succeeded.
On Windows, the installer will add itself to catalina.bat, but not to the jsvc startup command. Look for jsvc support in an upcoming release.
Additional documentation resources include:
If you still have problems, submit a support ticket (for fastest service) or email support @ New Relic. Also, you may be able to find support from the community at Stack Overflow. Tag your post with