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 » Oracle connectivity

Post new topic  Reply to topic
 Oracle connectivity « View previous topic :: View next topic » 
Author Message
mq_abcd
PostPosted: Tue Jan 04, 2005 11:55 am    Post subject: Oracle connectivity Reply with quote

Acolyte

Joined: 13 Jun 2004
Posts: 69

hi guys,

I am using WBIMB5.0 CSD03
and oracle 9.2 for the database on solaris m/c.

my .odbc.ini file is
[ODBC Data Sources]
ORACLEDB=DataDirect 410 Oracle 8 Driver

[ORACLEDB]
Driver=/opt/wmqi/merant/lib/UKor818.so
WorkArounds=536870912
WorkArounds2=2
Description=Oracle9
ServerName=DETSORCL
EnableDescribeParam=1
OptimizePrepare=1

[ODBC]
Trace=0
TraceFile=/var/wmqi/odbc/odbctrace.out
TraceDll=/opt/wmqi/merant/lib/odbctrac.so
InstallDir=/opt/wmqi/merant

I am able to connect to the database using the userid and passwd using sqlplus but when use mqsicreatebroker it is unable to connect to the database.

The error is:
BIP2321E: Database error: ODBC return code '-1'.

Please suggest me where i am wrong.

thanks
Back to top
View user's profile Send private message
kingsley
PostPosted: Tue Jan 04, 2005 1:03 pm    Post subject: Reply with quote

Disciple

Joined: 30 Sep 2001
Posts: 175
Location: Hursley

1. The .odbc.ini must have file permissions of mqm:mqbrkrs
2. LD_LIBRARY_PATH (Set this parameter to the path of .odbc.ini

Set the above

I hope it should solve the problem.
Back to top
View user's profile Send private message Visit poster's website
tillywern
PostPosted: Tue Jan 04, 2005 1:03 pm    Post subject: Setting database access in WBIMB 5 Reply with quote

Centurion

Joined: 28 Jan 2003
Posts: 109
Location: Colorado

In version 5 there is a command line utility that is run to set the user name password to be used for each stanza in your odbc.ini..

Check into the 'mqsisetdbparms' command and see if that does the trick. I think it is like

mqsisetdbparms stanza_name db_user_name db_user_passwd
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
chenulu
PostPosted: Tue Jan 04, 2005 6:28 pm    Post subject: Reply with quote

Voyager

Joined: 27 Mar 2002
Posts: 87
Location: Research Triangle Park, NC

Hi,

Please post the detailed error message from the syslog. Also, make sure that you have run mqsisetupdatabase command.

-- Chenulu
Back to top
View user's profile Send private message Send e-mail
mq_abcd
PostPosted: Wed Jan 05, 2005 6:18 am    Post subject: Reply with quote

Acolyte

Joined: 13 Jun 2004
Posts: 69

Thanks guys

its working, after i craeted the user on the database(using sql).
i thought it is fine if we have the unix userid in the dba group.

but now i'm trying to use the broker on differnt m/c(whihc has oracle client installed) to access this database. I'm unable toconnect to the database even using sqlplus. the listener is running on theOracle server.
Back to top
View user's profile Send private message
kirani
PostPosted: Wed Jan 05, 2005 4:38 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

If there are issues with connecting to the DB using sqlplus then ask your DBA for help.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Oracle connectivity
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.