Sun GlassFish Communications Server 2.0 High Availability Administration Guide

LOCAL Java Message Service

When the Type attribute is LOCAL (the default for cluster instances), the Communications Server will start and stop the MQ broker specified as the Default JMS host. The MQ process is started out-of-process, in a separate VM, from the appliciation server process. Communications Server supplies an additional port to the broker . This port will be used by the broker to start the RMI registry. This port number will be equal to the configured JMS port for that instance plus 100. For example, if the JMS port number is 37676, then this additional port number will be 37776.

To create a one-to-one relationship between Communications Server instances and Message Queue brokers, set the type to LOCAL and give each Communications Server instance a different default JMS host. You can do this regardless of whether clusters are defined in the Communications Server or MQ.

With LOCAL type, use the Start Arguments attribute to specify MQ broker startup parameters.