JMS ConnectionFactory lookup failure in Sun Application Server
posted 6 years ago
I am trying to connect to a JMS application installed in Sun Application server, which is running in Windows machine.
My Client side Program is running in a linux machine and tries to connect to the Server, which is running in the Sun Application server. InintialContext object is created successfully and when the client program tries a JNDI lookup for the QueueConnectionFactory, the lookup is failing with NamingException.
The Exception message is : "javax.naming.CommunicationException: serial context communication ex [Root exception is com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to start resource adapter : MQRA-start:Error:createConnection failed:aborting]"
I have added the following jars in the classpath of my program : appserv-admin.jar, appserv-rt.jar, imqjmsra.jar, j2ee.jar, imq.jar
Did anyone faced the issue previously? If anybody has come across the same situation please help me to find out the problem.