Can we use "default" config of JBoss to setup mod_jk_1.2 for Apache/JBoss fail-over?

We are using JBoss 4.0.1SP1 but we get into a fail-over issue.

We have two Apache servers and two JBoss servers. To setup fail-over between Apache and JBoss, we read


All we need is fail-over, NOT HTTP Session Replication, and NOT HAJMS. In short, just fail-over, not clustering.

But we read the article

"" which says we need the "all" config.

Our concern in using the "all" config is that it puts JMS in the deploy-hasingleton directory which requires all the complicated steps to set up JMS to be shared from one JBoss server. We don't need this.

Why couldn't we have both JBoss servers running their own JMS and the MDB's running on each server consuming messages from their respective JMS queues.

So my question is: Is it possible to use the "default" config to setup mod_jk_1.2 between Apache and JBoss?

If the answer is no and we have to use "all" config, then can we have each JBoss server running their own JMS, by copying C:\jboss-4.0.1SP1\server\default\deploy\jms\*.* into C:\jboss-4.0.1\server\all\deploy\jms?
Who is Participating?
rama_krishna580Connect With a Mentor Commented:

Yes, you can use the default config file to setup mod_jk_1.2 between Apache and JBoss.
if got any problem(s), let me know..

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.