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

Transaction timeout for Select query

I am using AtomikosDataSource and setting the datasource in Ibatis SqlSessionFactoryBean (db2 database). When my select query is running it is taking 15 seconds and returning the values, but i already have set below properties in my property…
user2000189
  • 479
  • 4
  • 6
  • 22
0
votes
0 answers

JMS Message Redelivery not working for Topic in Spring + ActiveMQ + Atomikos + JTA + Tomcat

I have following configuration in the application that works perfectly fine with queues and redelivers the messages when a RuntimeException occurs with transaction rollback as expected. But the same configuration fails to redeliver message with…
Sonu
  • 1
  • 1
0
votes
3 answers

how to write a oracle function to update tables on different schemas

hello i'm porting a wbsphere application to tomcat, i have to work on two database on the same server and i've integrated tomcat with atomikos transactionessential. This is my first project with jta, and the oracle dba has told me i don't need xa…
user260192
0
votes
0 answers

How to configure XA transactions using Spring and Atomikos transaction manager on a TomEE server for an Oracle DB?

I am trying to get XA transactions to work on a TomEE server for an Oracle DB. Using AtomikOS transaction manager via Spring configs. I used the example from atomikos documentation https://www.atomikos.com/Documentation/SpringIntegration On server…
0
votes
1 answer

Can JMS MessageListener start XA transactions?

Let's say I write the following code (pure standalone Java with Atomikos, no Spring, no JavaEE, no beans): XASession session = conn.createXASession(); MessageConsumer consumer =…
Alexey
  • 1,354
  • 13
  • 30
0
votes
1 answer

Spring JTA Atomikos Only 7 messages consumes and all dequeued

I've a simple Spring-boot application with JTA base on Atomikos Transaction Manager. It consumes messages from a queue and logs them. The problem is that after the 7th incoming message the rest of the message in the queue are dequeued but are not…
0
votes
1 answer

How to add synchronization to Atomikos TransactionStateHandler

How I can add synchronization to TransactionStateHandler in atomikos ? Default this contains just JdbcRequeueSynchronization which got empty beforeCompletion method private Throwable notifyBeforeCompletion() { Throwable cause = null; …
hudi
  • 15,555
  • 47
  • 142
  • 246
0
votes
1 answer

Atomikos silently rollback transaction without any Exception

I am testing global transaction and timeout in atomikos. I created test where I am inserting data to first db and then call procedure in second db so I am using global transaction. Here is my test service code: @Transactional(timeout = 5) public…
hudi
  • 15,555
  • 47
  • 142
  • 246
0
votes
1 answer

Wrong atomikos state ABORTING after timeout in transaction

I am testing how atomikos solving timeout in transaction. I have 30s timeout in infinite read from db. After 30s I got this exception: 14:08:40.329 [Atomikos:4] WARN c.a.icatch.imp.ActiveStateHandler - Transaction…
hudi
  • 15,555
  • 47
  • 142
  • 246
0
votes
1 answer

Exception while looking up XADatasource using JNDI

I have configured XADatasource in wildlfy server as I need to use JTA transactions and need to manage multiple databases using the JTATransactionManager using Atomikos implementation. I am getting the below ClassCastException while looking up and…
Srinivas
  • 301
  • 1
  • 2
  • 6
0
votes
1 answer

com.atomikos.icatch.SysException: Error in init: Log already in use? tmlog in ./

I have a very big problem with my atomikos. I cant create bean because of below error: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authenticatingSignInAdapter': Unsatisfied dependency expressed…
0
votes
1 answer

Atomikos transaction issue with JMS listener and Oracle datasource - XID raised -4: the supplied XID is invalid for this XA resource

I have a web application gathering data from MQ and persist in database. Using spring JMS listener container for reading messages from MQ, and using hibernate template to persist those messages on a XA Oracle datasource. I am englobing transactions…
Özgün
  • 318
  • 3
  • 11
0
votes
1 answer

Distributed Transaction ( XA ) using atomikos with mySql and Oracle not working

Am trying to test distributed / XA transactions . Am using mySql , Oracle , Atomikos and spring No application server is being used - so please dont point me to app server solutions. In a Transaction - first am trying to update Oracle table Then…
satish marathe
  • 1,073
  • 5
  • 18
  • 37
0
votes
1 answer

Atomikos config UserTransactionImp with UserTransactionServiceImp

I´m using Atomikos with Spring and I´m having problems to update the max_actives. I´m creating the UserTransactionImp
paul
  • 12,873
  • 23
  • 91
  • 153
0
votes
1 answer

Spring Boot + Atomikos: Exception thrown in a transactional JMS listener inside try-catch immediately causes rollback

I'm using Spring Boot 1.5.3 and Atomikos 4.0.6. I have a DefaultMessageListenerContainer setup to listen a JMS queue and handle incoming messages in a transaction using the Spring JTATransactionManager configured to use Atomikos. The message handler…