0 Replies Latest reply on Dec 9, 2008 8:46 AM by Suryasatish Chavali

    Unable to locate current JTA transaction

    Suryasatish Chavali Newbie

      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..