So I am new to JBoss and this might seem a little too trivial, but here goes. I have a downloaded version of JBoss on my remote and I basically want to start a cluster of HA-JNDI using the all/deploy/cluster
directory. But what confuses me is what tells JBoss to run only the HA-JNDI cluster when I start JBoss? I have the hajndi-jboss-beans.xml
to configure the HA-JNDI, but what if I do not want to start similar JBoss services. What do I have to do to achieve that? Please let me know if you need any other information. Thanks!
Use the {JBoss}/server/all
server as a template for creating JBoss instances, since it is set up for clustering.
Copy the /all
server as a new server (i.e: {JBoss}/server/ha
).
Make configuration changes, such as removing unneeded JBoss services
(see JBoss Application Framework Trimming guide).