|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQCONN() returns 2002 (MQRC_ALREADY_CONNECTED) on AIX |
« View previous topic :: View next topic » |
Author |
Message
|
guogangli |
Posted: Fri May 15, 2009 1:08 pm Post subject: MQCONN() returns 2002 (MQRC_ALREADY_CONNECTED) on AIX |
|
|
Novice
Joined: 02 Mar 2009 Posts: 15
|
Hi,
We are migrating our WMQ appls (in C++) from Solaris to AIX.
One of the WMQ server appls makes multiple MQCONN() calls to a local queue manager, with each MQCONN() call on its own thread. The appl works fine on Solaris.
When the same appl runs on AIX, the first MQCONN() call returns a 0, but the second MQCONN() call from a different thread returns 2002 (MQRC_ALREADY_CONNECTED).
dspmqver:
Name: WebSphere MQ
Version: 6.0.2.2
CMVC level: p600-202-070801
BuildType: IKAP - (Production)
Any ideas?
Thank you very much for your help.
Guogang Li
CSG Systems, Inc |
|
Back to top |
|
 |
exerk |
Posted: Sat May 16, 2009 12:46 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Please check which forum you are posting in - this looks more like a candidate for the General WebSphere MQ Support forum. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Vitor |
Posted: Sun May 17, 2009 7:47 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Moved to more relevant forum _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Sun May 17, 2009 7:55 am Post subject: Re: MQCONN() returns 2002 (MQRC_ALREADY_CONNECTED) on AIX |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
guogangli wrote: |
When the same appl runs on AIX, the first MQCONN() call returns a 0, but the second MQCONN() call from a different thread returns 2002 (MQRC_ALREADY_CONNECTED).
|
Clearly the threading model is working differently on the 2 OS. Have the apps been properly relinked for the new OS, with the right libraries and the right options
(Obvious question but I have seen it done; or not done!) _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Monk |
Posted: Mon May 18, 2009 3:30 am Post subject: |
|
|
 Master
Joined: 21 Apr 2007 Posts: 282
|
@guogangli
How did you compile you clients on aix?
did u use -lmqic or -lmqic_r
and yes like vitor mentioned , the threading models are different on solaris and aix.. _________________ Thimk |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|