XA Interface.

From: K Prabhakaran <prabhak_at_hotmail.com>
Date: Tue, 15 Jun 1999 14:44:59 -0700
Message-ID: <6Qz93.221$07.18154_at_typhoon-sf.snfc21.pbi.net>



Hi All,

The Oracle XA documentation says that multi threaded applications are possible. But when i tried to open a connection to the DB using XA_OPEN in thread session with the same string it is giving an error in the second thread saying "XA_ERRPROTO: DB Name not unique", however sucess in the first thread. So multi-thread means multiple connections to diff DB.

So i opened one connection in the main thread, and i did a XA_START with diff. XID in both the threads. Again here in the second thered the error is "XA_ERRPROTO: Thread already associated".

So if these are standard ones how to write a mult threaded application using XA which uses only one DB.

-prabha Received on Tue Jun 15 1999 - 23:44:59 CEST

Original text of this message