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
1
vote
2 answers

Envers not inserting records in version tables with JTA Atomikos

I am using Spring 3.1, Spring data jpa 1.2 with Hibernate 3.5.1 and envers 3.5.1. The issue is when using envers my _AUD table is getting created but the data is not inserted in the AUD tables. I have used @Audited on Person entity and created…
Gaurav
  • 31
  • 1
  • 5
1
vote
1 answer

Disable atomikos logging from catalina.out

I would like to set the atomikos log level to higher than INFO. Tomcat's catalina.out log file writes many INFO messages causing the transaction to take a long time to complete. During start up, catalina.out contains: 18:11:51,481 INFO [main]…
Trevor
  • 6,659
  • 5
  • 35
  • 68
1
vote
0 answers

JSF2 ViewScope/Spring/Hibernate getSessionFactory NULL Error

We are using spring + hibernate + jsf + mysql + atomikos in our project. Here below the version details: Spring: 3.0.5 Hibernate : 3.6.0 JSF : 2.0 (myfaces 2.0.12) Mysql: 5.1.38 (InnoDB table structure) Atomikos: 3.8.0 Tomcat: 6.0.20 When I use…
huzeyfe
  • 3,554
  • 6
  • 39
  • 49
1
vote
1 answer

Spring 3 - Hibernate 3 - Queries on Multiple MySQL Databases

I am trying to develop a small program that performs queries on multiple MySQL databases stored on a single server. For instance, consider having a select statement that retrieves values from fields in table X1 in database D1, and fields in table X2…
A. Cusano
  • 87
  • 1
  • 7
1
vote
1 answer

Transactional Second Level Cache and Generated Identifier

I have the following stack: Hibernate 3.6.9.Final Spring 3.1.1 Atomikos 3.7.1 Infinispan 4.2.1.FINAL MySQL I have been writing a few tests to ensure that when a RuntimeException is thrown the current transaction is rolled back on the database but…
Alex Barnes
  • 7,174
  • 1
  • 30
  • 50
0
votes
1 answer

Transaction commit throwing exception: Transaction set to rollback only

My application is trying to do a distributed transaction on 2 databases on a DB2 server, app server is websphere 6.1 and using Atomikos as the TM. UserTranaction.commit() is failing with the following exception:…
Andy
  • 1,080
  • 5
  • 20
  • 35
0
votes
2 answers

Programming BMT - UserTransaction

Is the complete programming of BMT based on UserTransaction interface? In other words, if I want to use BMT, is there any scenario when I would require more services than those provided by the UserTransaction interface. Why this question? If I use…
Bala
  • 1,193
  • 2
  • 12
  • 34
0
votes
2 answers

How do I get my Spring transactionmanager in my integration test to really be transactional?

I have a small Spring app that reads a few databases, and writes a small table in one database. I have a @Service-annotated class with a @Transactional method. That method calls a method in a DAO class (which is not @Repository-annotated) which…
David M. Karr
  • 14,317
  • 20
  • 94
  • 199
0
votes
2 answers

How to call stored procedures in Sybase correctly

I'm trying to call some legacy stored procedures on a Sybase Database (ASE 15) using Spring JDBC. I've got it working pretty good but I can't figure out how to get the returned value from the proc. This is the code I got: @Repository public class…
Andreas Wederbrand
  • 38,065
  • 11
  • 68
  • 78
0
votes
0 answers

Spring boot 3 with Atomikos

Spring Boot 3 doesn't support Atomikos. https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide Support for the following dependencies has been removed in Spring Boot 3.0: Apache ActiveMQ Atomikos EhCache 2 Hazelcast…
0
votes
0 answers

transaction getting commited before existing the method

I have below code, @Service public class MyHandlerService { @Inject private MyRepoService myRepoService; @Transactional(value = "manager1", propagation = Propagation.REQUIRES_NEW) public void handle(final String message) { …
SUBHASHC37
  • 23
  • 5
0
votes
1 answer

Atomikos equivalent to Hikari connection-init-sql

What is the equivalent to Hikari's connection-init-sql property? spring: datasource: hikari: connection-init-sql: ALTER SESSION SET NLS_TIMESTAMP_TZ_FORMAT='DD/MM/YYYY HH24:MI:SSXFF TZR' How to "translate" the snipet above to…
Cássio
  • 329
  • 3
  • 11
0
votes
1 answer

Camel multicast pipeline timing out in a transacted doTry

I'm running into a very odd problem that happens only under very specific circumstances. I have the following route
Egor
  • 1,622
  • 12
  • 26
0
votes
1 answer

how to handle transaction management in multi datasource using atomikos?

I am having one application with multiple datasource and i am facing one issue where i am calling both datasource in one transaction and i am getting result from first datasource but when i am trying to get result from second datasource i am getting…
0
votes
0 answers

What's the actual effect of localTransactionMode=true in Atomikos?

I'm implementing a Spring application accessing two SQL databases. There's a requirement of having distributed transaction embracing both connections. Most of the tutorials on how to setup Atomikos with Spring include the following line in the…
malloc4k
  • 1,742
  • 3
  • 22
  • 22