Wednesday, December 06, 2006

Messaging Quickstart: Configuring Weblogic JMS

This is a basic example of how to implement Messaging in Java using JMS and Message driven beans. The example is implemented using Weblogic JMS implementation. This part describes how to configure a queue on weblogic, the next part will describe the programming involved to run the example.Follow these steps to configure a queue in Weblogic:
  1. Create a JMS Server
    1. In the admin console go to Home > Summary of Services: JMS > Summary of JMS Servers and click on Lock & Edit and then click on New.
    2. In the next screen choose a name and create a new File Store and click next.
    3. Select the deployment target and finish.
  2. Create a JMS Module: Go to JMS Modules in the Admin console and create a new module, accept defaults.
  3. Create a Connection Factory: Go to Home > JMS Modules > jmsModule. Select new and create a new connection factory. Set the JNDI name to jms/connectionFactory
  4. Create a Destination: Go to Home > JMS Modules > jmsModule and Create a new Queue and set the JNDI name to jms/testQueue. When creating a queue, select "create a new Sub deployment" and create a new sub-deployment.
Go to part 2.


  1. When I try to run a simple test program using this configuration, I get to the point of sending the message (using Spring) and get this message:

    Unable to resolve 'jms.testQueue'. Resolved 'jms']; remaining name 'testQueue'

    Any ideas what could be wrong here? Anyone seen this before?

  2. Hi,

    I also got the same problem. But I resolved.

    Please target your queue to JMSserver, This problem will resolve.


Popular Posts