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

Can we set values to only for some of the properties in Atomikos JTA properties and get the default values specified in jta.properties for others?

I want to set value of com.atomikos.icatch.log_base_name property to transaction-log and value of com.atomikos.icatch.log_base_dir property to /log_dir. I need to change only these two and get the default values for all other properties in the…
0
votes
1 answer

how to reduce the getConnection time consume in Atomikos

I am using Atomkios XA configuration for Oracle. This is my code for creating datasource connection. OracleXADataSource oracleXADataSource = new OracleXADataSource(); oracleXADataSource.setURL(sourceURL); oracleXADataSource.setUser(UN); …
KSK
  • 636
  • 1
  • 9
  • 29
0
votes
1 answer

How to increase Atomikos default jta timeout based on the thread during Spring retry

I am using Spring boot application with Atomikos transactions. I have configured default time out as 10000ms which is 10sec in the transactions properties. transactions…
KSK
  • 636
  • 1
  • 9
  • 29
0
votes
0 answers

Atomikos threads piling up in spring batch application

Atomikos threads piling up in spring batch application. After a while the application stops working working with an OOM error. With each job triggered in the Spring Batch application number od Atomikos threads are increasing and not getting removed…
0
votes
3 answers

Atomikos - Unique resource names

We have a Java micro service project using spring boot and want to know if the following properties must be unique across the servers in the cluster as per the blog post https://fogbugz.atomikos.com/default81d0.html?community.6.2225.7 App is based…
Krishna
  • 3
  • 6
0
votes
2 answers

Why am i getting XA resource 'xxxxx': commit for XID 'XID:xxxxx' raised -6: the XA resource did not expect this command in the context

I get Heuristic termination of XAResourceTransaction XID:XXXXX with state HEUR_HAZARD then below error XA resource 'xxxxx': commit for XID 'XID:xxxxx' raised -6: the XA resource did not expect this command in the context. Caused by ORA-02056:2PC:…
SarathCCS
  • 1
  • 1
0
votes
1 answer

Endpoint calling multiple methods annotated with @Transational does not work

I have a SpringBoot application using Atomikos without XA connections. When an endpoint calls multiple methods annotated with @Transational an error is thrown : application.yml: jta: enabled: true service:…
0
votes
0 answers

SpringBoot using JMS (OracleAQ) + SpringData JPA transaction timeout issue

I'm using springboot to consume a JMS message (from oracle AQ) do some stuff using atomikos and SpringData JPA. It is working fine except when the transaction timeout is reached. Everything done using JPA is commited but the JMS message goes to the…
0
votes
0 answers

Repository Error - FactoryBean which is currently in creation returned null from getObject. in Atomikos distributed transaction

I am currently following tutorial of atomikos for distributed transaction using xml configuration. I get error in repository level with message factory bean which is currently in creation returned null from getObject. I think there is no any…
shree
  • 304
  • 1
  • 12
0
votes
1 answer

Axon framework with Atomikos? How it's work?

I have a question, I have to use Atomikos with Axon framework, in Spring-Boot (without Axon Server). I am using Oracle DB, and I am using multiple threads (10) to send a lot of commands, and before that I am configuring an JtaTransactionManager for…
polosoft
  • 200
  • 1
  • 14
0
votes
1 answer

toArray function not working after ugrading atomikos version from 4 to 5

I upgraded the atomikos version in my application from 4 to 5 after which toArray function started throwing "java.lang.ArrayStoreException" error. When i revert the version back to 4 it seems to be working fine. I am using toArray to convert a list…
0
votes
1 answer

Distributed transaction across remote REST services implemented with Spring Boot using Atomikos trasaction manager

I have need for two REST services that are part of the single transaction(distributed transaction), so if for example, client calls SERVICE_1 that is successful, and then SERVICE_2 that is not successful, SERVICE_2 AND SERVICE_1 must perform…
zoran
  • 826
  • 1
  • 10
  • 14
0
votes
1 answer

Apache Camel route timing out

I have two Camel routes, configured in XML and pasted below: - Route 1:
Jon H
  • 394
  • 3
  • 17
0
votes
1 answer

Adding delay to Camel route causes an Atomikos timeout

I have a Camel route that listens to an ActiveMQ. I have added a delay of 10 seconds to because it needs to be certain that another process has completed before commencing. This has been achieved by adding the delayer attribute: -
Jon H
  • 394
  • 3
  • 17
0
votes
1 answer

Spring Boot fails loading AtomikosDataSourceBean

Spring Boot is not able to find an existing Atomikos dependency on startup: 2019-12-12 09:09:35.836[0;39m [31mERROR[0;39m [35m2796[0;39m [2m---[0;39m [2m[ main][0;39m [36mo.s.boot.SpringApplication [0;39m [2m:[0;39m…