Getting a warning when deployin my ear on weblogic:
<Warning> <JMSPool> <BEA-169807> <There was an error while making the initial connection to the JMS resource named XA_JMS_MANAGER from within an EJB or a servlet. The server will attempt the connection again later. The error was javax.jms.JMSException: MQJMS1068: failed to obtain XAResource>
NOTE: MQ and Weblogic reside on different servers
Websphere MQ JMS jar files are on weblogic domain classpath
On weblogic console i have configured a foreign jms server when creating jms module
In my jms module i have a foreign connection factory:
i have defined initial context factory and connection url:
.bindings file and MQ queues were already created for me
In web application, defined resource reference via web.xml and weblogic.xml
On weblogic console, diagnostics i can see the resource in the JNDI tree.
I have replicated another developers environment, so i cant see whats wrong here.
When you are integrating WL with MQ. you have to create BINDING file for MQ and WL integration.
This BINDING file contains the MQ configuration details [Queue name,hostname,port,channel name,channel type,Listen mode , etc..]
to create the .binding file you have to use the JMSAdmin command utility.
once you have created the .binding file you have to place it in the physical server and mention the <.binding> file for the Connection Factory's JNDI settings . So the MQ configurations will be loaded from the .binding file and the connection will be established.