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 » Database input node Failure terminal issue

Post new topic  Reply to topic
 Database input node Failure terminal issue « View previous topic :: View next topic » 
Author Message
venkat_chekka
PostPosted: Mon Jul 28, 2014 11:42 am    Post subject: Database input node Failure terminal issue Reply with quote

Apprentice

Joined: 14 Apr 2006
Posts: 37

Hi,
I am seeing weird behavior in Database input node. See below details.

Requirement:

1) Using Database input node to get the record if any new event arrives in database table.
2) Should send response message for any database connectivity/failure issues when database is not available after retry few times based on retry mechanism property in database input node.

Message Broker Version and tool kit version: 8.0.0.2

Current settings at database input node: Currently I am not setting any retry mechanism at Database input node level and using default retry property which is 'Failure'. I should get failure through Database input node failure terminal if database is not available.

Issue: I stopped database to make it fail at database input node. But I am not getting any failure at Database input node failure terminal.

Not getting any failure when I use below either RESIGNAL statement OR default database procedure HandleDatabaseError.

Could someone let me know why is it is not working as expected?

ESQL Code:

With RESIGNAL
RESIGNAL; /* pass the error back to the node */

/* To choose to handle Database errors yourself, delete the RESIGNAL statement above
* and uncomment the following procedure call */
--CALL HandleDatabaseError('ReadEvents');

With Database handler error:

--RESIGNAL; /* pass the error back to the node */

/* To choose to handle Database errors yourself, delete the RESIGNAL statement above
* and uncomment the following procedure call */
CALL HandleDatabaseError('ReadEvents');
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jul 28, 2014 11:46 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The DatabaseInput node doesn't work this way.

If you want to react to ODBC connection failures, you need to monitor the system log.

Or, you know, the database itself.
Back to top
View user's profile Send private message
venkat_chekka
PostPosted: Mon Jul 28, 2014 11:58 am    Post subject: Reply with quote

Apprentice

Joined: 14 Apr 2006
Posts: 37

We are getting failure through database input node failure terminal in Production when database is restarting on weekly maintenance.

I am trying to reproduce same error in development environment but I am not getting any failure through failure terminal. It is behaving different way in both environments. It’s weird.

Is there any way to get failure through failure terminal when database is not available?

Requirement:

Our database will be up in less than 5 minutes when it is restarting in weekly maintenance.

If I got failure through failure terminal then I can use Retry mechanism property and use Retry interval more than 5 minutes in Database input node level to avoid these kind of issues.
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 » WebSphere Message Broker (ACE) Support » Database input node Failure terminal issue
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.