-
1. Re: Envers causing a rollback during Seam @Asynchrounous call
adamw Aug 16, 2011 2:31 PM (in response to johncarl81)1 of 1 people found this helpfulHmm it would be good to see what is actually the exception. There's no other exception in the stack trace that could indicate an issue? Maybe you can try breakpointing at AuditProcess.doBeforeTransactionCompletion and stepping until you get the exception?
Adam -
2. Re: Envers causing a rollback during Seam @Asynchrounous call
johncarl81 Aug 16, 2011 2:49 PM (in response to adamw)Yes, unfortunately there is no other exception thrown. Ive searched both the application and server logs.
I was unable to find the AuditProcess class... I am using envers version 1.2.2.GA-hibernate-3.3 becuase of compatability issues with hibernate / jpa / app server. Is there another class I could investigate?
-
3. Re: Envers causing a rollback during Seam @Asynchrounous call
johncarl81 Aug 16, 2011 3:53 PM (in response to johncarl81)Adam,
Looks like I was able to solve the issue. You mentionoing the AuditProcess class put me on the path to find the AuditSync class where the beforeCompletion() call is being made in 1.2.2. From there I was able to view the exception and determined it was an unavalable required @In injection in the seam graph grabbed from the RevisionListener.
Nevertheless, thanks for the quick response. Its funny how things get fixed as soon as you start reaching out to people.
John
-
4. Re: Envers causing a rollback during Seam @Asynchrounous call
adamw Aug 17, 2011 3:53 AM (in response to johncarl81)Heh, glad you found it I think the exception reporting has been fixed in newer versions (you are using quite an old Hibernate )
Adam