Weblogic 10.3 MDB Connection to Glassfish MQ 4.4
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.>
0