users@glassfish.java.net

Unable to perform remote lookup of JMS ConnectionFactory

From: <glassfish_at_javadesktop.org>
Date: Mon, 25 Aug 2008 13:42:29 PDT

I've read through the documentation and I believe I have everything correct.

I've added to my remote client's classpath the following jar files:
appserv-admin.jar
appserv-deployment-client.jar
appserv-ee.jar
appserv-ext.jar
appserv-rt.jar
appserv-ws.jar
imqjmsra.jar
javaee.jar

I've added the following JVM parameters to the script that launches the java application:
        -Dorg.omg.CORBA.ORBInitialHost=GF_SERVER_1 \
        -Dorg.omg.CORBA.ORBInitialPort=1700 \


And I have verified that the server is up and running. However, when I attempt to connect to the server I get an exception that tells me very little. I have been struggling with this for the past two days but I just can't seem to figure out what I am doing wrong from the stack trace that I am receiving.

Any suggestions?


[u]Stack trace:
[/u]
Caused by: 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:427)
        at javax.naming.InitialContext.lookup(Unknown Source)
        at com.cyclonecommerce.tradingengine.transport.jms.DefaultQueueUtil.a(DefaultQueueUtil.java:11)
        ... 9 more
Caused by: com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to look up ConnectorDescriptor from JNDI
        at com.sun.enterprise.naming.factory.AdministeredObjectFactory.getObjectInstance(AdministeredObjectFactory.java:99)
        at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:403)
        ... 11 more
[Message sent by forum member 'cmathrusse' (cmathrusse)]

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