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 » BIP2322E :: Linux Oracle Connection

Post new topic  Reply to topic
 BIP2322E :: Linux Oracle Connection « View previous topic :: View next topic » 
Author Message
rbvenancio
PostPosted: Tue Sep 27, 2005 9:30 am    Post subject: BIP2322E :: Linux Oracle Connection Reply with quote

Newbie

Joined: 13 Dec 2004
Posts: 8

Hello,

My Environment:

[SERVER]
LINUX REDHAT AS 3
WBIMB 5 CSD6 - WMQ 5.3 CSD10 - DB2 8.1.2

[CONFIG MANAGER / DEVELOPMENT]
WIN 2000
WBIMB 5 CSD6 - WMQ 5.3 CSD 10 - DB2 8.1.2
MESSAGE BROKER TOOLKIT for WSADIE 5.1.1 CDS 6

My environment is set up for use DB2 as broker database and it's working fine,
but now I want to use Oracle 8.1.7 as an aplication database, using a messageflow with ESQL...

I have the following error :

Sep 27 13:18:40 tdbtst02 MQSIv500[17947]: (LINBROKER.default)[393240]BIP2321E: Database error: ODBC return code '-1'.
: LINBROKER.012a0085-0601-0000-0080-f3aca6c03900: /build/S500_P/src/DataFlowEngine/ImbOdbc.cpp: 213: ImbOdbcHandle::checkRcInner: :
Sep 27 13:18:40 tdbtst02 MQSIv500[17947]: (LINBROKER.default)[393240]BIP2322E: Database error: SQL State '08001';
Native Error Code '0'; Error Text '[DataDirect][ODBC Oracle driver]Client unable to establish connection.'. : LINBROKER.012a0085-0601-0000-0080-f3aca6c03900: /build/S500_P/src/DataFlowEngine/ImbOdbc.cpp

My .odbc.ini

BROKER=BROKER IBM DB2 ODBC Driver
TDBSBC14=TDBSBC14 AS400 IBM DB2 ODBC Driver
EP800TST=EP800TST DataDirect 5.0 Oracle

[BROKER]
Driver=/home/db2inst1/sqllib/lib/libdb2.so
Description=BROKER DB2 ODBC Database
Database=BROKER

[TDBSBC14]
Driver=/home/db2inst1/sqllib/lib/libdb2.so
Description=TDBSBC14 DB2 ODBC Database
Database=TDBSBC14

[EP800TST]
Driver=/opt/wmqi/merant/lib/UKor820.so
Description= TOYOTA ORACLE DB
EnableDescribeParam=1
OptimizePrepare=1
ServerName=EP800TST
WorkArounds=536870912
WorkArounds2=2


[ODBC]
Trace=1
TraceFile=/var/mqsi/odbc/odbctrace.out
TraceDll=/opt/mqsi/merant/lib/odbctrac.so
InstallDir=/opt/mqsi/merant
UseCursorLib=0
IANAAppCodePage=4

Have set up the symbolic link :

ln -s /opt/ora/9.2/lib/libclntsh.so.9.0 /usr/lib/libclntsh.so

.. and mqsisetdbparms

mqsisetdbparms LINBROKER -n EP800TST -u SYSADM -p SECRET

Questions :
1) For applications databases I have to run the mqsi_setupdatabase ?
2) What's the best way to debbug this situation?


Please any help will be appreciated

Thanks VNX


Last edited by rbvenancio on Tue Sep 27, 2005 2:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Sep 27, 2005 9:34 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Can you establish a connection to the Oracle database outside of Broker?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Sep 27, 2005 9:44 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

and isn't there something about setting $ORAHOME in the broker's environment? Is that done?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
JT
PostPosted: Tue Sep 27, 2005 12:22 pm    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Post the contents of tnsnames.ora
Back to top
View user's profile Send private message
rbvenancio
PostPosted: Tue Sep 27, 2005 1:11 pm    Post subject: Reply with quote

Newbie

Joined: 13 Dec 2004
Posts: 8

SOLVED ... ORACLE_SID was not properly set ... Thanks
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 » BIP2322E :: Linux Oracle Connection
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.