|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
A second pair of eyes. |
« View previous topic :: View next topic » |
Author |
Message
|
tillywern |
Posted: Fri Oct 06, 2006 1:06 pm Post subject: A second pair of eyes. |
|
|
 Centurion
Joined: 28 Jan 2003 Posts: 109 Location: Colorado
|
I am configuring a broker on Linux with ORACLE as a DB. I am running Broker 6.0.0.2 on RHEL4AS SP2. MQ is 6 as well. Can someone verify I havn't missed something?
I am getting the following output...
[wmqi@as0001 ~]$ mqsicreatebroker LABA1DBK1 -i wmqi -a password -q LABA1DBK1 -n BKTESTA -u wmqib -p password
AMQ8110: WebSphere MQ queue manager already exists.
WebSphere MQ queue manager running.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
BIP2321E: Database error: ODBC return code '-1'.
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 '0'; Error Text ''[DataDirect][ODBC lib] Specified driver could not be loaded''.
The error has the following diagnostic information: SQL State ''IM003'' SQL Native Error Code '0' SQL Error Text ''[DataDirect][ODBC lib] 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 connections available for use.
Here is my $ODBCINI paragraph for the database:
[BKTESTA]
Driver=/opt/IBM/mqsi/6.0/merant/lib/UKor820.so
Description=DataDirect 5.0 Oracle
EnableDescribeParam=1
OptimizePrepare=1
ServerName=OTRBK1
WorkArounds=536870912
ProcedureRetResults=1
Here is the entry in tnsnames.ora for OTRBK1
OTRBK1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora0001.company.com)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = OTRBK1.company.com)
Note that I can hit the database with the username and password in sqlplus...
[wmqi@as0001 ~]$ sqlplus wmqib/password@OTRBK1
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Sep 14 22:38:35 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL>
Here is a copy of my env...
[wmqi@as0001 ~]$ env |sort
_=/bin/env
CLASSPATH=/opt/ibm/mqsi/6.0/classes/derby.jar:/opt/ibm/mqsi/6.0/classes/ConfigManagerProxy.jar:/opt/ibm/mqsi/6.0/classes/configutil.jar:/opt/mqm/java/lib/com.ibm.mq.jar:/opt/mqm/java/lib/connector.jar:/opt/ibm/mqsi/6.0/messages:
DISTHUB_PATH=/opt/ibm/mqsi/6.0
G_BROKEN_FILENAMES=1
HISTSIZE=1000
HOME=/home/wmqi
HOSTNAME=as0001
IBM_JVM_SR_SIGNUM=64
INPUTRC=/etc/inputrc
JITC_COMPILEOPT=SKIP{java/util/Hashtable}{rehash}
KDEDIR=/usr
LANG=en_US.UTF-8
LD_LIBRARY_PATH=/opt/mqm/java/lib:/opt/ibm/mqsi/6.0/lib:/opt/ibm/mqsi/6.0/bin:/opt/ibm/mqsi/6.0/merant/lib:/opt/ibm/mqsi/6.0/jre/bin/classic:/opt/ibm/mqsi/6.0/jre/bin:/opt/ibm/mqsi/6.0/xml4c/lib:
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=wmqi
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/wmqi
MQSI_CATALINA_HOME=/opt/ibm/mqsi/6.0/catalina
MQSI_DEVELOPMENT=/var/mqsi/registry
MQSI_EXMLTCONFIGPATH=/opt/ibm/mqsi/6.0/exmltConfig
MQSI_FAD=3
MQSI_FILEPATH=/opt/ibm/mqsi/6.0
MQSI_JARPATH=/opt/ibm/mqsi/6.0/classes:/opt/ibm/mqsi/6.0/messages
MQSI_LILPATH=/opt/ibm/mqsi/6.0/lil:/opt/ibm/mqsi/6.0/jplugin
MQSI_REGISTRY=/var/mqsi
MQSI_VERSION=6.0.0.2
MQSI_VERSION_F=2
MQSI_VERSION_M=0
MQSI_VERSION_R=0
MQSI_VERSION_V=6
MQSI_WORKPATH=/var/mqsi
NLSPATH=/opt/ibm/mqsi/6.0/messages/%L/%N:/opt/ibm/mqsi/6.0/messages/En_US/%N:
ODBCINI=/var/mqsi/odbc/.odbc.ini
ORACLE_BASE=/opt/app/oracle
ORACLE_HOME=/opt/app/oracle/product/10.2.0
PATH=/opt/ibm/mqsi/6.0/bin:/opt/ibm/mqsi/6.0/jre/bin:/opt/app/oracle/product/10.2.0/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/wmqi/bin
PWD=/home/wmqi
SHELL=/bin/bash
SHLVL=1
SSH_TTY=/dev/pts/1
TERM=xterm
USER=wmqi |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Oct 06, 2006 2:12 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
JT |
Posted: Sun Oct 08, 2006 6:21 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Setting your environment to access databases
Quote: |
If you are using a 64-bit Oracle instance, ensure that you add $ORACLE_HOME/lib32 to the start of the library search path environment variable. If you are using 64-bit execution groups, ensure that you set the environment variable MQSI_LIBPATH64 to include the regular 64-bit database libraries.
|
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|