Questions tagged [atomikos]

A company that offers transaction management for eXtreme Transaction Processing (XTP), Service Oriented Architecture (SOA) and open source environments

From atomikos.com:

Atomikos offers transaction management for eXtreme Transaction Processing (XTP), Service Oriented Architecture (SOA) and open source environments. Atomikos’ software safeguards critical transactions and prevents costly data loss or corruption in the event of a system failure or crash by automating the cancellation of failed business transactions.

260 questions
6
votes
3 answers

org.hibernate.HibernateException: No TransactionManagerLookup specified on hibernate upgrade

I am running spring 4.1.4, hibernate 4.3.8, atomikos 3.9.3, java 8, tomcat 8. I see the above exception in localhost.log when I start my server but I'm not sure where to configure the TransactionManagerLookup apart from where I am already…
Treasa McCabe
  • 175
  • 2
  • 11
5
votes
3 answers

Java: XA Transaction propagation within many threads

How can I use a transaction manager (such as Bitronix, JBoss TS or Atomikos) in a Java SE (not Java EE or Spring) to support the following use case: Let's assume we have the following class: public class Dao { public void updateDatabase(DB db)…
Drew
  • 1,332
  • 3
  • 15
  • 21
5
votes
0 answers

How to optimize commit in atomikos global transaction manager

We have spring-boot application with atomikos transaction manager. Problem is that commit in XA transaction takes a lot of time when I compared it with weblogic solution. This are the metrics from our application process_seconds_count…
hudi
  • 15,555
  • 47
  • 142
  • 246
5
votes
3 answers

How to build Spring Boot Atomikos test configuration?

How to create proper testing environment to be able to use database layer tests and REST endpoints tests with mocks in same application? I have a Spring Boot application with two data sources. To manage transactios Atomikos used. This config works…
P_M
  • 2,723
  • 4
  • 29
  • 62
5
votes
1 answer

Can I reuse a UserTransaction instance after commit()?

Is the reusage of the ut instance in the following code correct? UserTransaction ut = (UserTransaction)ctx.lookup("java:comp/UserTransaction"); ut.begin(); doSomeWork(); ut.commit();//Or rollback (I think it doesn't matter) ut.begin(); …
Ittai
  • 5,625
  • 14
  • 60
  • 97
5
votes
1 answer

What are the relationships between JTA provider like Atomikos and connection pool like HikariCP?

I'm reading Java Persistence with Hibernate, and I found the following text. Today, high-quality standalone JTA providers such as Bitronix (used for the example code of this book) and Atomikos are available and easy to install in any Java…
Taras Boychuk
  • 2,059
  • 13
  • 21
5
votes
3 answers

Setting JTA Properties to an Atomikos + Spring Boot Configuration

I'm trying to set an Atomikos JTA Property (e.g. com.atomikos.icatch.max_timeout) in a Spring Boot Configuration, using the following: import com.atomikos.icatch.config.UserTransactionServiceImp; import…
sarasota
  • 51
  • 1
  • 1
  • 3
5
votes
2 answers

getting javax.transaction.RollbackException: Prepare: NO vote with Atomikos JTA

I am using Hibernate and Atomikos for JTA for one of my proof of concepts. I am getting a JTA transaction unexpectedly rollback exception, maybe due to a timeout. The exception is: javax.transaction.RollbackException: Prepare: NO vote
user3926825
  • 51
  • 1
  • 3
5
votes
2 answers

Spring Unit Tests won't roll back when using Atomikos JTA Transaction Manager

We want to use the Atomikos JTA Transaction Manager. We have a unit test which we want to roll back once it completes, thereby leaving the table clean for the next run. @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations =…
Andrew Harmel-Law
  • 7,739
  • 12
  • 44
  • 55
4
votes
0 answers

camel Atomikos XA continually reconecting

I have recently moved my routes over to use XA, I am not sure if this is normal behavior or a problem but I am seeing continual reconnecting in the log and the transaction logs are growing when there is no activity as such on the jms queue. The logs…
Paul B
  • 51
  • 4
4
votes
1 answer

How to set transaction timeout on Jetty JNDI Atomikos configuration

I am in the process of converting various Spring beans to JNDI lookups. Currently I am using Jetty to test this. I have configured the UserTransaction according to the Jetty documentation and it works:
Dave
  • 21,524
  • 28
  • 141
  • 221
4
votes
1 answer

Hibernate 5 with Spring JTA

I am using: Hibernate 5.0.2 Spring 4.2 Atomikos 3.9.3 The official documentation says you only have to set the jtaTransactionManager, and everything works:
Michael Böckling
  • 7,341
  • 6
  • 55
  • 76
4
votes
0 answers

JTA-Transactions - Mismatch between Spring and Hibernate connection release?

Versions in use: Spring 4.1.6.RELEASE, Hibernate 4.3.10.Final, Atomikos 3.9.26 We are in the process of upgrading our main webapp to Hibernate 4. We mainly use HibernateTemplate and JdbcTemplate for access to multiple databases (DB2 and Oracle) with…
mheckelm
  • 41
  • 4
4
votes
2 answers

Spring/JTA/JPA DAO integration test doesn't rollback?

My DAO integration tests are failing because entities created during the tests are still in the database at the start of the next test. The exact same behavior is seen from both MySQL 5 and H2. The test classes are annotated…
Dave
  • 21,524
  • 28
  • 141
  • 221
4
votes
2 answers

Spring data - two different data sources on the same transaction causing abnormality

We are using atomikos JTA with spring and 2 different mysql datasources. We got a problem, When we use two different repositories (of 2 different datasources) on the same @Transactional method we get an error: Caused by: java.sql.SQLException:…
Urbanleg
  • 6,252
  • 16
  • 76
  • 139
1
2
3
17 18