0 Replies Latest reply on Sep 12, 2007 9:34 AM by Joyce Sylvia

    JBoss Clustering configuration

    Joyce Sylvia Newbie


      I am using JBoss4.0.5.I need to implement JMS and JNDI Clustering for my J2EE Application. I configured the required files given in Clustering document downloaded from this site.

      For connecting with queue i used the following context

      Properties p = new Properties();
      p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces");
      p.put(Context.PROVIDER_URL, "localhost:1100"); // HA-JNDI port.
      return new InitialContext(p);

      and in jndi.properties file i configured the following on 2nd node(

      I started two nodes one in and other in both in a default cluster "default partition". While starting first node ( the queue gets binded. But i am not able to connect queue nwith the above initial context. It throws "NameNotFoundException". But if i use localhost instead of localhost:1100 it works. I think the later one doesnt support clustered JNDI. I have searched in many documents and no clear steps/configuration details are given for Jboss clustering. Its very difficult for the beginners to understand the current document which doesnt contain full details.I created shared database by changing DefaultDS in trial and error only. In which files we need to change is not given in document.I need all the configuration details and document..Kindly help me.Its urgent...

      Thanks in Advance,