users@glassfish.java.net

Re: Generic JMSRA outbound JNDI lookup fails

From: <forums_at_java.net>
Date: Tue, 6 Dec 2011 15:08:01 -0600 (CST)

o.k., i took one step forward. i deleted and recreated my Connector Resource
with JNDI Name "jms/GlassFishOutboundConnectionFactory [1]" pointing to
connection pool "jms/GlassFishOutboundConnectionFactory [2]" and moved a head
a few lines. however, it's still failing on the Queue name. how do i
"register" this JNDI Queue resource with the environment...?

... ... ...

javax.naming.NamingException: Lookup failed for 'jms/GlassFishOutboundQueue'
in
SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory,
java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl,
java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is
javax.naming.NameNotFoundException: GlassFishOutboundQueue not found]
    at
com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518)
    at
com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at test.MessageForwarderMDB.onMessage(MessageForwarderMDB.java:112)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
    at
org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
    at
com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:4155)
    at
com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5347)
    at
com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5327)
    at
com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:1093)
    at
com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:81)
    at
com.sun.enterprise.connectors.inbound.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:171)
    at $Proxy296.onMessage(Unknown Source)
    at
com.sun.genericra.inbound.sync.SyncDeliveryHelper.deliverMessage(SyncDeliveryHelper.java:235)
    at
com.sun.genericra.inbound.sync.SyncDeliveryHelper.runOnceStdNoXA(SyncDeliveryHelper.java:441)
    at
com.sun.genericra.inbound.sync.SyncDeliveryHelper.deliver(SyncDeliveryHelper.java:211)
    at
com.sun.genericra.inbound.sync.SyncDeliveryHelper.deliver(SyncDeliveryHelper.java:194)
    at com.sun.genericra.inbound.sync.SyncWorker.run(SyncWorker.java:125)
    at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:114)
    at
com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:497)
    at
com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:540)
Caused by: javax.naming.NameNotFoundException: GlassFishOutboundQueue not
found
    at
com.sun.enterprise.naming.impl.TransientContext.doLookup(TransientContext.java:248)
    at
com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:215)
    at
com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:219)
    at
com.sun.enterprise.naming.impl.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:77)
    at
com.sun.enterprise.naming.impl.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:119)
    at
com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:505)
    ... 25 more
|#]


[1]
http://tec-rh:4848/jca/connectorResourceEdit.jsf?name=jms/GlassFishOutboundConnectionFactory
[2]
http://tec-rh:4848/jca/connectorResourceEdit.jsf?name=jms/GlassFishOutboundConnectionFactory

--
[Message sent by forum member 'richHoward']
View Post: http://forums.java.net/node/871525