Questions tagged [xa]

XA allows to execute global transactions that access more than one resource. XA uses a two-phase commit protocol to ensure that all resources either commit or rollback.

XA (eXtended Architecture) allows to execute global transactions that access more than one resource.

The goal of XA is to allow multiple resources to be accessed within the same transaction, thereby preserving the ACID properties across applications. XA uses a two-phase commit protocol to ensure that all resources either commit or rollback.

327 questions
0
votes
1 answer

Migrate old JDBC program to use XA

What would I need to do if I want to migrate a program that is using old JDBC interfaces to support XA? I mean detail steps I need to do in the code. The program is running on a single DB but the new features require to introduce a new schema and…
hzywind
  • 51
  • 6
0
votes
2 answers

Distributed transaction between client -> server -> client

For a new project i'm searching for technologies that will make my life a bit easier. My new project is basically 2 clients and a server: client1 sends a message1 to server, server sends message1 to client2, client2 does something with…
T. Akhayo
  • 411
  • 6
  • 13
0
votes
2 answers

Deadlock in a Spring+Hibernate+DB2+JTA+XA application

Exception from application log: 12:04:18,503 INFO ExceptionResolver:30 - [ org.springframework.dao.DeadlockLoserDataAccessException ] Hibernate flushing: could not update: [sero.chase.integration.Beans.Bean#1000]; SQL [update SCHM.v***240u_bean…
SerotoninChase
  • 424
  • 11
  • 28
0
votes
1 answer

Client ack with MDB

As far as I know there is only AUTO_ACKNOWLEDGE and DUPS_OK_ACKNOWLEDGE possible with MDB. I would like to have something like CLIENT_ACKNOWLEDGE to avoid XA transactions. Basically what I want: get a message --> start local transaction --> perform…
androdevo
  • 752
  • 1
  • 8
  • 17
0
votes
1 answer

PostgreSQL. Slow Prepare Transaction and Commit Prepared

I've just encountered a strange problem. I've made a report in pgfourine, and found out that my XA transactions started to work really slow. Prepare transaction and commit prepared combined took 12.55s out of 13.2s. But why? ##### Overall…
Andrey Frolov
  • 1,534
  • 10
  • 19
0
votes
1 answer

Spring + JPA/Hibernate + ActiveMQ with XA/JTA in un-managed container. Not seeing errors, but not seeing data being committed to database

I'm in the process of adding JMS capabilities (via ActiveMQ) to an existing Spring/Hibernate web application. Consequently, I'm wanting to add XA/JTA capabilities to this app such that I can manage transactions (with Spring) which span both the data…
acscheiner
  • 21
  • 6
0
votes
2 answers

JBoss application cannot make XA connection to Oracle 11g

I've been working on several JBoss applications where I have everything running on my laptop (Windows XP) including an Oracle database (11g Enterprise Edition). Everything works fine on the laptop. Now I'm setting up a new, faster machine (running…
Dr. Mike Hopper
  • 802
  • 1
  • 8
  • 19
0
votes
1 answer

Can't redeploy application - XAResource.start

I'm experiencing an strange problem that is slowing the development of my application. Every time I try redeploy the web application on glassfish 3.1.1 I receive these…
brevleq
  • 2,081
  • 10
  • 53
  • 97
-1
votes
1 answer

run Yii Interactive Tool with xampp on windows

I want to config yii on windows, but i can not run Yii Interactive Tool. all documents i read is for Linux that have below syntax: %YiiRoot/framework/yiic shell but i am using xampp on windows, how can i do this?
-1
votes
1 answer

How to set up DB2 10.5 programming environment for XA transaction manager?

I want to use DB2 10.5 on Linux for XA transactions. Does DB2 include a XA transaction manager? How can I setup my C application for a XA transaction environment?
thibaultG
  • 13
  • 2
-2
votes
1 answer

does jdbcConnection have ExceptionListener support, similar to jmsConnection?

We use XA/distributed transaction, and I'm trying to notify/update global transaction status, should a participating xaResource-branch throw an exception. A good example can be found in JMS Connection#setExceptionListener(), (ref.link), which…
fall14123
  • 61
  • 1
  • 8
-3
votes
1 answer

why XA transaction for distributed transaction

Many DBMS use a special 2PC protocol called "XA" for distributed transaction. Why would someone use XA? To me, XA cannot guarantee any thing in case of failure: In XA, the Transaction Manager (TM) will tell all the DBMS to prepare in the first…
walkerlala
  • 1,599
  • 1
  • 19
  • 32
1 2 3
21
22