What is the association between JMS and JMS Module server in weblogic 10?

Hello

I have a created a topic ConnectionFactory, queue as JMS Modules in Weblogic Server 10 using the administration console.
And I created a JMS server and targeted on the server running current (Server Admin).

But when I run the program of the sender of the queue it is not able to search the jndi I gave for the queue.

queue = initialContext.lookup ("jndi_queue") (line);

Exception:
javax.naming.NameNotFoundException: unable to resolve 'jndi_queue '.

But I have configured jndi name when I create the queue JMS module in Weblogic Server 10.

How the JMS Module and Server JMS are involved.

My doubt is if I have several JMS Modules and that one created JMS server so how the JMS server identifies the queue/topic belonging to what JMS Module?

Please advice.

Thank you...

Hello

Once you have configured the JMS servers:

Step 1: Target the configuration module of JMS in the cluster that will host destination, or, if not using clusters, target the module to the individual WL server that will host the JMS server.

Step 2: Set up a "subdeployment' for the module and set it to reference the exact JMS servers that will be the destination host. If you use a desitnation distributed, you can specify that multiple JMS servers, if you use a regular destination, don't specify a single destination.

Step 3: Create a resource of destination in the module, and then assign him his the subdeployment subdeployment specified in step 1 (the console called "advanced targeting"). As a best practice to avoid the "targeting default" option for the resource - always choose subdeployment targeting (Advanced).

For more information, refer to the "best practices" section of the JMS configuration guide:

http://download.Oracle.com/docs/CD/E14571_01/Web.1111/e13738/best_practice.htm#CACJCGHG

I also I highly recommend chapter JMS the book "Professional Oracle WebLogic.

Hope this helps,

Tom

Tags: Fusion Middleware

Similar Questions

Maybe you are looking for

  • Simultaneous connect via Dock and via Bluetooth?

    Forgive the newbie question, but I use my Iphone6 to connect to my stereo system through a dock and also want to connect via Bluetooth to a speaker in a room? This can be done? Thank you!

  • Where can we post requests for features for TVs?

    Anyone know where can post us requests for features for TVs? For example, it would be nice to access usb connected to the TV via network.

  • Looking to update my graphics card

    I have a HP Pavilion p6000 series, model 6520y graphics, processor Quad-Core AMD Athlon II 635, ATI Radeon HD 4200. I used GPU - Z and it shows that it is a PCI card. PCI-E cards work on my computer? I'll probably have to upgrade my diet as well, I'm

  • Drever USB not supported in Windows 7

    Hello Sir, Please suggest of the my leptop USB Drever not supported in Windows 7.

  • Photon: Downloaded ringtones

    OK, here's my problem I downloaded some ringtones from Android Marketplace. I'll then settings to change my settings by default, but it only shows the rings supplied with the phone. How can I change my ringtones?