[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Unable to locate current JTA transaction
suryasatish
do-not-reply at jboss.com
Tue Dec 9 08:46:14 EST 2008
Hi iam getting following error
org.hibernate.HibernateException: Unable to locate current JTA transaction
javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96
I am using JBOSS to take care of my transaction management i.e using JTA and mentioned JTA "transaction.factory_class as org.hibernate.transaction.JTATransactionFactory
and also
jta
in hibernate.cfg.xml.
I also configured the name="hibernate.transaction.manager_lookup_class in hibernate.cfg.xml.
Do i need to do something else to get out of this error?
Please help me in this regard.
Thanks in advance..
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195338#4195338
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195338
More information about the jboss-user
mailing list