[jboss-jira] [JBoss JIRA] Updated: (JBAS-4238) javax.transaction.RollbackException root cause
Perry Rhodan (JIRA)
jira-events at lists.jboss.org
Tue Apr 3 10:30:58 EDT 2007
[ http://jira.jboss.com/jira/browse/JBAS-4238?page=all ]
Perry Rhodan updated JBAS-4238:
-------------------------------
Attachment: JBAS-4238-TestCase.zip
Added TestCase. You can import as project in Eclipse or simply deploy the "server.ear" from /release directory into jboss 4.2CR1. In src/client you will find the client for testing.
The testcase tries to insert an entity in the database, but an attached Hibernate PreInsert-Listener is configured for rejecting every Insert-attempt and to throw instead an java.lang.SecurityException. But as you will see, on client side you will only see the RollbackException as cause and not the SecurityException.
> javax.transaction.RollbackException root cause
> ----------------------------------------------
>
> Key: JBAS-4238
> URL: http://jira.jboss.com/jira/browse/JBAS-4238
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JB5-Transaction Manager
> Affects Versions: JBossAS-4.2.0.CR1
> Environment: Windows XP, Java 6, JBoss 4.2.0.CR1
> Reporter: Flavius Burca
> Assigned To: Jonathan Halliday
> Priority: Critical
> Fix For: JBossAS-4.2.0.GA
>
> Attachments: JBAS-4238-TestCase.zip
>
>
> On transaction commit, if the commit failes then a javax.transaction.RollbackException is thrown. This exception does not contain a root cause, so one cannot determine the cause of the failure.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list