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 API Support » why sometimes MQCONNX ended with 2059

Post new topic  Reply to topic
 why sometimes MQCONNX ended with 2059 « View previous topic :: View next topic » 
Author Message
andy840920
PostPosted: Thu May 10, 2007 3:04 am    Post subject: why sometimes MQCONNX ended with 2059 Reply with quote

Apprentice

Joined: 29 Apr 2007
Posts: 44

QMgr name and Queue name all are correct. Why sometimes MQCONNX ended with 2059? my application are multi-processes concurrency.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu May 10, 2007 3:08 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Search the forum for 2059. It is one of the most common reason codes, for reasons which may have nothing to do with your code or indeed your configuration and has been the subject of much, much discussion.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
andy840920
PostPosted: Thu May 10, 2007 3:16 am    Post subject: Reply with quote

Apprentice

Joined: 29 Apr 2007
Posts: 44

Vitor wrote:
Search the forum for 2059. It is one of the most common reason codes, for reasons which may have nothing to do with your code or indeed your configuration and has been the subject of much, much discussion.
thanks..
i search 2059 but can't get the answer, i think the reason relate with my application(much concurrency process). and my queue created by "def ql(PH2WEB) maxdepth(10000) defpsist(yes) replace" script.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu May 10, 2007 3:25 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

It's not a queue error (as you will have determined from your reading) - it's a connection error at the queue manager level.

What your code could be doing is running out of connections, though I would have expected a different code for that. Be sure that your application has control over the number of concurrent connections it has open, and closes them when it's finished with them. Make sure the max connections is set high enough for normal use of your application.

Or use some kind of application server solution with connection pooling.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
andy840920
PostPosted: Thu May 10, 2007 6:48 am    Post subject: Reply with quote

Apprentice

Joined: 29 Apr 2007
Posts: 44

you said set MAXACTIVECHANNELS argument in qm.ini. but my application is not operate by channels, it's a local queue. so, set this argument yet?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu May 10, 2007 7:07 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

andy840920 wrote:
you said set MAXACTIVECHANNELS argument in qm.ini. but my application is not operate by channels, it's a local queue. so, set this argument yet?


If you're getting a 2059 & using MQCONNX, you're using a client connection, which is established over a channel. Granted if the queue is hosted by a queue manager on the same box as your application there's not much network in the channel, but it is a channel.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu May 10, 2007 1:33 pm    Post subject: Reply with quote

Guest




A quick Google search revealed this 2059 MQRC Q MGR NOT AVAILABLE how-to diagnose and resolve: http://www-1.ibm.com/support/docview.wss?uid=swg21166939
Back to top
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » why sometimes MQCONNX ended with 2059
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.