Supported versions
- 4.x
- 5.x
Installation steps
Download the latest Java agent from
copywget https://atatus-artifacts.s3.amazonaws.com/atatus-java/downloads/latest/atatus-java-agent.jar
Add the application name and license key in
glassfish/domains/domain1/config/domain.xml
file.copy<java-config> ... <jvm-options>-javaagent:/path/to/atatus-java-agent.jar</jvm-options> <jvm-options>-Datatus.license_key="APM_LIC_KEY"</jvm-options> <jvm-options>-Datatus.app_name="YOUR_APP_NAME"</jvm-options> </java-config>
Optional: Set your application package path to find exact source line in Java Exceptions.
copy<jvm-options>-Datatus.application_packages=<YOUR_PACKAGE_PATH></jvm-options>
Restart your GlassFish server to view your performance data within minutes.