[jboss-jira] [JBoss JIRA] Commented: (JBAS-4238) javax.transaction.RollbackException root cause

Perry Rhodan (JIRA) jira-events at lists.jboss.org
Wed Mar 28 10:25:11 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBAS-4238?page=comments#action_12357622 ] 
            
Perry Rhodan commented on JBAS-4238:
------------------------------------

Same Problem here. We simply throw a SecurityException in an Hibernate-Eventlistener, but java client only is getting javax.transaction.RollbackException as root-cause. 

java.lang.RuntimeException: javax.transaction.RollbackException
	at org.jboss.aspects.tx.TxPolicy.handleEndTransactionException(TxPolicy.java:198)
	at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:180)
	at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87)
	at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:166)
	at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:108)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
	at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:105)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:274)
	at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
	at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:999)
	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:848)
	at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:454)
	at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:527)
	at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:261)
Caused by: javax.transaction.RollbackException
	at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1215)
	at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135)
	at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87)
	at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:175)
	at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87)
	at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

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