Skip to main content

Unable to perform remote lookup of JMS ConnectionFactory

No replies
cmathrusse
Offline
Joined: 2008-04-15
Points: 0

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?

Stack trace:

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