4 Replies Latest reply on Apr 25, 2008 6:16 AM by matt.drees

    Transaction Failed but no exceptions?

    davidatkinsuk

      Hi,


      I'm using Jboss 4.2 with EJB3 and Seam 2.0.1


      My app uses a stateful session bean as an action Bean. this then makes a call through to stateless session beans for business logic/dao stuff.  I was recieving a 'transaction failed' but no logged exception whenever I tried to call through to an EJB3 'select' query in a DAO.


      After some trial and error I discovered that the find query was throwing a runtime exception (java.lang.IllegalArgumentException: org.hibernate.QueryException: could not resolve property:...)


      As far I can tell, seam intercepts the exception (hence the 'transaction failed' message).  Is there any way that I can log out the exception?  I've looked through the new/old form, documentation and wiki and nothing useful has come up.  Apologies if this is a non-seam question.


      Thanks in Advance,


      David