- Open a command prompt and navigate to the %WORKING_DIR%\calculator directory.
- Run the following command:
mvn -Dmaven.test.skip=true clean install jtest:monitor
You should see BUILD SUCCESS at the end of the output.
- A %WORKNG_DIR%\calculator\target\jtest\monitor folder that contains a monitor.zip file will be created in the previous step. Unzip the contents of monitor.zip into %WORKING_DIR%. This will create a monitor folder in %WORKING_DIR%.
Open the %WORKING_DIR%\monitor folder and run the agent.bat script. A command window will open and display a JVM arg string to add to your Tomcat server startup process:
Create a batch file in your Tomcat installation to use this information:
This should all be added in a single string.