users@glassfish.java.net

Glassfish MDB JNDI Issue

From: <glassfish_at_javadesktop.org>
Date: Wed, 23 Jan 2008 09:12:54 PST

I getting an error message when trying to obtain a ConnectionFactory for a JMS Queue (form a deployed MDB). Below is the lookup call and the error message.

I am trying to get the reference to the ConnectionFactory from a Java standalone application.

Any help is appreciated. Thanks.


----------------------------------------------------------------
queueConnectionFactory = (QueueConnectionFactory)ic.lookup("corbaname:iiop:127.0.0.1:7676#jms/HealthMDBDestinationFactory");

Jan 15, 2008 11:23:55 AM com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase readGIOPHeader
WARNING: "IOP00710220: (INTERNAL) Error in GIOP magic"
org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 220 completed: Maybe
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.giopMagicError(ORBUtilSystemException.java:4415)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.giopMagicError(ORBUtilSystemException.java:4429)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase.readGIOPHeader(MessageBase.java:162)
at com.sun.corba.ee.impl.transport.CorbaContactInfoBase.createMessageMediator(CorbaContactInfoBase.java:153)
NamingException: javax.naming.CommunicationException: Cannot connect to ORB [Root exception is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe]
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.readBits(SocketOrChannelConnectionImpl.java:329)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.handleEvent(SocketOrChannelConnectionImpl.java:1183)
at com.sun.corba.ee.impl.transport.SelectorImpl.run(SelectorImpl.java:281)
[Message sent by forum member 'merger' (merger)]

http://forums.java.net/jive/thread.jspa?messageID=255398