1 Reply Latest reply on Jul 21, 2004 12:12 PM by Adrian Brock

    JMS-HA with HTTP Tunneling

    Flavio Ravotto Newbie

      Hi all,
      I set up two JBoss instances in cluster, and I have my JMS clients able to connect to the two instances and to correctly manage the shutdown of one of them. I did this by using JNDI (by configuring "org.jnp.interfaces.NamingContextFactory" as initial context factory).

      Now I would like to make my JMS clients connect to JBoss using HTTP Tunneling.
      I'm able to make JMS clients connect to a single instance of JBoss using HTTP Tunneling (by using "org.jboss.naming.HttpNamingContextFactory" as initial context factory and the JNDIFactory servlet as provider URL). I tried to do the same with the two clustered JBoss instances, but it didn't work...
      I also tried to configure the HAJNDIFactory servlet as provider URL, but I wasn't able to set it up correctly (I had an exception thrown during the JBoss startup).
      Finally, I am not even sure that it is possible to use the JBoss high availability with HTTP Tunneling...

      Some help? Is it possible to use HTTP Tunneling with JMS-HA? If yes, what did I do wrong in the JMS clients and JBoss configurations? How can I correctly configure the HAJNDIFactory servlet (if it is the one that I should use)?

      Thanks in advance,

      Flavio