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

WebSphere MQ and Atomikos - Messages Lost on process termination

My app (a spring message listener) reads from a queue and writes to the database in a single transaction. I use Atomikos to provide the XA transaction behaviour. When the app is abruptly terminated with kill statements for example, I see messages…
arrehman
  • 1,322
  • 6
  • 31
  • 42
4
votes
2 answers

Does JTA work across multiple threads?

From JTA specs i understand that it works (or supports) distributed transactions only for calling thread. Does this mean that transactions cannot be spanned across multiple threads? Or it depends on implementation? Does any JTA implementation…
spark07
  • 168
  • 2
  • 10
4
votes
2 answers

Spring Data JPA fails to invoke JtaTransactionManager

I am using Spring Data JPA (SDJ) and during my integration tests, I've come across a weird situation - I've probably misconfigured something, but I fail to see what that might be. In a nutshell - it would seem that SDJ simply fails to invoke an…
quantum
  • 3,000
  • 5
  • 41
  • 56
3
votes
0 answers

Isolation within the same process with Infinispan

I'm building a application around an Infinispan cache and the Atomikos transaction manager. I found out that the transaction isolation is not working for transactions open in two different threads on the same JVM. The cache is instanciated using the…
gabuzo
  • 7,378
  • 4
  • 28
  • 36
3
votes
0 answers

Where does atomikos (JTA) keep its state?

TLDR: 1.Where does atomikos keep its trasnaction records so it can function and how is it best to "secure" them against losing/corrupting them. I use Docker/Docker-Compose and Spring Boot. 2.If the app dies unexpectdly, do all the transactions roll…
Jcov
  • 2,122
  • 2
  • 21
  • 32
3
votes
2 answers

How can I fix my Spring configuration for Atomikos JTA and Hibernate?

How can I fix my test Spring configuration for Atomikos JTA and Hibernate? Exception stack trace: 2017-02-06 16:03:22.944 [TRACE] [main] [org.hibernate.service.internal.AbstractServiceRegistryImpl:224] Initializing service…
Derek Mahar
  • 27,608
  • 43
  • 124
  • 174
3
votes
1 answer

AtomikosSQLException: Connection pool exhausted - Connection getting exhausted whenever application throws exception

In my spring mvc application, I am using Atomikos Transaction API (v3.9.3) with JPA (Hibernate as vendor). I have two entity managers connecting to two datasources. Configuration of one of the datasources is provided below. I am facing an issue that…
3
votes
1 answer

Issue with configuring Atomikos on a Spring Boot / Spring Batch application

I am trying to get Atomikos to work with my Spring Boot/Spring Batch application. Here is are the relevant portions of my code: Datasource config: @Configuration public class DatasourceConfiguration extends AbstractCloudConfig { @Bean …
3
votes
2 answers

spring-boot-starter-jta-atomikos and spring-boot-starter-batch

Is it possible to use both these starters in a single application? I want to load records from a CSV file into a database table. The Spring Batch tables are stored in a different database, so I assume I need to use JTA to handle the…
3
votes
0 answers

How to set timeout on a SQL statement with Hibernate

What I have tried... Using Criteria: criteria.setTimeout(1); => Zero effect Using HQL: return getSession().createQuery("from User").setTimeout(1).list(); => Zero effect Even tried it on transaction level: @Transactional(timeout = 1, readOnly =…
3
votes
4 answers

How to set Atomikos to not write to console logs?

Atomikos is quite verbose when used. There seems to be lots of INFO messages (mostly irrelevant for me) that the transaction manager writes out to the console. The setting in the transaction.properties that is suppose to control the level of…
Petre Maierean
  • 914
  • 3
  • 14
  • 21
3
votes
1 answer

Jetty datasource with Atomikos UserTransaction

I have two datasources in my Web application (principalDB and backupDB) on two Postgresql DBs, and a web container managed transaction manager (with Atomikos) for them. Spring FW and Hibernate are my building blocks for the application. The problem…
Petre Maierean
  • 914
  • 3
  • 14
  • 21
3
votes
1 answer

Atomikos with Spring Data and Spring JPA - persistency issue

We are trying to setup a new JTA transaction configuration for our new project. This project make use of spring JPA and spring Data with atomikos JTA transaction manager. We configured our xmls as we saw in one of the atomikos tutorials. Currently…
Ayelet
  • 1,713
  • 9
  • 29
  • 43
3
votes
2 answers

when to use global transaction Or use spring aop for transaction

Q1. i do understand when we need to deal with multiple databases, we need to use global transaction. but from this post http://fogbugz.atomikos.com/default.asp . the person suggested just use spring aop to advise on the different…
cometta
  • 35,071
  • 77
  • 215
  • 324
3
votes
1 answer

Atomikos, Tomcat, JTA java.lang.ClassCastException

Attempting to get transactions to work using Tomcat, Atomikos, ActiveMQ, and MySql. Followed these examples: Tomcat 7 Integration with Atomikos 3.5.2 and Tomcat 7.0.27 Integration with Atomikos 3.7.1 with no success... ERROR:…
Boyan
  • 165
  • 1
  • 2
  • 8
1 2
3
17 18