]
Jozef Hartinger updated SEAMREST-13:
------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 3.0.0.Beta2
Resolution: Done
Thank Marek for you pull request. I'll investigate whether this is a JBoss AS bug or
not.
Removing of a task fails with an exception on JBoss AS
------------------------------------------------------
Key: SEAMREST-13
URL:
https://issues.jboss.org/browse/SEAMREST-13
Project: Seam REST
Issue Type: Bug
Components: Examples
Affects Versions: 3.0.0.Alpha1
Reporter: Jozef Hartinger
Assignee: Jozef Hartinger
Fix For: 3.0.0.Beta2
12:18:24,782 INFO [STDOUT] Hibernate: select top ? task0_.id as id7_, task0_.category_id
as category6_7_, task0_.created as created7_, task0_.name as name7_, task0_.resolved as
resolved7_, task0_.updated as updated7_ from Task task0_ where task0_.id=?
12:18:24,784 INFO [STDOUT] Hibernate: select category0_.id as id8_1_, category0_.name as
name8_1_, tasks1_.category_id as category6_8_3_, tasks1_.id as id3_, tasks1_.id as id7_0_,
tasks1_.category_id as category6_7_0_, tasks1_.created as created7_0_, tasks1_.name as
name7_0_, tasks1_.resolved as resolved7_0_, tasks1_.updated as updated7_0_ from Category
category0_ left outer join Task tasks1_ on category0_.id=tasks1_.category_id where
category0_.id=?
12:18:24,786 WARN [com.arjuna.ats.arjuna] ARJUNA-12125
TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple<
0:ffff7f000001:126a:4d132bc1:1da,
org.hibernate.transaction.synchronization.HibernateSynchronizationImpl@1212512e >:
javax.persistence.EntityNotFoundException: deleted entity passed to persist:
[org.jboss.seam.rest.example.tasks.entity.Task#<null>]
at
org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1196)
[:3.6.0.Final]
at
org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1147)
[:3.6.0.Final]
at
org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1153)
[:3.6.0.Final]
at
org.hibernate.ejb.AbstractEntityManagerImpl$3.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1067)
[:3.6.0.Final]
at
org.hibernate.transaction.synchronization.CallbackCoordinator.beforeCompletion(CallbackCoordinator.java:122)
[:3.6.0.Final]
at
org.hibernate.transaction.synchronization.HibernateSynchronizationImpl.beforeCompletion(HibernateSynchronizationImpl.java:51)
[:3.6.0.Final]
at
com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:97)
[:6.0.0.20101110-CR1]
at
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:274)
[:6.0.0.20101110-CR1]
at
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:94)
[:6.0.0.20101110-CR1]
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:159)
[:6.0.0.20101110-CR1]
at
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1156)
[:6.0.0.20101110-CR1]
at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:119)
[:6.0.0.20101110-CR1]
at
com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
[:6.0.0.20101110-CR1]
at
org.jboss.ejb3.tx2.impl.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:82)
[:0.0.1]
at
org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:255)
[:0.0.1]
at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.required(CMTTxInterceptor.java:349)
[:0.0.1]
at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invoke(CMTTxInterceptor.java:209)
[:0.0.1]
at
org.jboss.ejb3.tx2.aop.CMTTxInterceptorWrapper.invoke(CMTTxInterceptorWrapper.java:52)
[:0.0.1]
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
[jboss-aop.jar:2.2.1.Alpha3]
at
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
[:1.0.0.GA]
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
[jboss-aop.jar:2.2.1.Alpha3]
at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) [:1.0.3]
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
[jboss-aop.jar:2.2.1.Alpha3]
at
org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:182)
[:1.6.3]
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
[jboss-aop.jar:2.2.1.Alpha3]
at
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
[:1.6.3]
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
[jboss-aop.jar:2.2.1.Alpha3]
at
org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)
[:1.6.3]
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
[jboss-aop.jar:2.2.1.Alpha3]
at
org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47)
[:1.6.3]
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
[jboss-aop.jar:2.2.1.Alpha3]
at
org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
[:1.0.1]
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
[jboss-aop.jar:2.2.1.Alpha3]
at
org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86)
[:1.6.3]
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
[jboss-aop.jar:2.2.1.Alpha3]
at
org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:227)
[:1.6.3]
at
org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:142)
[:1.6.3]
at
org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler.invoke(NoInterfaceViewInvocationHandler.java:154)
[:6.0.0.20101110-CR1]
at
org.jboss.ejb3.proxy.javassist.JavassistInvocationHandlerAdapter.invoke(JavassistInvocationHandlerAdapter.java:71)
[:1.0.0-alpha-1]
at
org.jboss.seam.rest.example.tasks.resource.TaskResource_$$_javassist_6.deleteTask(TaskResource_$$_javassist_6.java)
[:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_23]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_23]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_23]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_23]
at
org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
[:6.0.0.20101110-CR1]
at
org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
[:6.0.0.20101110-CR1]
at
org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
[:6.0.0.20101110-CR1]
at
org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
[:6.0.0.20101110-CR1]
at
org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:127)
[:6.0.0.20101110-CR1]
at
org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:62)
[:6.0.0.20101110-CR1]
at
org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:102)
[:6.0.0.20101110-CR1]
at
org.jboss.seam.rest.example.tasks.resource.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$jharting$jboss$Seam_3$jboss-6$0$0$20101110-CR1$server$default$deploy$seam-tasks$war"-SessionBean-TaskResource_$$_WeldProxy.deleteTask(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$jharting$jboss$Seam_3$jboss-6$0$0$20101110-CR1$server$default$deploy$seam-tasks$war"-SessionBean-TaskResource_$$_WeldProxy.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_23]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_23]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_23]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_23]
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
[:6.0.0.20101110-CR1]
at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:252)
[:6.0.0.20101110-CR1]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:217)
[:6.0.0.20101110-CR1]
at
org.jboss.resteasy.core.ResourceLocator.invokeOnTargetObject(ResourceLocator.java:151)
[:6.0.0.20101110-CR1]
at org.jboss.resteasy.core.ResourceLocator.invoke(ResourceLocator.java:91)
[:6.0.0.20101110-CR1]
at
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:503)
[:6.0.0.20101110-CR1]
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:480)
[:6.0.0.20101110-CR1]
at
org.jboss.resteasy.core.SynchronousDispatcher.invokePropagateNotFound(SynchronousDispatcher.java:139)
[:6.0.0.20101110-CR1]
at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:211)
[:6.0.0.20101110-CR1]
at
org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:59)
[:6.0.0.20101110-CR1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
[:6.0.0.20101110-CR1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.20101110-CR1]
at
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)
[:6.0.0.20101110-CR1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
[:6.0.0.20101110-CR1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.20101110-CR1]
at
org.jboss.seam.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:69)
[:3.0.0.Alpha3]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
[:6.0.0.20101110-CR1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.20101110-CR1]
at
org.jboss.seam.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:79)
[:3.0.0.Alpha3]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
[:6.0.0.20101110-CR1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.20101110-CR1]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[:6.0.0.20101110-CR1]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[:6.0.0.20101110-CR1]
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
[:6.0.0.20101110-CR1]
at
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
[:1.1.0.Final]
at
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
[:1.1.0.Final]
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
[:6.0.0.20101110-CR1]
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
[:6.0.0.20101110-CR1]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
[:6.0.0.20101110-CR1]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[:6.0.0.20101110-CR1]
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
[:6.0.0.20101110-CR1]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[:6.0.0.20101110-CR1]
at
org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
[:6.0.0.20101110-CR1]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[:6.0.0.20101110-CR1]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[:6.0.0.20101110-CR1]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
[:6.0.0.20101110-CR1]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
[:6.0.0.20101110-CR1]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]
12:18:24,792 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-tasks].[default]]
Servlet.service() for servlet default threw exception:
org.jboss.seam.rest.exceptions.UnhandledException:
javax.ejb.EJBTransactionRolledbackException: Transaction rolled back
at
org.jboss.seam.rest.exceptions.SeamExceptionMapper.toResponse(SeamExceptionMapper.java:123)
[:3.0.0-SNAPSHOT]
at
org.jboss.seam.rest.exceptions.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$jharting$jboss$Seam_3$jboss-6$0$0$20101110-CR1$server$default$deploy$seam-tasks$war"-ManagedBean-org$jboss$seam$rest$exceptions$SeamExceptionMapper[@javax$enterprise$context$ApplicationScoped()@javax$ws$rs$ext$Provider()]{org$jboss$seam$rest$exceptions$SeamExceptionMapper$interpolator[@javax$inject$Inject()]$org$jboss$seam$rest$exceptions$SeamExceptionMapper$response[@javax$inject$Inject()@org$jboss$seam$rest$exceptions$RestResource()]$org$jboss$seam$rest$exceptions$SeamExceptionMapper$responseBuilder[@javax$inject$Inject()@org$jboss$seam$rest$exceptions$RestResource()]$org$jboss$seam$rest$exceptions$SeamExceptionMapper$validationExceptionHandler[@javax$inject$Inject()]$org$jboss$seam$rest$exceptions$SeamExceptionMapper$init(javax$servlet$ServletContext[@javax$enterprise$event$Observes(during=IN_PROGRESS,notifyObserver=ALWAYS)@org$jboss$seam$servlet$event$Initialized()])$org$jboss$seam$rest$exceptions$SeamExceptionMapper$init[@javax$inject$Inject()](org$jboss$seam$rest$exceptions$ExceptionMappingConfiguration)$}_$$_WeldClientProxy.toResponse(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$jharting$jboss$Seam_3$jboss-6$0$0$20101110-CR1$server$default$deploy$seam-tasks$war"-ManagedBean-org$jboss$seam$rest$exceptions$SeamExceptionMapper[@javax$enterprise$context$ApplicationScoped()@javax$ws$rs$ext$Provider()]{org$jboss$seam$rest$exceptions$SeamExceptionMapper$interpolator[@javax$inject$Inject()]$org$jboss$seam$rest$exceptions$SeamExceptionMapper$response[@javax$inject$Inject()@org$jboss$seam$rest$exceptions$RestResource()]$org$jboss$seam$rest$exceptions$SeamExceptionMapper$responseBuilder[@javax$inject$Inject()@org$jboss$seam$rest$exceptions$RestResource()]$org$jboss$seam$rest$exceptions$SeamExceptionMapper$validationExceptionHandler[@javax$inject$Inject()]$org$jboss$seam$rest$exceptions$SeamExceptionMapper$init(javax$servlet$ServletContext[@javax$enterprise$event$Observes(during=IN_PROGRESS,notifyObserver=ALWAYS)@org$jboss$seam$servlet$event$Initialized()])$org$jboss$seam$rest$exceptions$SeamExceptionMapper$init[@javax$inject$Inject()](org$jboss$seam$rest$exceptions$ExceptionMappingConfiguration)$}_$$_WeldClientProxy.java)
at
org.jboss.resteasy.core.SynchronousDispatcher.executeExceptionMapper(SynchronousDispatcher.java:297)
[:6.0.0.20101110-CR1]
at
org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:312)
[:6.0.0.20101110-CR1]
at
org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:305)
[:6.0.0.20101110-CR1]
at
org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:198)
[:6.0.0.20101110-CR1]
at
org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:174)
[:6.0.0.20101110-CR1]
at
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:518)
[:6.0.0.20101110-CR1]
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:480)
[:6.0.0.20101110-CR1]
at
org.jboss.resteasy.core.SynchronousDispatcher.invokePropagateNotFound(SynchronousDispatcher.java:139)
[:6.0.0.20101110-CR1]
at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:211)
[:6.0.0.20101110-CR1]
at
org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:59)
[:6.0.0.20101110-CR1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
[:6.0.0.20101110-CR1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.20101110-CR1]
at
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)
[:6.0.0.20101110-CR1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
[:6.0.0.20101110-CR1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.20101110-CR1]
at
org.jboss.seam.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:69)
[:3.0.0.Alpha3]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
[:6.0.0.20101110-CR1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.20101110-CR1]
at
org.jboss.seam.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:79)
[:3.0.0.Alpha3]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
[:6.0.0.20101110-CR1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.20101110-CR1]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[:6.0.0.20101110-CR1]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[:6.0.0.20101110-CR1]
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
[:6.0.0.20101110-CR1]
at
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
[:1.1.0.Final]
at
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
[:1.1.0.Final]
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
[:6.0.0.20101110-CR1]
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
[:6.0.0.20101110-CR1]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
[:6.0.0.20101110-CR1]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[:6.0.0.20101110-CR1]
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
[:6.0.0.20101110-CR1]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[:6.0.0.20101110-CR1]
at
org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
[:6.0.0.20101110-CR1]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[:6.0.0.20101110-CR1]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[:6.0.0.20101110-CR1]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
[:6.0.0.20101110-CR1]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
[:6.0.0.20101110-CR1]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]
Caused by: javax.ejb.EJBTransactionRolledbackException: Transaction rolled back
at
org.jboss.ejb3.tx2.impl.CMTTxInterceptor.handleEndTransactionException(CMTTxInterceptor.java:115)
[:0.0.1]
at
org.jboss.ejb3.tx2.impl.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:87)
[:0.0.1]
at
org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:255)
[:0.0.1]
at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.required(CMTTxInterceptor.java:349)
[:0.0.1]
at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invoke(CMTTxInterceptor.java:209)
[:0.0.1]
at
org.jboss.ejb3.tx2.aop.CMTTxInterceptorWrapper.invoke(CMTTxInterceptorWrapper.java:52)
[:0.0.1]
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
[jboss-aop.jar:2.2.1.Alpha3]
at
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
[:1.0.0.GA]
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
[jboss-aop.jar:2.2.1.Alpha3]
at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) [:1.0.3]
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
[jboss-aop.jar:2.2.1.Alpha3]
at
org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:182)
[:1.6.3]
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
[jboss-aop.jar:2.2.1.Alpha3]
at
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
[:1.6.3]
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
[jboss-aop.jar:2.2.1.Alpha3]
at
org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)
[:1.6.3]
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
[jboss-aop.jar:2.2.1.Alpha3]
at
org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47)
[:1.6.3]
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
[jboss-aop.jar:2.2.1.Alpha3]
at
org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
[:1.0.1]
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
[jboss-aop.jar:2.2.1.Alpha3]
at
org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86)
[:1.6.3]
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
[jboss-aop.jar:2.2.1.Alpha3]
at
org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:227)
[:1.6.3]
at
org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:142)
[:1.6.3]
at
org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler.invoke(NoInterfaceViewInvocationHandler.java:154)
[:6.0.0.20101110-CR1]
at
org.jboss.ejb3.proxy.javassist.JavassistInvocationHandlerAdapter.invoke(JavassistInvocationHandlerAdapter.java:71)
[:1.0.0-alpha-1]
at
org.jboss.seam.rest.example.tasks.resource.TaskResource_$$_javassist_6.deleteTask(TaskResource_$$_javassist_6.java)
[:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_23]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_23]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_23]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_23]
at
org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
[:6.0.0.20101110-CR1]
at
org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
[:6.0.0.20101110-CR1]
at
org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
[:6.0.0.20101110-CR1]
at
org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
[:6.0.0.20101110-CR1]
at
org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:127)
[:6.0.0.20101110-CR1]
at
org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:62)
[:6.0.0.20101110-CR1]
at
org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:102)
[:6.0.0.20101110-CR1]
at
org.jboss.seam.rest.example.tasks.resource.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$jharting$jboss$Seam_3$jboss-6$0$0$20101110-CR1$server$default$deploy$seam-tasks$war"-SessionBean-TaskResource_$$_WeldProxy.deleteTask(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$jharting$jboss$Seam_3$jboss-6$0$0$20101110-CR1$server$default$deploy$seam-tasks$war"-SessionBean-TaskResource_$$_WeldProxy.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_23]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_23]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_23]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_23]
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
[:6.0.0.20101110-CR1]
at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:252)
[:6.0.0.20101110-CR1]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:217)
[:6.0.0.20101110-CR1]
at
org.jboss.resteasy.core.ResourceLocator.invokeOnTargetObject(ResourceLocator.java:151)
[:6.0.0.20101110-CR1]
at org.jboss.resteasy.core.ResourceLocator.invoke(ResourceLocator.java:91)
[:6.0.0.20101110-CR1]
at
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:503)
[:6.0.0.20101110-CR1]
... 32 more
Caused by: javax.transaction.RollbackException: ARJUNA-16053 Could not commit
transaction.
at
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1168)
[:6.0.0.20101110-CR1]
at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:119)
[:6.0.0.20101110-CR1]
at
com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
[:6.0.0.20101110-CR1]
at
org.jboss.ejb3.tx2.impl.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:82)
[:0.0.1]
... 80 more
Caused by: java.lang.Throwable: setRollbackOnly called from:
at
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.setRollbackOnly(TransactionImple.java:306)
[:6.0.0.20101110-CR1]
at
org.hibernate.transaction.synchronization.CallbackCoordinator.setRollbackOnly(CallbackCoordinator.java:131)
[:3.6.0.Final]
at
org.hibernate.transaction.synchronization.CallbackCoordinator.beforeCompletion(CallbackCoordinator.java:121)
[:3.6.0.Final]
at
org.hibernate.transaction.synchronization.HibernateSynchronizationImpl.beforeCompletion(HibernateSynchronizationImpl.java:51)
[:3.6.0.Final]
at
com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:97)
[:6.0.0.20101110-CR1]
at
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:274)
[:6.0.0.20101110-CR1]
at
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:94)
[:6.0.0.20101110-CR1]
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:159)
[:6.0.0.20101110-CR1]
at
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1156)
[:6.0.0.20101110-CR1]
... 83 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: