Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Weblogic 10.3.2 queue connection factory and queue creation

 
Lavanya Halliwell
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

How you got this solved ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic