File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Jboss/JTA/spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss/JTA/spring "No JTA TransactionManager found"" Watch "Jboss/JTA/spring "No JTA TransactionManager found"" New topic
Author

Jboss/JTA/spring "No JTA TransactionManager found"

Santosh Ramachandrula
Ranch Hand

Joined: Apr 04, 2004
Posts: 252
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.


Thanks,
Santosh
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61428
    
  67

Rather then deleting the post, why not post your solution so that future readers can benefit from it?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Santosh Ramachandrula
Ranch Hand

Joined: Apr 04, 2004
Posts: 252
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.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jboss/JTA/spring "No JTA TransactionManager found"