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 IBM MQ Support » listeners to queues - exceptions...

Post new topic  Reply to topic
 listeners to queues - exceptions... « View previous topic :: View next topic » 
Author Message
krisrock
PostPosted: Wed Feb 27, 2008 1:47 pm    Post subject: listeners to queues - exceptions... Reply with quote

Acolyte

Joined: 11 Sep 2007
Posts: 65

We have a setup in which there is an application server, connecting to the queue manager.

We are working on handling the failover for queue manager.
We have the appserver running and queue manager is restarted.
The appserver loses connection to queue manager.
We test this by trying to put a message to the queue manager.
We will be getting an exception.

My doubt is when we restart the appserver , appserver brings all listeners up for the queues on queue manager.
When the queue manager goes down, the listeners will be at stale state. Will the listener be constantly looking on to the queues?
Will it throw any exception or some kind of an alert so that we can capture it in the code?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Feb 27, 2008 3:45 pm    Post subject: Reply with quote

Grand High Poobah

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

Make sure you use fail if quiesce in all your qcf/tcf setup and try it out.

Let us know what happens...
Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
krisrock
PostPosted: Thu Feb 28, 2008 7:29 am    Post subject: Reply with quote

Acolyte

Joined: 11 Sep 2007
Posts: 65

I dont get u...can give me more explanation
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Feb 28, 2008 7:34 am    Post subject: Reply with quote

Grand High Poobah

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

krisrock wrote:
I dont get u...can give me more explanation


If the listening application is coded to use WMQ with fail on quiescing set, then the act of bringing down the queue manager will throw a neat, easily caught exception.

Check out the APG/APR for details.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 28, 2008 3:15 pm    Post subject: Reply with quote

Grand High Poobah

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

krisrock wrote:
I dont get u...can give me more explanation

Read the JMS Topologies red book
Read the Using Java manual
Read the manual of your Application server about JNDI setup
Read the Using Java manual for JMSAdmin if your App server is not WebSphere Application Server

Enjoy
_________________
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 » General IBM MQ Support » listeners to queues - exceptions...
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.