I am trying to set up a JMS clustered environment. Using WebLogic 9.2. I have 2 managed instances m1 and m2.
The client to the JMS queue is outside the firewall. Would like your help in the following.
1) What is the best way to accomplish JMS clustering and failover?
- I decided to use Distributed Queue
- Also learnt from another thread on javaranch that the QCF has to be set in round robin mode. Thanks to the thread ("JMS Clustering in Weblogic")
- Please let me know any other configuration that i need to set.
2) What would be the JMS client code ?
- the client is running outside the firewall.Please help with a sample client code. Just the lines which contain the provider URL will suffice. The provider URL is causing the greatest confusion.
- What does the provider URL look like. I am really confused with the concept of "cluster address". for example, say m1 is running on ip1:port1 and and m2 on ip2:port1.
- what is the ip address that i need to provide in the the client as the JNDI provider URL? Managed servers come with two ips , internal and external . wihch is the one that is to be used in the client code?
- I also read that a DNS name can be used in the PROVIDER url . which DNS name is this and where is this set ?
3) what are the firewall considerations ?
- what are the ips and port numbers that i need to open in the firewall to accept incoming JMS messages (from the external client) on the server firewall , as well as what are the rules that need to be set on the client side firewall ? This is once again with respect to the internal and external ip;s that WebLogic 9.2 managed servers have.
Truly appreciate your help .....
When you have exhausted all possibilities, remember this: you haven't - Edison. Tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss