users@glassfish.java.net

Exception:Failed to look up ConnectorDescriptor from JNDI

From: <glassfish_at_javadesktop.org>
Date: Wed, 16 Apr 2008 06:26:04 PDT

Hi,
I m trying to connect Sailfin from remote client. i have included following jars in classpath:
appserv-rt.jar
javaee.jar
imqjmsra.jar
imqbroker.jar
imq.jar
appserv-admin.jar
jms.jar
appserv-deployment-client.jar
appserv-ext.jar

when i run my client in gwt hosted mode which uses tomcat, i get following exception...



Apr 16, 2008 4:52:02 PM com.sun.enterprise.naming.SerialContext lookup
SEVERE: NAM0004: Exception during name lookup : {0}
com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to look up ConnectorDescriptor from JNDI
        at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:98)
        at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:344)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at com.tcs.smb.crosstalk.server.EventQueue.sailfinMQconnection.lookup(sailfinMQconnection.java:53)
        at com.tcs.smb.crosstalk.server.EventQueue.sailfinMQconnection.doconnetion(sailfinMQconnection.java:64)
        at com.tcs.smb.crosstalk.server.EventQueue.MessageQueueManager.SendMessage(MessageQueueManager.java:59)
        at com.tcs.smb.crosstalk.server.EventQueue.MessageQueueLayer.SendToQueue(MessageQueueLayer.java:46)
        at com.tcs.smb.crosstalk.server.ChatServiceImpl.propagateEvent(ChatServiceImpl.java:446)
        at com.tcs.smb.crosstalk.server.ChatServiceImpl.access$1(ChatServiceImpl.java:425)
        at com.tcs.smb.crosstalk.server.ChatServiceImpl$ChatEventHandler.visit(ChatServiceImpl.java:49)
        at com.tcs.smb.crosstalk.client.NewMessageEvent.accept(NewMessageEvent.java:43)
        at com.tcs.smb.crosstalk.server.ChatServiceImpl.processClientEvents(ChatServiceImpl.java:413)
        at com.tcs.smb.crosstalk.server.ChatServiceImpl.exchangeEvents(ChatServiceImpl.java:253)
        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 com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:528)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:265)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:187)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at com.google.gwt.dev.shell.GWTShellServlet.service(GWTShellServlet.java:253)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
        at java.lang.Thread.run(Thread.java:619)
javax.naming.CommunicationException: serial context communication ex [Root exception is com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to look up ConnectorDescriptor from JNDI]
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:368)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at com.tcs.smb.crosstalk.server.EventQueue.sailfinMQconnection.lookup(sailfinMQconnection.java:53)
        at com.tcs.smb.crosstalk.server.EventQueue.sailfinMQconnection.doconnetion(sailfinMQconnection.java:64)
        at com.tcs.smb.crosstalk.server.EventQueue.MessageQueueManager.SendMessage(MessageQueueManager.java:59)
        at com.tcs.smb.crosstalk.server.EventQueue.MessageQueueLayer.SendToQueue(MessageQueueLayer.java:46)
        at com.tcs.smb.crosstalk.server.ChatServiceImpl.propagateEvent(ChatServiceImpl.java:446)
        at com.tcs.smb.crosstalk.server.ChatServiceImpl.access$1(ChatServiceImpl.java:425)
        at com.tcs.smb.crosstalk.server.ChatServiceImpl$ChatEventHandler.visit(ChatServiceImpl.java:49)
        at com.tcs.smb.crosstalk.client.NewMessageEvent.accept(NewMessageEvent.java:43)
        at com.tcs.smb.crosstalk.server.ChatServiceImpl.processClientEvents(ChatServiceImpl.java:413)
        at com.tcs.smb.crosstalk.server.ChatServiceImpl.exchangeEvents(ChatServiceImpl.java:253)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


please suggest.
Thanks
-Aniruddha
[Message sent by forum member 'aparadker' (aparadker)]

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