• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

"No JTA UserTransaction available" errmsg thrown by Atomikos/JTA standalone app

 
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I did succeed in upgrading a functioning standalone desktop Java/Spring3x/Hibernate3x/Maven/MySQL5x/Eclipse app
from using Hibernate for my ORM to JPA2.

Now I'd like to upgrade it further from using JPA2 to JTA. I chose Atomikos
for my external transaction manager as JOTM is no longer supported in Spring 3.x .

Here's what I have so far:

pom.xml


ApplicationContext.xml


persistence.xml


and my simple app
TestQueries


Problem is when I execute TestQueries I never get to point C -


I can't figure out why I'm getting these errmsgs, my beans for transactionManager and its properties look ok.
the pom excludes a few transitive dependencies that cause conflicts.

Can anyone spot what's wrong/missing/extraneous? It must be something fiendishly subtle.

TIA,


Still-learning Steve
 
rubbery bacon. rubbery tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic