• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Jboss/JTA/spring "No JTA TransactionManager found"

 
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I am working on Spring/Hibernate/Jboss/JTA/Derby DB. I am getting following error on Jboss startup



and I have configured my spring applicationContext.xml file as





I need direction into setting up "java:comp/UserTransaction"/ "java:comp/TransactionManager" in JBoss or a way to fix this issue and be able to use JTA in my app.
 
Marshal
Posts: 67463
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rather then deleting the post, why not post your solution so that future readers can benefit from it?
 
Santosh Ramachandrula
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good idea!

Changed "java:comp/TransactionManager" to "java:/TransactionManager". I got past the point where I was getting errors during Jboss server startup. Right now I am getting error at

Query query = sessionFactory.getCurrentSession().createQuery("from " + clazz.getName());





I am gonna post the applicationContext.xml in hibernate/spring forum.

 
Are you here to take over the surface world? Because this tiny ad will stop you!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic