Configuring JBoss in Domain mode
- Extract the
com.zip
file.The unzipped folder structure will be
com\mysql\main
. - Stop the JBoss Application Server.
- Copy the extracted
com.zip
folder and place it in the{JBOSS_HOME}/modules/
path, for the master machine. - Copy the extracted
com.zip
folder and place it in the{JBOSS_HOME}/modules/
path, for all the slave machines. -
Open the domain.xml present in the
{JBOSS_HOME}/domain/configuration
folderThe following tags are available in domain.xml.
<profile name="full-ha">
<subsystem xmlns="urn:jboss:domain:ee:4.0"> -
add the following code to the domain.xml:
<global-modules>
<module name="com.mysql" slot="main"/>
</global-modules> - Save the changes.
- Start the JBoss Server.
IMPORTANT: If there are more than one master/slaves machines, place the unzipped com.zip
folder (com\mysql\main\)
into the {JBOSS_HOME}/modules/
path.