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

Unable to configure a distributed transaction involving ActiveMQ and embedded H2 with Atomikos

I am trying to set up a distributed transaction over an embedded H2 DB and ActiveMQ using Atomikos as the underlying JTA implementation in a Spring MVC app. I have followed or visited almost every page on the web/stackoverflow related to the error I…
2
votes
0 answers

Spring JMS with Atomikos, poolsize and concurrent consumers

Can someone explain the semantic differences between the poolsize of a Atomikos connection factory, the pool size of the nested connection factory and concurrent consumers of a JMS Container? Consider the following Spring config: // ActiveMq…
Benny Bottema
  • 11,111
  • 10
  • 71
  • 96
2
votes
1 answer

Spring MVC multiple data sources JTA atomikos in same transaction

I have a Spring MVC project with Hibernate (Spring 4.2.2 - Hibernate 4.3.6). I wanted to connect two datasources (two different postgresql databases) to it, so I used atomikos as implementation for JTA. I have my configuration all by annotations, so…
zuno
  • 563
  • 4
  • 19
2
votes
2 answers

Differences between javax.jms.ConnectionFactory and javax.jms.XAConnectionFactory

I'm entering the world of JTA, due to need of distributed transactions, and I'm uncertain about the differences between javax.jms.ConnectionFactory and javax.jms.XAConnectionFactory or more accurately how can it be that javax.jms.ConnectionFactory…
Ittai
  • 5,625
  • 14
  • 60
  • 97
2
votes
1 answer

ClassNotFoundException with EHCache-Atomikos

I'm trying to use EHCache's transactional abilities together with Atomikos and Apache Tomcat (for usage with JMS and Hibernate but that's just to assure the sceptics I really need JTA). I'm currently working on a small POC where I'm trying to put…
Ittai
  • 5,625
  • 14
  • 60
  • 97
2
votes
2 answers

With spring boot, how does it detect a JTA environment?

I'm trying to enable JTA with spring boot so that JPA and JMS will roll back together. All docs point to http://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-jta.html and it states When a JTA environment is detected,…
pgreen2
  • 3,601
  • 3
  • 32
  • 59
2
votes
1 answer

Spring 4 + Hibernate 5.1 Transaction auto committed after call another DAO query

I have a problem with transaction auto committed after call another dao native query. Both service and dao signed as @Transactional. What am I doing wrong here? Spring 4.2.x Hibernate 5.1.0 Atomikos 3.9.3 This is my setup:
T.SET
  • 23
  • 5
2
votes
0 answers

Spring Batch combined with Atomikos not working

I’m having trouble configuring an Tomcat – Spring Batch – Atomikos combination. I have configured the following (I’m not mentioning the JMS configuration) Atomikos DataSource (proxy) based on com.atomikos.tomcat.EnhancedTomcatAtomikosBeanFactory…
2
votes
1 answer

JAVA - Spring Integration Flow Transaction + com.atomikos.icatch.HeurHazardException: Heuristic Exception

i'm trying to make transactional an entire flow of Spring integration, the flow starts with an adapter to an IBM MQ Queue, and then we have a complex flow with ActiveMQ Queues, and i'm getting a com.atomikos.icatch.HeurHazardException: Heuristic…
2
votes
0 answers

Can we use DBCP 2 or Tomcat connection pool for distributed transactions in Spring? Can these connection pool be used along with JOTM or Atomikos?

Initially i was using different transaction manager for multiple data sources. But i had problem with managing rollback on all data sources if one of the data sources has transaction failure.I want to manage multiple datasources with single…
2
votes
1 answer

spring-boot-starter-jta-atomikos in practise

I'm trying to use Atomikos for distributed transactions in my spring boot application. It will interact with the two databases. I found an example in which the author uses Atomicos. Starting with version 1.2 spring boot supports Atomicos. I have…
Dmitry
  • 291
  • 2
  • 6
  • 19
2
votes
1 answer

Atomikos + OpenJpa +DB2 XA standalone - setAutocommit(true) not allowed

I have a spring batch project and am using Atomikos for transaction management. Here is my datasource configuration and atomikos configuration. @Bean public DataSource dataSource() { Properties properties = new Properties(); …
2
votes
2 answers

How to remove/hide Atomikos startup error message?

When Atomikos is configured via Spring, a jta.properties or transactions.properties file is not needed. Nonetheless, Atomikos starts up with the follow messages printed to stderr: No properties path set - looking for transactions.properties in…
Dave
  • 21,524
  • 28
  • 141
  • 221
2
votes
2 answers

Configure an Atomikos UserTransactionManager for Hibernate in Spring Batch

What I need to do is a distributed transaction over three distinct Oracle databases. One of each must be accessed through JDBC, the two others through Hibernate. Here is my Atomikos configuration :
Wis
  • 705
  • 1
  • 11
  • 34
2
votes
0 answers

writing to 2 schemas in one database with one datasource, using Spring and Hibernate

We have two schemas in one oracle database. We are writing a Spring/Hibernate application, which will write to tables in both schemas in one operation. My question is: Can one datasource write to both schemas, in one transaction, and rollback all…
johnm
  • 7,327
  • 1
  • 24
  • 35