Sun GlassFish Enterprise Server v2.1.1 High Availability Administration Guide

Support for Installing DAS, Node Agent, and Server Instance in a DMZ

Before the release of Enterprise Server 2.1 patch 02, the DAS, Node Agent and Server Instance listens on dynamic port for JMX requests, posing a problem when these components are installed in the DMZ. The ports that need to open in the firewall would become dynamic and a protocol could not be set.

In Enterprise Server 2.1 patch 02 and all subsequent releases, this issue is resolved by the use of configurable parameters for each components. These parameters enable the components to listen for JMX requests at a configured port.

For DAS and server instance, define the following JVM option in the domain.xml file:

<jvm—options>Dcom.sun.aas.rmijmx.cbport=XXXX</jvm—options>

<jvm—options>-Dcom.sun.aas.jconsole.cbport=YYYY</jvm—options>

For node agents, the following properties need to be added to the nodeagent.properties file:

agent.rmijmx.cbport=XXXX

agent.jconsole.cbport=YYYY