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
17
votes
3 answers

Spring boot + Spring Data JPA + Atomikos + Multiple databases configuration

With this configuration (MainConfig.java): import javax.transaction.TransactionManager; import javax.transaction.UserTransaction; import org.springframework.context.annotation.Bean; import…
Fabio Maffioletti
  • 820
  • 1
  • 8
  • 17
12
votes
7 answers

Strange Atomikos exception - Error in init(): Log already in use?

We're trying to run the same web application that uses Atomikos as transaction manager on several local envrionments (each of those uses the same versions of spring, atomikos, tomact etc with the same configuration files). Some of them work fine,…
Ayelet
  • 1,713
  • 9
  • 29
  • 43
11
votes
5 answers

How to use Atomikos Transaction Essentials with Hibernate >= 4.3

I switched from Hibernate 4.2 to Hibernate 4.3 and my project is not working any more. I'm getting an HibernateException: Unable to locate current JTA transaction when I do Session s = sessionFactory.getCurrentSession(); I've realized that…
sebplorenz
  • 999
  • 2
  • 10
  • 17
8
votes
1 answer

spring integration test fail to load context "Another resource already exists with name dataSource"

I am using test annotation introduced in spring-boot 1.4.3 for my integration tests @RunWith(SpringRunner.class) @SpringBootTest public class MyServiceIT { } According to documentation, test context is cached and reused to speed up integration…
ltfishie
  • 2,917
  • 6
  • 41
  • 68
8
votes
2 answers

Atomikos transaction logs com.atomikos.icatch.enable_logging=false

I would like to understand if the Distributed Transaction Capabilities will work for my application if I set the com.atomikos.icatch.enable_logging=false Do I understand correctly that the Transaction Recovery is relevant in the cases where there…
Alexander Petrov
  • 9,204
  • 31
  • 70
8
votes
1 answer

How to move location of Atomikos's tm.out and *.epoch files?

I'm running a J2SE application that uses Atomikos which dumps it's numerous log files to the current directory. I'd like to move the location of these files to "/tmp", but I cannot locate a configuration property that I can set from within my…
Dave
  • 21,524
  • 28
  • 141
  • 221
8
votes
1 answer

Invoking few queries to different data sources concurrently, using JTA, in scope of one global transaction

I've got an application with 3 distributed dataSources (com.atomikos.jdbc.AtomikosDataSourceBean). I'm using Atomikos transaction manager as JTA implementation. Every dataSource works with PostgreSQL database. Now, I'm invoking my queries…
Vladislav Bauer
  • 952
  • 8
  • 19
8
votes
3 answers

Apache Catalina Error:- "SEVERE: Error listenerStart"

I am getting the following error when i tried to start a java spring software that runs under apache:- Sep 24, 2012 12:08:20 PM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Sep 24, 2012 12:08:20 PM…
John John
  • 1
  • 72
  • 238
  • 501
8
votes
8 answers

solve error : log already in use with atomikos with multiple instances

I am facing an issue only on live server with atomikos, on my local server it works perfectly. the issue i am facng on the server is Error in init(): Log already in use? complete exception stack trace java.lang.RuntimeException: Log already in…
Mihir
  • 2,480
  • 7
  • 38
  • 57
7
votes
2 answers

change jta transaction timeout from default to custom

I am using Atomikos for JTA transaction. I have following setting for JTA: UserTransactionImp userTransactionImp = new UserTransactionImp(); userTransactionImp.setTransactionTimeout(900); but when my code perform JTA transaction, then if it takes…
Manglesh
  • 520
  • 1
  • 13
  • 29
7
votes
1 answer

Atomikos: data not getting saved when using PostgreSQL

I have encountered a strange issue while using Atomikos. I have a small test application (Spring + Hibernate). It uses two different data sources which I need to test JTA functionality on a non Java EE container (Tomcat in my case). When I use…
informatik01
  • 16,038
  • 10
  • 74
  • 104
7
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
  • 55,468
  • 181
  • 466
  • 756
7
votes
1 answer

Prepared transactions with Postgres 8.4.3 on CentOS

I have set 'max_prepared_transactions' to 20 in the local postgres.config and yet the transaction fails with the following error trace (but only on Linux). Since in Windows the same code works seamlessly I am wandering if this isn't an issue of…
Petre Maierean
  • 914
  • 3
  • 14
  • 21
6
votes
2 answers

Atomikos: exception when transaction contains more than one persist

I'm experimenting with standalone JPA and JTA / XA transaction management provided by Atomikos. My simple unit test persists 3 records, wrapped in a JTA UserTransaction. When using H2 as backing database, the test works fine. When using MySQL as the…
geert3
  • 7,086
  • 1
  • 33
  • 49
6
votes
2 answers

JBOSS: Thread freezing on Oracle XA Transaction using Atomikos

I am getting an error after sometime on my application when I going to transmit some data using atomikos and hibernate. 2015-11-06 07:11:56,353 WARN [http-/0.0.0.0:8083-10] datasource.xa.XAResourceTransaction - XA resource 'COTXADBMS': resume for…
1
2 3
17 18