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
3
votes
1 answer

Spring, JPA, Hibernate, Atomikos - strange startup error

As it is stated in thread title, we are using Spring framework, JPA with hibernate provider and Atomikos as transaction provider. Mostly this set up is working, but there are strange warnings during startup of a Tomcat: WARN : atomikos - Local…
Andna
  • 6,539
  • 13
  • 71
  • 120
3
votes
1 answer

Two-phase commit (2PC) configuration with Atomikos

I am creating a sample application to test two-phase commit (2PC). I have taken the code bits used here from the Internet. I am using Spring, Hibernate and Atomikos with MySQL as the backend. I am using two databases and deliberately making the call…
shashikanthb
  • 379
  • 2
  • 9
  • 21
2
votes
1 answer

Twice dequeued JMS messages using ActiveMq and Atomikos

I use ActiveMq as JMS server and Atomikos as transaction manager. On ActiveMq Admin web-interface I see that one message was enqueued, but 2 (!) messages were dequeued. However, jms consumer process message only once, there is no duplication in…
Kipriz
  • 335
  • 1
  • 10
2
votes
3 answers

How to turn off Atomikos logging?

I am using atomikos v3.7.0 TransactionEssentials in a stand-alone java app (v1.6) running on Redhat Linux. Everything was and still is working smoothly except that all of a sudden atomikos is churning out logs to the console. I try many things, not…
arrehman
  • 1,322
  • 6
  • 31
  • 42
2
votes
1 answer

Spring IntTest is getting "Failed to grow the connection pool" from Atomikos

I have a Spring application that normally runs fine in WebLogic. I have a set of integration tests that use the Atomikos "Transaction Essentials" framework to provide the standalone transaction manager. I had this working, but I'm now seeing a new…
David M. Karr
  • 14,317
  • 20
  • 94
  • 199
2
votes
1 answer

How to make @JmsListener transactional (with Spring Boot and Atomikos)?

I have a Spring Boot application which consumes messages from queue (ActiveMQ) and writes them to the database (DB2) and I need it to be fully transactional. I got to a point where I understood that transaction manager (using…
juststeve
  • 21
  • 4
2
votes
1 answer

Atomikos AtomikosJTATransactionFactory giving ClassCastException

I was trying to implement Atomikos Transaction Manager in my code which is JPA on top of Hiberate. I'm getting this error. Any help highly appreciated.: Caused by: java.lang.ClassCastException:…
TechieDK
  • 41
  • 1
  • 6
2
votes
0 answers

Atomikos Ms sql Spring Boot TCP/IP connection failure

I am currently using Atomikos and trying to connect to Ms SQL server. I am getting the following error: 2021-09-21 13:48:21.816 INFO 25608 --- [ main] c.a.d.xa.XATransactionalResource : strideXADataSource: refreshed…
Dev
  • 31
  • 1
  • 8
2
votes
0 answers

PostgreSQL, Atomikos and PREPARE transaction

I stack with next problem: my application which consist of Tomcat 8, Java 11, Spring 5, Atomikos 5, PostgreSQL 9.3.5 throw some strange errors. In Spring Repository I have method, which run native SQL query with temp tables creating and then perform…
dimedrol90
  • 276
  • 1
  • 4
  • 12
2
votes
1 answer

ActiveMQ JMS XA Atomikos - Transaction not started error

The situation is we want to use XA transactions to coordinate activity between ActiveMQ and Hibernate (Sql Server 2008). We are using: Spring 3.0.5 Hibernate 3.6.2 ActiveMQ 5.5.0 Atomikos 3.7 We are seeing the following errors getting generated in…
user782333
  • 131
  • 2
  • 7
2
votes
1 answer

Integration of Spring 5+ Hibernate 5 + Atomikos 4 + Tomcat Unable to locate current JTA transaction

I have tried many different solutions, but getting the exception: org.hibernate.HibernateException: Unable to locate current JTA transaction at org.hibernate.context.internal.JTASessionContext.currentSession(JTASessionContext.java:75) …
Loic Kouam
  • 21
  • 3
2
votes
1 answer

spring boot distributed transaction error java.lang.ClassNotFoundException: javax.transaction.TransactionManager

I am trying to do distributed transaction but I have a lot of errors, so I have written this demo app to explain my problem my pom.xml has these dependencies :
Mohammed Nosirat
  • 324
  • 1
  • 3
  • 15
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,836
  • 10
  • 42
  • 61
2
votes
1 answer

What does "TERMINATED" state of UserTransaction mean on Atomikos logs?

I'm using Atomikos essential transactions as my TM in my J2SE application. I have the following code: if (userTransaction.getStatus()== Status.STATUS_ACTIVE){ userTransaction.commit(); } and then I see in the logs the following exception: …
Ittai
  • 5,625
  • 14
  • 60
  • 97
2
votes
1 answer

JTA, Hibernate with atomikos Multiple XA Datasources not maintaing transaction in SpringBoot

I have 2 MySQL schema and respective MysqlXADataSource configured as below - @Bean(name = "sourceDataSource") @Primary public DataSource dataSource() { MysqlXADataSource dataSource = new MysqlXADataSource(); …
Swaraj
  • 345
  • 3
  • 17