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.PROVIDER_URL, "localhost:1100"); // HA-JNDI port.
return new InitialContext(p);
and in jndi.properties file i configured the following on 2nd node(192.168.1.15)
I started two nodes one in 192.168.1.19 and other in 192.168.1.15 both in a default cluster "default partition". While starting first node (192.168.1.19) 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,