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 » Unable to connect to Oracle 9.2.0.6 from Message Broker 6.0

Post new topic  Reply to topic
 Unable to connect to Oracle 9.2.0.6 from Message Broker 6.0 « View previous topic :: View next topic » 
Author Message
afzal
PostPosted: Tue May 08, 2007 6:26 am    Post subject: Unable to connect to Oracle 9.2.0.6 from Message Broker 6.0 Reply with quote

Newbie

Joined: 08 May 2007
Posts: 6

Hi All,

I am trying to connect to Oracle 9.2.0.6 database from Message Broker 6.0 through the Database Node and get the following error when I run the flow in the debug mode.
Under the tree - DatabaseException - Insert - Text
"[Oracle][ODBC]Optional feature not implemented"

I have already executed the command mqsisetdbparms. The ODBC driver used is "Oracle in OraHome92". I am able to test the connection from the Windows ODBC Data Source Administrator, but from the broker it is not working. The control does not even go upto the ESQL, the moment it goes to the Database Node it throws exception.

The ESQL Code is

SET EMPNO = THE(SELECT ITEM S.EMPNO FROM Database.TESTDSN as S WHERE S.EMPNO ='7369');

Please let me know if Message Broker 6.0 supports ODBC connection to Oracle 9.2.0.6, Is the driver being used correct or some other driver is available, OR should we go for the Adapter.

Thanks in advance,
Afzal
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 08, 2007 6:29 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It is the wrong Oracle ODBC driver - you need to use the one that comes with broker. This is labelled as "Merant" or "Data Direct".

You also need, in that driver, to check "EnableDescribeSQLParams".
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
afzal
PostPosted: Tue May 08, 2007 7:04 am    Post subject: Reply with quote

Newbie

Joined: 08 May 2007
Posts: 6

Thanks for the information, But I do get the userid and password error, whereelse can I set it apart from mqsisetdbparms.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 08, 2007 8:01 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

...

Once you use the right driver, then mqsisetdbparms should work.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
afzal
PostPosted: Tue May 08, 2007 8:13 pm    Post subject: Reply with quote

Newbie

Joined: 08 May 2007
Posts: 6

Thank you very much, it works fine now. I just restarted the system and it started working fine now. I am using the driver "MQSeries DataDirect Technologies 5.0 32-BIT Oracle".

Thanks
Back to top
View user's profile Send private message
afzal
PostPosted: Tue May 08, 2007 9:41 pm    Post subject: Reply with quote

Newbie

Joined: 08 May 2007
Posts: 6

Hi All,

It works fine from the system where Message Broker Ver 6.0 and Oracle Server 9.2.0.6 is installed. I am able to query as well as insert records into the Oracle Table.

But when I deploy the Message Flow into another Message Broker system, from where I am connecting to the Oracle Server 9.2.0.6 using the Oracle Client 9.2.0.6, only query statement works and it fails when I try to insert the record and gives the following error.

DatabaseException->Insert->Text=[Microsoft][ODBC Driver Manager]
Driver does not support this function.

Could someone please help me.

Thanks in advance,
Afzal
Back to top
View user's profile Send private message
Monk
PostPosted: Tue May 08, 2007 10:17 pm    Post subject: Reply with quote

Master

Joined: 21 Apr 2007
Posts: 282

What Driver are you using for the Oracle client?
_________________
Thimk
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 09, 2007 1:44 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Monk wrote:
What Driver are you using for the Oracle client?


Yes, this is the thing.

EVERY ODBC connection to Oracle that Broker will use must be using the Data Direct driver.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JohnSmith
PostPosted: Fri Apr 23, 2010 5:02 am    Post subject: Reply with quote

Voyager

Joined: 17 Mar 2010
Posts: 86

afzal wrote:

Quote:
Thank you very much, it works fine now. I just restarted the system and it started working fine now. I am using the driver "MQSeries DataDirect Technologies 5.0 32-BIT Oracle".


I am also trying to establish a connection to Oracle database located on another server, do we need to use the driver MQSeries DataDirect Technologies 5.0 32-BIT Oracle". I am quite confused regarding the driver to be used, there are 2 drivers are visible in ODBC Data Source Administrator one is Oracle in OraClient and another is MQSeries DataDirect Technologies 5.0 32-BIT Oracle". . Can I use the 1st or I need to use the latter one. I couln't find the right IBM documentation regarding this. If anyone can point me towards it then it would be very helpful.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Apr 23, 2010 7:12 pm    Post subject: Reply with quote

Grand High Poobah

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

JohnSmith wrote:

I am also trying to establish a connection to Oracle database located on another server, do we need to use the driver MQSeries DataDirect Technologies 5.0 32-BIT Oracle". I am quite confused regarding the driver to be used, there are 2 drivers are visible in ODBC Data Source Administrator one is Oracle in OraClient and another is MQSeries DataDirect Technologies 5.0 32-BIT Oracle". . Can I use the 1st or I need to use the latter one. I couln't find the right IBM documentation regarding this. If anyone can point me towards it then it would be very helpful.

If you are using the broker, the broker MUST use the MQSeries DataDirect driver or you may get unpredictable results.
_________________
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 » WebSphere Message Broker (ACE) Support » Unable to connect to Oracle 9.2.0.6 from Message Broker 6.0
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.