Oracle Weblogic Server (MOSC)

MOSC Banner

Weblogic 10.3 MDB Connection to Glassfish MQ 4.4

edited Apr 4, 2012 11:52AM in Oracle Weblogic Server (MOSC) 5 commentsAnswered
I am trying integrate a weblogic MDB with Glassfish Message Queue 4.4 as Foreign JMS provider.I am able to lookup the JNDI resources and retrive the JMS messages from a simple Servlet consumer, so that makes me think that the Message Queue works:

    connectionFactory = (ConnectionFactory) ctx.lookup("ConnectionFactory")
    queue = (Queue) ctx.lookup("Queue");
    connection = connectionFactory.createConnection();

However the MDB fails in the lookup:

The Message-Driven EJB: MessageBean is unable to connect to the JMS destination: jms/Queue. The Error was:The destination for the MDB MessageBean(Application: jms-MDB-test, EJBComponent: jms-MDB-test) could not be resolved at this time. Please ensure the destination is available at the JNDI name jms/Queue.  The EJB container will periodically attempt to resolve this MDB destination and additional warnings may be issued.>

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center