Questions tagged [jotm]

JOTM is an open source JTA transaction manager.

JOTM (Java Open Transaction Manager) is an open source transaction manager written in Java, implementing the XA protocol and compliant with the JTA APIs. It uses a BSD-style license.

13 questions
10
votes
5 answers

Spring JTA TransactionManager config: Supporting both Tomcat and JBoss

I have a web application using JPA and JTA with Spring. I would like to support both JBoss and Tomcat. When running on JBoss, I'd like to use JBoss' own TransactionManager, and when running on Tomcat, I'd like to use JOTM. I have both scenarios…
Henning
  • 16,063
  • 3
  • 51
  • 65
3
votes
2 answers

when to use global transaction Or use spring aop for transaction

Q1. i do understand when we need to deal with multiple databases, we need to use global transaction. but from this post http://fogbugz.atomikos.com/default.asp . the person suggested just use spring aop to advise on the different…
cometta
  • 35,071
  • 77
  • 215
  • 324
3
votes
2 answers

spring transactional cpool. Which one do I use?

I originally set up spring with xapool, but it turns out that's a dead project and seems to have lots of problems. I switched to c3p0, but now I learn that the @Transactional annotations don't actually create transactions when used with c3p0. If I…
HappyEngineer
  • 4,017
  • 9
  • 46
  • 60
2
votes
1 answer

JPA(Hibernate),JTA(JOTM) and Tomcat

I'm developing a application with JPA(Hibernate) as backend. I have a DAO and JPADAO for each entity and my process updates more than one entity as one unit of work, so I decided to use JTA as it allows me to control the transactions so here's how…
user2250679
  • 43
  • 2
  • 5
1
vote
0 answers

Using JOTM transaction manager Doesn't works on Tomcat

Facing a strange problem here, below is the configuration i am using: 1. Apache Tomcat 6.0.26 2. mySql 3. Spring framework+ Hibernate We have used JOTM for transaction management
vaibhav
  • 3,929
  • 8
  • 45
  • 81
1
vote
1 answer

Hibernate EntityManager + JOTM: transactions are not used

I am trying to integrate together JOTM and Hibernate EntityManager to test my EJBs in a transactional manner environment but out-of-container. My test looks like the following: Start JOTM Put JOTM's UserTransaction into JNDI Create and configure…
artemb
  • 9,251
  • 9
  • 48
  • 68
1
vote
2 answers

Maven, Jetty, JOTM

I have been unable to configure JOTM ontop of Jetty inside a Maven build environment. The exception I get when I try to run my application is the following: 2009-07-21 19:47:23.499::WARN: Config error at
Walter White
1
vote
1 answer

JOTM getTransactionManager().getTransaction() return null

I'm using spring, oracle and jotm (in tomcat) to use 2PC commit. Below is the spring configuration.
Iswanto San
  • 18,263
  • 13
  • 58
  • 79
0
votes
2 answers

Spring global transaction committed after getting an element

I am using Spring and Hibernate with Jta Transactions, I have 2 databases, and I have a problem in a transactional method. In this method I insert a lot of objects but I throws an exception to rollback the insertions, here the code works as I…
Michel
  • 681
  • 2
  • 7
  • 17
0
votes
1 answer

Neo4j + Jotm migration, absent transaction's classes/interfaces

I'm using Neo4j 1.8.9 + Jotm with ALRubinger's solution : How to enlist XAResource with existing Transaction?, everything working fine, but few days ago I started migration to Neo4j 2.2.1 and came across to the next problem - neo4j-kernel.jar have…
0
votes
1 answer

Configuring JPA and JOTM without Spring

Can anyone point me to an example of configuring JPA/JOTM in an environment where Spring isn't being used? I'm building a web-app with Tomcat and JPA/MySQL. Currently I'm just using the RESOURCE_LOCAL transactions in the JPA persistence unit, but…
Steve
  • 2,678
  • 8
  • 40
  • 54
0
votes
1 answer

rollback does not work with tomcat using JOTM

I was using oc4j for development of a weba application involving JSP, servlets and JDBC (dayabase: oracle 11gr2). Had used built in transaction manager and commits and rollbacks used to work fine. However, due to licensing we are now supposed to…
Mohd Asim
  • 45
  • 1
  • 10
-1
votes
1 answer

ClassNotFoundException: org.objectweb.jotm.SubCoordinator_Stub

I'm getting below JOTM exception in my application log. I didn't found any functionality that brakes due to this. I tried to figure out from where it is starting and end up finding 0 custom codes that start this error. Other than that I tried…
tk_
  • 16,415
  • 8
  • 80
  • 90