Java Reference
In-Depth Information
•
full
:This profile supports all the default subsystems contained in the
default profile and the messaging subsystem
•
ha
: This profile corresponds to the default profile with clustering capabil-
ities
•
full-ha
: This is the full profile with clustering capabilities
So, first specify in your
domain.xml
file a cluster-aware profile for your server
groups. In our example, we have adopted the
full-ha
profile for both server groups
so that you can run the full Java EE stack on all your domain servers:
<server-groups>
<server-group name="main-server-group"
profile="full-ha">
<jvm name="default">
<heap size="64m"
max-size="512m"/>
</jvm>
<socket-binding-group
ref="full-sockets"/>
</server-group>
<server-group name="other-server-group"
profile="full-ha">
<jvm name="default">
<heap size="64m"
max-size="512m"/>
</jvm>
<socket-binding-group
ref="full-sockets"/>
</server-group>
</server-groups>
In addition to the
domain.xml
file, you need to check that your domain controller's
host.xml
file contains a reference to the local domain controller, as shown in the
following code snippet:
<host name="master"
xmlns="urn:jboss:domain:1.3">