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

67 questions
6
votes
1 answer

Is it safe to set Hibernate after_transaction as a JTA connection release mode when using Bitronix Transcation Manager?

According to Hibernate docs, in a JTA environment the default connection release mode is after_statement, meaning that after each statement the hibernate logical connection is released. When the logical connection is released, the Connection close()…
Vlad Mihalcea
  • 103,297
  • 39
  • 432
  • 788
5
votes
1 answer

JTA Transactional Resource Implementation by Example

I'm trying to understand the basic principles of making a remote/networked resource compliant with JTA, and I'm thunderstruck by how little documentation/blogs/articles there are out there on the subject. Say I have written my own special type of…
IAmYourFaja
  • 50,141
  • 159
  • 435
  • 728
4
votes
1 answer

Is it possible to use bitronix PoolingDataSource without BTM?

Is it possible to use bitronix.tm.resource.jdbc.PoolingDataSource without using bitronix transaction manager and using standalone JBossTS instead? For database access I use Hibernate, with transaction demarcation done with Spring's @Transactional…
Piotr Findeisen
  • 14,631
  • 1
  • 39
  • 67
3
votes
0 answers

Unable to get a connection from pool of a PoolingDataSource

This production issue is now taking over my head. I have configured to use Bitronix as transaction manager with the jBPM5 tool. It works fine from a long time but sudden started breaking with below exception. Exception stacktrace Caused by:…
Mayank
  • 41
  • 1
  • 11
3
votes
1 answer

What is the possible reason and fix for this exception regarding bitronix configuration in MOQUI

When I start the server I get an exception like : bitronix.tm.Configuration cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!) What is the reason…
adityazoso
  • 514
  • 5
  • 15
3
votes
2 answers

How to use JPA and JTA together with a transaction manager?

I have an existing client-server project which uses plain JDBC to communicate with a single MySQL instance. Now I would like to extend it to support multiple (sharded) MySQL instances using any JPA implementation and with the help of JTA…
Joarder Kamal
  • 1,261
  • 1
  • 19
  • 28
3
votes
2 answers

What is the real delivered value of JTA?

I'm trying to wrap my head around the value underneath the Java Transactions API (JTA) and one of its implementations, Bitronix. But as I dig deeper and deeper into the documentation, I just can't help but think of the following, simple…
IAmYourFaja
  • 50,141
  • 159
  • 435
  • 728
3
votes
1 answer

bitronix- Unable to locate current JTA transaction

Hi I have a Java web application using spring and hibernate. I have a model class called Role. For all model classes there is common GenericDao.java public interface GenericDao{ public void insert(T transientInstance); public T…
Shiju K Babu
  • 6,389
  • 10
  • 49
  • 81
2
votes
1 answer

Why derby connection closed after liquibase update?

Here is the Derby EmbeddedXADataSource configuration for Spring Boot Application using Bitronix Transaction Manager package org.chorke.init.entity.config; import javax.sql.DataSource; import org.springframework.context.annotation.Bean; import…
Śhāhēēd
  • 1,614
  • 3
  • 17
  • 39
2
votes
1 answer

JTA transactions involving spring and non-spring

By using an external jta manager like atomikos or bitronix, is it possible to combine a spring transaction and a non-spring transaction? If possible, do I still need to annotate the method as transactional - what if the transactions span across…
l a s
  • 3,328
  • 10
  • 35
  • 58
2
votes
1 answer

Blocking threads with bitronix

I've an issue with one of our applications. The application is a self-writen Java application that connects through JMS to more than 50 different message queues and consumes messages from those queues. From a functional perspective the processing of…
Tianico
  • 21
  • 2
2
votes
2 answers

In moqui, configuration to use mysql and loading with seed data

In moqui, I am trying to configure to use mysql, commented out derby and uncommented mysql in defaultconf, I copied the connector to framework lib, included the dependency in framework build.gradle, on running load, I get this error -…
2
votes
1 answer

Spring DataSource configuration using JNDI

I am having trouble configuring the dataSource bean using JNDI in the Spring applicationContext.xml file. This is how my applicationContext.xml entry looks like:
deepak
  • 189
  • 3
  • 14
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
  • 108,221
  • 16
  • 168
  • 253
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
  • 108,221
  • 16
  • 168
  • 253
1
2 3 4 5