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 » WebSphere Message Broker (ACE) Support » handling retry in mapping node(DB select) when DB down?

Post new topic  Reply to topic
 handling retry in mapping node(DB select) when DB down? « View previous topic :: View next topic » 
Author Message
angka
PostPosted: Mon Dec 14, 2009 1:47 am    Post subject: handling retry in mapping node(DB select) when DB down? Reply with quote

Chevalier

Joined: 20 Sep 2005
Posts: 406

Hi,

My DB server resides on different server from MB server and if there is intermitten nw issue, how should I retry the mapping node with DB select?

I want to keep retrying until DB is up because without DB up, the flow will not complete.

Thanks
Back to top
View user's profile Send private message
sirsi
PostPosted: Mon Dec 14, 2009 1:57 am    Post subject: Reply with quote

Disciple

Joined: 11 Mar 2005
Posts: 177

one way to implement is:-

first note down db error codes which occur due to non-availability of the database.

in the error handler, when an db error occurs, lookup for the above error codes and send the input message to reprocessing queue... after sometime try to process these message again...(may be a java program to move messages from reprocessing queue to input queue of the flow)...
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Dec 14, 2009 2:29 am    Post subject: Re: handling retry in mapping node(DB select) when DB down? Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

angka wrote:
Hi,

My DB server resides on different server from MB server and if there is intermitten nw issue, how should I retry the mapping node with DB select?


This is an architectural and/or configuration issue in your organisation. FIX THIS PROBLEM FIRST.

The number of possible errors you can get back as a resuilt of network glitches are huge and it is almost impossible to code for them all let alone test the operation of your code when handling each & everyone of them.

I had this problem at one customer. In the end, they put in another LAN just to make sure their production databases were always available for the users like Broker. Directly connected clients used the old lan. Overall, the reliability was vastly increased and the business was happy.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
angka
PostPosted: Mon Dec 14, 2009 4:11 am    Post subject: Reply with quote

Chevalier

Joined: 20 Sep 2005
Posts: 406

Hi

both e servers reside on e same lan. it could be the any error. i just name one of them. basically i just need to re try mapping if there is DB error.
Back to top
View user's profile Send private message
fschofer
PostPosted: Mon Dec 14, 2009 4:56 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,

in the Bullet Proofing Message Flows redpaper below you will find several examples how you can react to error situation in your message flows.
http://www.redbooks.ibm.com/redpapers/pdfs/redp4043.pdf

There are also some samples regarding database problems which may match your requirements or at least give you some hints.

Greetings
Frank
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 » WebSphere Message Broker (ACE) Support » handling retry in mapping node(DB select) when DB down?
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.