|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
XA setup - must Oracle be local ? |
« View previous topic :: View next topic » |
Author |
Message
|
sebastia |
Posted: Sun Feb 24, 2013 1:24 am Post subject: XA setup - must Oracle be local ? |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Hi. We are configuring MQ to work with XA, under Unix and using Oracle.
First idea is to access a remote Oracle.
But I am running "make oracle" command to create "jdbcora" and get an error, and here
>>> http://www.ibm.com/developerworks/websphere/library/techarticles/0601_ritchie/0601_ritchie.html
it says "ORACLE_HOME to define where the database has been installed"
... so maybe Oracle has to be LOCAL to participate in XA ...
I am reading this "Oracle configuration" under "Transactional support" :
>>> http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=%2Fcom.ibm.mq.amqzag.doc%2Ffa13920_.htm
and it indicates to set
export ORACLE_HOME=/opt/oracle/product/8.1.6
also indicating Oracle is local ..
but ... MUST IT BE LOCAL ? or ... CAN IT BE REMOTE ?
Under "Restrictions" I find ...
The database server can reside on a different machine from the queue manager server, as long as the database client is installed on the same machine as the queue manager, and it supports this function. Consult the database product's documentation to determine whether their client software can be used for two-phase commit systems.
But, if that is the case (we can use a remote Oracle), how do we set ORACLE_HOME ???
Thanks for your comments, coleagues. Sebastian. |
|
Back to top |
|
 |
mqjeff |
Posted: Sun Feb 24, 2013 6:09 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
It means EITHER an Oracle SERVER install OR an Oracle CLIENT install. |
|
Back to top |
|
 |
sebastia |
Posted: Mon Feb 25, 2013 2:08 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Oracle is sure REMOTE
We have Oracle client installed, I would say ...
We get this error :
===
(AIXHOST):[root] /usr/mqm/java/lib64/jdbc-> make oracle
xlc -q64 -qmkshrobj -e MQStart -L/usr/mqm/lib64 -lmqmcs_r -L/lib -lclntsh -o /var/mqm/exits64/jdbcora jdbcora.o
ld: 0706-006 Cannot find or open library file: -l clntsh
===
I suspect ...
a) Oracle client is not well installed
b) cant work with remote Oracle
A related question :
the file we are missing should be named "libclntsh.so", am I right ?
Thanks. |
|
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
|
|
|
|