This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss/JTA/spring "No JTA TransactionManager found"

 
Santosh Ramachandrula
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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • 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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic