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 » General Discussion » IBM MQ 6.0 - MQQueueManager client timeout

Post new topic  Reply to topic
 IBM MQ 6.0 - MQQueueManager client timeout « View previous topic :: View next topic » 
Author Message
sethuramb
PostPosted: Wed Oct 15, 2008 11:53 pm    Post subject: IBM MQ 6.0 - MQQueueManager client timeout Reply with quote

Newbie

Joined: 15 Oct 2008
Posts: 2

We are using IBM MQ Version 6.0.

We are using MQSimpleConnectionManager to connect with MQQueueManager. While we attempt to connect with QueueManager, if the MQ is down (network lan cable unplugged / network issues) or there is delay in providing the QueueManager object, the client is waiting for an infinite period and we get an error rejecting connection with 2009 and 2058

private static MQSimpleConnectionManager myConnMan=new MQSimpleConnectionManager();

MQQueueManager qMgr = null; // Queue Manager object

qMgr = new MQQueueManager("TestQueue", myConnMan);

Is there any client timeout in JAVA API available to handle this situation. Also, are there any better approach to handle this situation while we wait for MQQueeManager object to PUT the message into the queue.

Thanks!
-Sethu
Back to top
View user's profile Send private message
Gaya3
PostPosted: Thu Oct 16, 2008 2:12 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Reason Code 2058 x'80A'
MQRC_Q_MGR_NAME_ERROR

On an MQCONN or MQCONNX call, the value specified for the QMgrName parameter is not valid or not known. This reason also occurs if the parameter pointer is not valid. (It is not always possible to detect parameter pointers that are not valid; if not detected, unpredictable results occur.) This reason code can also occur if a WebSphere MQ client application attempts to connect to a queue manager within a WebSphere MQ-client queue-manager group (see the QMgrName parameter of MQCONN), and either:

* Queue-manager groups are not supported.

* There is no queue-manager group with the specified name.

Corrective action: Use an all-blank name if possible, or verify that the name used is valid.
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
sethuramb
PostPosted: Thu Oct 16, 2008 3:37 am    Post subject: Reply with quote

Newbie

Joined: 15 Oct 2008
Posts: 2

I wanted to know the MQQueueManager client timeout only from a MQ failure perspective.

Can any one help!
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 16, 2008 9:56 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Talk to the people responsible for your TCP/IP communications timeout on the box.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
tng123
PostPosted: Wed Dec 31, 2008 12:32 am    Post subject: Reply with quote

Newbie

Joined: 31 Dec 2008
Posts: 2

I am facing the same issue except in my case I am getting only 2009 exception with a delay.

Please help.

Thanks,
tng123
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Dec 31, 2008 12:51 am    Post subject: Reply with quote

Grand High Poobah

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

tng123 wrote:
I am facing the same issue


And oddly the same advice is applicable....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
tng123
PostPosted: Wed Dec 31, 2008 1:08 am    Post subject: Reply with quote

Newbie

Joined: 31 Dec 2008
Posts: 2

Thanks Vitor for your quick reply.


Want to let you know we also got some occurrences of 2059 error but those times we received the exception without any delay.

Any idea how to see/set TCP/IP communications timeout?
Do you think changing TCP/IP communications timeout will help to get the exception without delay?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Dec 31, 2008 1:20 am    Post subject: Reply with quote

Grand High Poobah

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

tng123 wrote:
Want to let you know we also got some occurrences of 2059 error but those times we received the exception without any delay.
.

Thank you. I feel better for knowing that.

tng123 wrote:
Any idea how to see/set TCP/IP communications timeout?


And again...

fjb_saper wrote:
Talk to the people responsible for your TCP/IP communications timeout on the box.


tng123 wrote:
Do you think changing TCP/IP communications timeout will help to get the exception without delay?


Perhaps, but a 2059 results from a pure comms failure. A 2009 may occur when the queue manager decides to hang up. There may be software delays here.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » IBM MQ 6.0 - MQQueueManager client timeout
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.