Posted: Sun Dec 27, 2009 9:31 am Post subject: Unable to connect MQ6 with Websphere Application Server6.
Newbie
Joined: 27 Dec 2009 Posts: 1
Hi All,
I am trying to connect to MQ6 from WAS6.1 on aix and i am failing. Previously i am able to connect to MQ when i added the jars in lib dir of my EAR file and now i am not able to connect after deleting them from lib dir.
1) I have checked my Websphere Variables in my console and i had a value as MQ_INSTALL_ROOT : /opt/mqm
2) I also added the jar files paths in my classpath variable in websphere console: /opt/mqm/java/lib/com.ibm.mq.jar
3) I also checked lib path in my app server and i can find the jar files here:
${WAS_INSTALL_ROOT}/lib//WMQ/java/lib
I think i have done all the things that should be done...can any one please suggest if i am missing anything to configure or shall i need to add anything else to connect MQ client successfully.
Posted: Sun Dec 27, 2009 3:02 pm Post subject: Re: Unable to connect MQ6 with Websphere Application Server6
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
sandy556 wrote:
Hi All,
I am trying to connect to MQ6 from WAS6.1 on aix and i am failing. Previously i am able to connect to MQ when i added the jars in lib dir of my EAR file and now i am not able to connect after deleting them from lib dir.
1) I have checked my Websphere Variables in my console and i had a value as MQ_INSTALL_ROOT : /opt/mqm
2) I also added the jar files paths in my classpath variable in websphere console: /opt/mqm/java/lib/com.ibm.mq.jar
Sounds a little bit strange coupled with AIX. I would have expected to find this in /usr/mqm, not /opt/mqm
Also your classpath as having added the MQ lib is too long. You should only have added the directory not the jar file... If adding to the jar file level you need to add all jars in the directory not just com.ibm.mq.jar ...
sandy556 wrote:
3) I also checked lib path in my app server and i can find the jar files here:
${WAS_INSTALL_ROOT}/lib//WMQ/java/lib
I think i have done all the things that should be done...can any one please suggest if i am missing anything to configure or shall i need to add anything else to connect MQ client successfully.
thanks in advance
Sandy
Have you checked the values of MQ_* variables (MQ_INSTALL_ROOT or whatever all those vars are called) ??
You may need to set them on the app server and to point towards the appserver path...
I would also have expected the MQ_* vars to take care of the classpath problem...as they would be referenced in the classpath _________________ MQ & Broker admin
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum