Glassfish / Payara

  1. Navigate to the following directory: {Glassfish-Home}\glassfish\domains\domain1\config.
  2. Locate and open the domain.xml file with a text editor of your preference.
  3. Add the FusionReactor Java Agent and possibly the FusionReactor Production Debugger inside the "". Please make sure that all the Java Arguments are on the same line.
  4. Save the changes made.
...
<java-config debug-options="-Xdebug -Xrunjdwp:transport=dt-socket,server=y,suspend=n,address=9009" system-classptah="" classpath-suffix="">
...
<jvm-options>...</jvm-options>
<jvm-options>...</jvm-options>
<jvm-options>-javaagent:C:\FusionReactor\instance\domain1.GF4.1.1\fusionreactor.jar=name=domain1.GFf.1.1,address=8088</jvm-options>
<jvm-options>-agentpath:C:\FusionReactor\instance\domain1.GF4.1.1\frjvmti_x64.dll</jvm-options>
<jvm-options>...</jvm-options>
<jvm-options>...</jvm-options>
...
</java-config>
...