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 » Broker failing to re-connect to Oracle database

Post new topic  Reply to topic
 Broker failing to re-connect to Oracle database « View previous topic :: View next topic » 
Author Message
pcoffey
PostPosted: Thu Feb 22, 2007 2:39 am    Post subject: Broker failing to re-connect to Oracle database Reply with quote

Apprentice

Joined: 03 Feb 2006
Posts: 33

Hi all,

The following has started happening in our development and test environments in the last two weeks (with no apparent change in our configuration).

The broker, once started successfully connects to the Oracle application database. However, after a period of time, it fails to re-connect (presumably on a timed-out/stale connection handle) with the error:

'[DataDirect][ODBC Oracle driver][Oracle]ORA-12154: TNS:could not resolve the connect identifier specified '

We're a little stumped as to how to proceed here but the following questions might aid us in our investigation:

1) Does the broker use database connection pooling?
2) If so, how many connections in the pool?
3) If so, are these connections using a "keep alive"

(We are on WMB 6 on AIX)

Any help much appreciated,
Pauline
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 22, 2007 3:20 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Broker does use connection pooling.

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/topic/com.ibm.etools.mft.doc/ac00406_.htm

Non-globally coordinated databases are released after about a minute of inactivity.

You should enable ODBC tracing to get a better idea of what's going on. This will be very verbose.

Or you can look at what Oracle says on the server side.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
pcoffey
PostPosted: Thu Feb 22, 2007 6:31 am    Post subject: Reply with quote

Apprentice

Joined: 03 Feb 2006
Posts: 33

Thanks Jeff. I already tried the odbc tracing route - it shows that the call to SQLConnect is successful but a subsequent call to SQLSetConnectOption fails.

EXIT SQLConnect with return code 1 (SQL_SUCCESS_WITH_INFO)
EXIT SQLSetConnectOption with return code -1 (SQL_ERROR)

I will continue to investigate and maybe open a PMR to get some more assistance.

Thanks again for your help.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 22, 2007 6:34 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Odd.

Do you have EnableSQLDescribeParam turned on?

Did you add a new flow recently, that perhaps uses Passthru?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
pcoffey
PostPosted: Thu Feb 22, 2007 7:51 am    Post subject: Reply with quote

Apprentice

Joined: 03 Feb 2006
Posts: 33

Yes, I know... we do have EnableSQLDescribeParam turned on and we haven't added a new flow (nor do we use passthru).

I'll post the outcome once we resolve.
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 » Broker failing to re-connect to Oracle database
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.