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 » ESQL database disconnect problem

Post new topic  Reply to topic
 ESQL database disconnect problem « View previous topic :: View next topic » 
Author Message
skydoor
PostPosted: Wed Jan 23, 2008 11:37 pm    Post subject: ESQL database disconnect problem Reply with quote

Apprentice

Joined: 24 Jul 2007
Posts: 43
Location: Cape Town

I have the following flow: mqinput->computenode. I receive messages and I update an oracle db with the data via stored procedures called in the esql.

Everything works well until the oracle dba decides to reboot the oracle db server.

At this point my messages starts building up in the delivery queue. I have not found errors that could point me in a direction.

My theory is that the flow loses the connection to the db (obviously) but still keeps the old connection pointer. I have had a look for an explicit disconnect, reconnect or timeout property or command but I can not find any in the documentation (which does not mean it is not there, I might be looking in the wrong places).

Is there a explicit disconnect/reconnect/timeout that I am missing somewhere or must I follow another procedure?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jan 25, 2008 1:23 pm    Post subject: Reply with quote

Grand High Poobah

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

DB's are meant for high availability.
This means you may have to restart the flow if there was an interruption in connectivity...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Fri Jan 25, 2008 1:59 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What version of Broker, please.

The behavior and tolerance of a message flow for a dropped connection are very very different in for example 2.1 than in 6.1.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
skydoor
PostPosted: Sun Jan 27, 2008 10:57 pm    Post subject: Reply with quote

Apprentice

Joined: 24 Jul 2007
Posts: 43
Location: Cape Town

fjb_saper:
Quote:
DB's are meant for high availability

I don't quite understand what you mean with regards to this problem... could you elaborate?

jefflowrey:
Versions below. I am assuming from your comment that there are procedures/methods to deal with this kind of scenario?

Thanks

C:\IBM\MQSI\6.0\bin>mqsiprofile

MQSI 6.0.0.1
C:\IBM\MQSI\6.0


C:\IBM\MQSI\6.0\bin>dspmqver
Name: WebSphere MQ
Version: 6.0.2.1
CMVC level: p600-201-070323
BuildType: IKAP - (Production)
_________________
The answer to the question is 42
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jan 28, 2008 7:31 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You should probably upgrade to at least MB 6.0.0.3... if not latest MB FP.

There are some fixes in this area in the later FPs.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
skydoor
PostPosted: Mon Jan 28, 2008 7:41 am    Post subject: Reply with quote

Apprentice

Joined: 24 Jul 2007
Posts: 43
Location: Cape Town

jefflowrey:
Quote:
You should probably upgrade to at least MB 6.0.0.3... if not latest MB FP.


I did in my test environment to enable some needed features but I had so many problems I rolled it back and I did not want to touch it again out of fear for the beast.

Do you know of any procedures/methods I can use off the top of your head?
_________________
The answer to the question is 42
Back to top
View user's profile Send private message
VivekMeshram
PostPosted: Sat Feb 02, 2008 5:22 am    Post subject: Reply with quote

Voyager

Joined: 25 Mar 2002
Posts: 83

I have one suggestion before processing/connecting to Oracle DB, attach a subflow with compute node [Input=>ComputeNode=>Output] in the compute node, pass the Data Source name and check the connection to Database using ESQL SET Environment.temp.ConnTest[] = PASSTHRU('SELECT count(*) FROM Database. DUAL’)......

See whether this can be helpful to you…
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 » ESQL database disconnect problem
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.