Author |
Message
|
MQGuy2000 |
Posted: Sat Oct 01, 2005 2:55 pm Post subject: Error Creating Broker |
|
|
Centurion
Joined: 20 Jul 2003 Posts: 131
|
Friends
I am trying to create broker on Solaris environment and I get the following message.
---------------------------------------------------------------------------
The message broker encountered an error whilst executing a database operation. The ODBC return code was '-1'. See the following messages for information obtained from the database pertaining to this error.
Use the following messages to determine the cause of the error. This is likely to be such things as incorrect datasource or table names. Then correct either the database or message broker configuration.
BIP2322E: Database error: SQL State 'IM003'; Native Error Code '80'; Error Text 'Specified driver could not be loaded'.
The error has the following diagnostic information: SQL State 'I M003' SQL Native Error Code '80' SQL Error Text 'Specified driver could not be loaded'
This message may be accompanied by other messages describing the effect on the message broker itself. Use the reason identified in this message with the accompanying messages to determine the cause of the error.
BIP8040E: Unable to connect to the database.
The database cannot be accessed with the userid and password that were specified when the broker was created.
Check that the database is running, that an ODBC connection has been created and that the userid and password pair specified for ODBC connect on the mqsicreate command are capable of being used to connect to the database using an ODBC connection. Also ensure that the database has a adequate number of database connectio ns available for use.
------------------------------------------------------------------------------
The contents of /var/wmqi/odbc/.odbc.ini
[ORACLEDB]
#######Driver=/opt/wmqi/merant/lib/UKor816.so
Driver=/u01/app/oracle/lib/libwtc9.so
WorkArounds=536870912
WorkArounds2=2
Description=Oracle8
ServerName=PWS2
EnableDescribeParam=1
OptimizePrepare=1
-----------------------------------------------------
Is the driver found in /orahome/lib32?????
I am not sure if /u01/app/oracle/lib/libwtc9.so is the correct file for driver. Please tell me what is the correct ".so" file (which I can use in the .odbc.ini
Any help is greatly appreciated.
regards
|
|
Back to top |
|
 |
MQGuy2000 |
Posted: Sat Oct 01, 2005 3:03 pm Post subject: |
|
|
Centurion
Joined: 20 Jul 2003 Posts: 131
|
The Oracle client version is 9.2.0.1.0.
Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Oct 01, 2005 3:28 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
wbibrk |
Posted: Sat Oct 01, 2005 5:50 pm Post subject: |
|
|
Apprentice
Joined: 09 Jul 2005 Posts: 46
|
What Version of WBI-MB/WMQI and CSD level are you using? Depending on that the Merant Driver you use needs to be configured in the .odbc.ini. Change it to UKor818.so if you are on WBI-MB v5.0 or WMQI CSD5 (if I am not mistaken... check the readme file for more details) or later. |
|
Back to top |
|
 |
JT |
Posted: Sun Oct 02, 2005 9:04 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
As noted in the post above, your .odbc.ini entry should be:
Quote: |
[ODBC Data Sources]
ORACLEDB=DataDirect 410 Oracle 8 Driver
[ORACLEDB]
Driver=/opt/wmqi/merant/lib/UKor818.so
WorkArounds=536870912
WorkArounds2=2
Description=Oracle8
ServerName=PWS2
EnableDescribeParam=1
OptimizePrepare=1 |
|
|
Back to top |
|
 |
MQGuy2000 |
Posted: Tue Oct 04, 2005 3:51 pm Post subject: |
|
|
Centurion
Joined: 20 Jul 2003 Posts: 131
|
Thanks all for your help. And Sorry about the late feedback. It worked. It was issue with Oracle_HOME.
jefflowrey and Others. Thanks
regards |
|
Back to top |
|
 |
|