Thursday, November 20, 2008

Steps to configure distributed queue


1. Create two managed servers (MS1 and MS2) and assign it to cluster (Cluster).

2. Create two JMS Server assign (JMS1 and JMS2) it to each managed server(MS1 and MS2).

3. Create JMS module target it to cluster.

4. Create a JMS connection factory target it to cluster.

5. Create a sub deployment which is targeted to both the JMS server (JMS1 and JMS2).

6. Create a uniform distributed queue which will target it to sub deployment.

- Make sure that you check the uniform distributed queue

- If you unchecked this check box, then you have to create 2 separate queue and 2 sub deployment targeted it to separate managed server.

7. You can send messages to Dqueue through your own program or you can use sample java program provided by BEA.

8. browse to this url “C:\bea921\weblogic92\samples\server\examples\src\examples\jms\queue”

9. change the jndi name for connection factory and distributed queue.

10. Try sending message to queue “t3://localhost:7002/localhost:7003”

No comments: