Caucho Resin — Prerequisites
Prerequisites for monitoring Caucho Resin with HEAL.
Prerequisites to complete before adding this component in the HEAL Control Center.
Tested Configurations:
- Operating Systems: Solaris 11.3, RHEL 7.9
- Resin Versions:
- Resin 4.0.66 with JDK 1.8.0_60
- Resin 4.0.53 with JDK 1.7.0_171
Important: These configurations are verified under the assumption that the jmxremote.ssl property is set to false.
Open Ports for Data Collection: Ensure that the Resin server’s monitor port and JMX port are open for data collection across all server setups to collect Resin and JVM KPIs effectively.
Default Server Configuration (e.g., server name = app-0)#
-
Modify JVM Arguments:
- Navigate to the
resin.propertiesfile in theconfdirectory. - Locate the
jvm_argssection. - Add the following JVM arguments in a single line and uncomment:
-Xmx2048m -XX:MaxPermSize=256m -Dcom.sun.management.jmxremote.port=<jmx port> -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=falseNote: Ensure all arguments are placed on a single line without line breaks.
- Navigate to the
-
Configure Ports in Control Center: For the RESIN instance, assign values for the monitor and JMX ports in the Control Center.Note: The monitor port should use the HTTP port, which can be found in the
resin.propertiesfile. - Restart RESIN: Apply the configuration changes by restarting the RESIN server.
- Update Agent Configuration: Ensure
agent-details.jsonreflects the same port changes to accurately collect data.
Configuration for Other Servers (e.g., server name = app-tier)#
-
XML Configuration Adjustments:
- Open the
resin.xmlfile in theconfdirectory. - Post the
</cluster>tag, insert the configuration for your specific server setup.
Example snippet:
<cluster id="app-tier"> <server id="app-tier" address="server-address" port="6801"> <http port="8086"/> <jvm-arg>-Xms256m</jvm-arg> <jvm-arg>-Xmx1024m</jvm-arg> <jvm-arg>-Dcom.sun.management.jmxremote.port=9118</jvm-arg> <jvm-arg>-Dcom.sun.management.jmxremote.ssl=false</jvm-arg> <jvm-arg>-Dcom.sun.management.jmxremote.authenticate=false</jvm-arg> </server> </cluster>Note: Adjust the values according to your specific requirements.
- Open the
-
Configure Ports in Control Center: Assign values for the monitor and JMX ports in the Control Center specific to the
app-tierserver.Note: The monitor port should correspond to the HTTP port specified in theresin.xmlfile. - Restart RESIN: Apply the changes by restarting RESIN to ensure the new configuration is active.
- Update Agent Configuration: Modify
agent-details.jsonto reflect the changes in port configuration for accurate data collection.
See also: Caucho Resin (what HEAL monitors)