ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Unable to connect MQ6 with Websphere Application Server6.

Post new topic  Reply to topic
 Unable to connect MQ6 with Websphere Application Server6. « View previous topic :: View next topic » 
Author Message
sandy556
PostPosted: Sun Dec 27, 2009 9:31 am    Post subject: Unable to connect MQ6 with Websphere Application Server6. Reply with quote

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.


thanks in advance
Sandy
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Dec 27, 2009 3:02 pm    Post subject: Re: Unable to connect MQ6 with Websphere Application Server6 Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Unable to connect MQ6 with Websphere Application Server6.
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.