Questions tagged [bitronix]

Bitronix is a company that produces Open Source software and provides services specializing in large-scale deployment and applications integration. Known for their JTA transaction manager called Bitronix Transaction Manager they offer under General Public License.

Bitronix is a company that produces Open Source software and provides services specializing in large-scale deployment and applications integration. Known for their JTA transaction manager called Bitronix Transaction Manager they offer under General Public License.

The Bitronix Transaction Manager (BTM) is a simple but complete implementation of the JTA 1.0.1B API. Its goal is to provide a fully working XA transaction manager that provides all services required by the JTA API while trying to keep the code as simple as possible for easier understanding of the XA semantics.

Sources

Main website -> http://www.bitronix.be/

Bitronix Transaction Manager - > http://docs.codehaus.org/display/BTM/Home

69 questions
2
votes
1 answer

Hibernate - Bitronix - Spring - cannot enlist more than one non-XA resource

I have recently updated to Hibernate 4.2.8.Final and also tried 4.3.1.Final however, I have started experiencing the following exception when using a find method in a transactional context using the spring framework 3.1 . I am using the Bitronix…
aseychell
  • 1,794
  • 17
  • 35
2
votes
3 answers

How to acknowledge JMS messages with JTA on commit?

I struggeling with JTA, two-phase-commit, JMS- and JDBC-transactions. The idea is (in short) to receive a message on a queue perform some database operations acknowledge the message, when the db operations have been successful So I got the…
Andreas Dolk
  • 113,398
  • 19
  • 180
  • 268
2
votes
1 answer

Trouble using Guice Persist together with JTA / bitronix

We have an existing j2se project that already uses JPA and guice-persist. Now, because we want to add JMS functionality, there is a request for 2-phase-commit and JTA. We'll use the bitronix transaction manager because there's no container (like…
Andreas Dolk
  • 113,398
  • 19
  • 180
  • 268
1
vote
1 answer

Why isn't bitronix (BTM) binding the user transaction into JNDI?

Looks like Bitronix, as suggested elsewhere, works very well. However, I'm stumped by a problem with it. I get this exception from Hibernate, when I attempt to save the session after I call TransactionManager.begin(): 14:21:32,350 ERROR…
Chris R
  • 17,546
  • 23
  • 105
  • 172
1
vote
0 answers

Springboot service unable to recover after database failover

We have a springboot service which has the capability to recover itself after database restart. But all of a sudden we noticed "recoverer is already running, abandoning this recovery request" in the logs and healthcheck of service is failed. We had…
codeLover
  • 2,571
  • 1
  • 11
  • 27
1
vote
0 answers

How do I configure Spring Boot JTA + Bitronix?

I read many articles, but still did not understand how to make an application on Spring Boot JTA + Bitronix myself. Usually nowhere is it explained what parameters are needed for what, and many articles were generally written 10 years ago. Are there…
1
vote
1 answer

Using bitronox manager, XA not working with my custom dev-kit adapter

I developed my custom connector with dev-kit, my connector act as a source it connect to ejb and extract the data, and send to the another end point. I am using bitronix for transaction manager. I used the below code to register my ejb in the mule…
1
vote
1 answer

Spring batch Lock when Reader and Writer works with the same table

We are evaluating spring batch (version 3.0.3), and for it we have made a simple data process Our test: We have 500k rows in a table, and we want to process it updating a field as a flag of "row processed" Our job definition is like…
Kubero
  • 21
  • 1
  • 6
1
vote
0 answers

Hibernate JTA with bitronix and without JNDI

Is it possible to configure Hibernate without JNDI and not using Spring. persistence.xml requires jta-data-source property which takes JNDI of the data source.
l a s
  • 3,836
  • 10
  • 42
  • 61
1
vote
1 answer

Bitronix transaction appears to be committing prematurely

We have a spring-batch process that uses the bitronix transaction manager. On the first pass of a particular step, we see the expected commit behavior - data is only committed to the target database when the transaction boundary is reached. However,…
pojo-guy
  • 966
  • 1
  • 12
  • 39
1
vote
1 answer

Hazelcast XATransaction with Bitronix Transaction Manager

I'm making some tests with Hazelcast XA Transactions and I'm having trouble when using Bitronix as the Transaction Manager. I have followed Hazelcast official documentation: http://docs.hazelcast.org/docs/3.5/manual/html/xatransactions.html Libs…
DavoCoder
  • 862
  • 6
  • 17
1
vote
1 answer

How to set up Spring Boot + Bitronix + non-XA Datasource + XA JMS Connection

I'm trying to set-up Bitronix in Spring Boot to use last resource gambit with non-XA datasource. Of course by default (autoconfiguration) data source does not participate in XA transaction. It seems that…
Piotr Gwiazda
  • 12,080
  • 13
  • 60
  • 91
1
vote
1 answer

Bitronix: IllegalArgumentException: resource with uniqueName 'JPA-DSA' has already been registered

I have an application which uses 2 databases which will be used in Tomcat 8. As Tomcat doesn't have JTA/XA feature so I am trying to add it using Bitronix. But I am getting error when context gets loaded that datasource has already been registered.…
Surya
  • 350
  • 2
  • 11
1
vote
1 answer

Creating bitronix transaction manager in spring-boot

I am trying to create the spring-boot transaction manager bean as follows: @Bean(destroyMethod="shutdown") public static TransactionManager bitronixTransactionManager() { return TransactionManagerServices.getTransactionManager(); } However I am…
mangusbrother
  • 3,988
  • 11
  • 51
  • 103
1
vote
1 answer

Data error(cyclic redundancy check) while logging transaction status using bitronix transaction manager

Below exception occurred. Any possible explanations. My notion is may be problem with filesystem!? Caused by: bitronix.tm.internal.BitronixSystemException: error logging status at…
cyrilantony
  • 274
  • 3
  • 14