|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
process disconnects from queue - Windows MQ 6 |
« View previous topic :: View next topic » |
Author |
Message
|
rajana |
Posted: Fri Mar 19, 2010 12:34 pm Post subject: process disconnects from queue - Windows MQ 6 |
|
|
Newbie
Joined: 24 Aug 2009 Posts: 3
|
Hi,
I have 2 queue managers on Windows MQ 6 - a Development qmgr and a QA qmgr. I setup a Java app to go to both and listen on a couple of queues. The listener queue is 1414 for both. When I start up the app I can see "open output count" in MQ explorer go to 1 so I know the listener is there. I see this in both DEV qmgr and QA qmgr. After 10-11 minutes the "open output count" in QA qmgr goes back to 0 and DEV stays at 1. In fact DEV stayed at 1 overnight. When the "open output count" goes to 0 the app fails in attempt to put messages on the queue. I cannot find any difference in MQ configuration between DEV and QA.
Any help to identify the issue appreciated.
Thanks,
rajana |
|
Back to top |
|
 |
Vitor |
Posted: Fri Mar 19, 2010 1:52 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Moved to more relevant section _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
exerk |
Posted: Fri Mar 19, 2010 2:04 pm Post subject: Re: process disconnects from queue - Windows MQ 6 |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
rajana wrote: |
...I have 2 queue managers on Windows MQ 6 - a Development qmgr and a QA qmgr... |
On different machines, or the same machine?
rajana wrote: |
...The listener queue is 1414 for both... |
Queues do not listen, Listeners listen. Presumably your statement can be taken to mean that each queue manager is configured with a Listener on port 1414, and if the queue managers are on the same machine, one of them will have a failed Listener.
rajana wrote: |
...I cannot find any difference in MQ configuration between DEV and QA... |
If they are on different machines, check all possible environmental issues.
rajana wrote: |
...When I start up the app I can see "open output count" in MQ explorer go to 1 so I know the listener is there. I see this in both DEV qmgr and QA qmgr. After 10-11 minutes the "open output count" in QA qmgr goes back to 0 and DEV stays at 1. In fact DEV stayed at 1 overnight. When the "open output count" goes to 0 the app fails in attempt to put messages on the queue... |
This is mostly nonsensical statement. Is the application connecting directly to the queue manager (binding) or via a communications channel (SVRCONN)? An application can hold open a queue, hence your 'open for output', but not actually put any messages - look at the queue to see what has it open, i.e. does the application name match that of your application? What are the Reason Codes (MQRC) returned by your application when the PUT fails? _________________ 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 |
|
 |
rajana |
Posted: Mon Mar 22, 2010 8:55 am Post subject: |
|
|
Newbie
Joined: 24 Aug 2009 Posts: 3
|
Thanks exerk.
These are qmgrs configured on the same Windows machine. The application connects using SVRCONN channels. The queue manager log shows a connection timeout (AMQ9259) message. The application still thinks it is connected to the queue manager but the qmgr shows it has disconnected.
rajana |
|
Back to top |
|
 |
exerk |
Posted: Mon Mar 22, 2010 9:02 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
rajana wrote: |
These are qmgrs configured on the same Windows machine... |
See my previous comment regarding a failed listener...
rajana wrote: |
The application connects using SVRCONN channels. The queue manager log shows a connection timeout (AMQ9259) message. The application still thinks it is connected to the queue manager but the qmgr shows it has disconnected... |
Then you need to build reconnect logic into your application, or go V7.0 which now does it for you... _________________ 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 |
|
 |
|
|
 |
|
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
|
|
|
|