1. Edit Config File
Edit your config file
(dripstat/config.properties) and add a unique name to identify your jvm:
name = MyApp
licenseKey = <Your license key>
2. Install Agent
- In your WAR file, add the dripstat.jar and config.properties files to WEB-INF/lib/.
- Re-package and deploy your new WAR file, as a new application or an update to a previous application.
3. Add Java Agent arguments
Note: These directions are for Tomcat 7. You may need to alter the file path for your container.
- From the Default Environment page, select Environment Details > Overview.
- Select Edit Configuration.
From the Container tab, enter the following into the JVM Command Line Options field:
For Tomcat 7
- Select Apply Changes.
The JVM will restart and the application should start appearing in your DripStat dashboard within minutes.
Note: Some versions appear to have a parsing issue that require the backslashes to be escaped: