This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Weblogic 10.3.2 queue connection factory and queue creation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic 10.3.2 queue connection factory and queue creation" Watch "Weblogic 10.3.2 queue connection factory and queue creation" New topic
Author

Weblogic 10.3.2 queue connection factory and queue creation

Lavanya Halliwell
Ranch Hand

Joined: Apr 09, 2010
Posts: 57
How do you set up a queue connection factory and queue in weblogic?

and then, how do you access that queue with your java code?

I tried to create this in weblogic, and then in JDeveloper I created a small code:




the problem I face is that I get the error:




I let JDeveloper start weblogic, so it runs on localhost:7101 with user/pass weblogic/weblogic1
I call my Queue connection factory: jms/CFTest (jndi name)
I call my queue : jms/QTest (jndi name)
Joseph Antoine Raja
Ranch Hand

Joined: Feb 01, 2010
Posts: 32
Hi Lavanya,

To setup this JMS connection you should identify the WL version 8.1 (or) 9.2 and Later.

Because the Configuration model is totally different from WLS8 to WLS9

Assuming you are using WLS9 and later

1) create a JMS Server and target it to any WL servers
2) Create a JMS Module [ which is the collection of all customizable JMS components]
3) then inside the Module create a Connection Factory and Queue by specifying the necessary details [ JNDI name/ etc.. ]
4) target this components to the JMS server that you have created
5) Reboot the Admin / managed servers [ though this is not mandatory in WL9 this is highly recomended for clean configuration ]
6) once the server comes live check the JNDI tree whether the components are configured properly.

But I am not sure about the coding part.
Shyam Ramath
Greenhorn

Joined: Jun 24, 2005
Posts: 21

How you got this solved ?
 
Consider Paul's rocket mass heater.
 
subject: Weblogic 10.3.2 queue connection factory and queue creation
 
Similar Threads
Distributed Transactions
weblogic 10 + JMS
Error while using MDB with JMS
Unable to run JMS client
how to receive message from a queue