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

Spring boot routing datasource not work correctly

I am configuring spring boot web app with Postgres, Hibernate, Atomikos, JPA and Thymeleaf. I use AbstractRoutingDataSource to route to new datasource as below: @Override protected Object determineCurrentLookupKey() { String…
Thanh Dong
  • 3
  • 2
  • 6
0
votes
1 answer

XA resource has become unavailable XID raised -7

I am getting below error in a random way. It doesn't throw error initially but after a while the error is thrown. Once I restart my server everything gets reset and error is not thrown. XA resource 'XXXXAtomikosDataSource': resume for XID…
rmysari
  • 21
  • 5
0
votes
2 answers

Spring Boot application not deploying - Unable to create XADataSource instance

I'm trying to deploy a simple Spring Boot application. application.properties contains the…
András Hummer
  • 960
  • 1
  • 17
  • 35
0
votes
0 answers

Spring batch: how to configure xa transactions

This is my situation: a Postgres database where I have only Spring Batch tables an Oracle database where I have business data to read, write and update I have tried to configure an XA enviroment with Atomikos and it seems to work but honestly I…
Andrea
  • 61
  • 10
0
votes
1 answer

Jms queue redelivery issues with Spring boot, Atomikos and ActiveMQ

I'm trying to setup a jms queue and have redelivery behaviour in case the transaction fails. What is happenning is that a message is redelivered (and processed) multiple times because after the message processing code, the session is closed twice.…
dacian
  • 1
  • 1
0
votes
2 answers

Atomikos error prepared transaction "transaction id" with identifier does not exist

I have spring boot app with Atomikos as transaction manager and I see this log: ERROR: prepared transaction with identifier "1096044365_MTcyLjE3LjAuMy50bTAwNDAyMDAwMDE=_MTcyLjE3LjAuMy50bTQwMg==" does not exist getting printed continuously. After…
D7thename
  • 21
  • 1
  • 7
0
votes
2 answers

Configuring AtomikosConnectionFactoryBean with spring integration message driven channel adapter

I am trying to use Atomikos for distributed transaction management with spring integration project. I am getting problem If I try to use AtomikosConnectionFactoryBean as connection-factory in message driven channel adapter. I'm getting below…
A J
  • 11
  • 2
0
votes
0 answers

spring boot atomikos pool exhausted

I want to use plain JDBC in a REST Service but the Connections are not returned to the Pool. With the code below the second request will endup with pool exhausted. When i remove the '@Transactional' - it works - but it has no transaction and so no…
0
votes
1 answer

How to properly use standalone TransactionManager in web application?

I'd like to write my next tiny Java webapp by using one of micro-frameworks. E.g. Spark or Jooby. The problem is that both of them doesn't support JTA, so I need to use one of third-party libraries. I've googled for open-source JTA implementations…
Evan
  • 649
  • 1
  • 9
  • 22
0
votes
1 answer

Increase CPU utilization using parallel stream for DB intensive task

I am using java 8 parallel stream to insert data into DB. The following is the code customers.parallelStream().forEach(t->{ UserTransaction userTransaction = new UserTransactionImp(); try { userTransaction.begin(); …
nanpakal
  • 971
  • 3
  • 18
  • 37
0
votes
0 answers

Spring Integration Atomikos transaction issue

I'm trying to integrate Atomikos transaction manager into a Spring Integration program that forwards JMS from ActiveMQ to a WebMethods ESB. The spring integration part only retrieves JMs from local ActiveMQ broker and sends them to a distant ESB…
Biologeek
  • 541
  • 2
  • 6
  • 18
0
votes
1 answer

com.atomikos.icatch.jta.hibernate3.AtomikosJTATransactionFactory cannot be cast to org.hibernate.resource.transaction.TransactionCoordinatorBuilder

Trying to connect two different datasources with the Atomikos transaction manager getting the below error Caused by: java.lang.ClassCastException: com.atomikos.icatch.jta.hibernate3.AtomikosJTATransactionFactory cannot be cast to…
user5008345
0
votes
0 answers

Atomikos Doesn't Work With JPA's @TableGenerator - Cannot call method 'commit' while a global transaction is running

I have spring mvc application. I have successfully configured Atomikos and it works for JMS,JDBC and Some JPA calls. The problem arises when I insert an entity using a table generator for primary keys. @Id @TableGenerator(name =…
chege
  • 323
  • 5
  • 16
0
votes
0 answers

com.atomikos.jdbc.AtomikosSQLException: Failed to grow the connection pool

I'm using Apache tomcat 8.5, I have configured below data source in context.xml file in Tomcat I'm getting com.atomikos.jdbc.AtomikosSQLException: Failed to grow the connection pool. What is the issue in above configuration
Karthick
  • 123
  • 2
  • 4
  • 11
0
votes
2 answers

Spring Integration Transaction management using Atomikos

I am thinking to create a Spring Integration Spring Boot application to 1-Poll messages from a DB 2-Do some processing on it 3-Publish messages to EMS Queue using Atomikos for Transaction management. My question is: If the above configuration…
Pravat Panda
  • 1,060
  • 2
  • 13
  • 27