[
https://issues.jboss.org/browse/JBAS-9443?page=com.atlassian.jira.plugin....
]
Alejandro Giraldo commented on JBAS-9443:
-----------------------------------------
Hello. This the stacktrace:
14:09:46,937 ERROR [STDERR] javax.ejb.EJBException: MyAppException: Oops
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.tx.BMTInterceptor.handleException(BMTInterceptor.java:94)
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.tx.StatefulBMTInterceptor.handleInvocation(StatefulBMTInterceptor.java:114)
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.tx.BMTInterceptor.invoke(BMTInterceptor.java:57)
14:09:46,937 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.stateful.StatefulCacheInterceptor.invoke(StatefulCacheInterceptor.java:65)
14:09:46,937 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.concurrency.aop.interceptor.ContainerManagedConcurrencyInterceptor.invoke(ContainerManagedConcurrencyInterceptor.java:181)
14:09:46,937 ERROR [STDERR] at
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
14:09:46,937 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.stateful.StatefulInstanceAssociationInterceptor.invoke(StatefulInstanceAssociationInterceptor.java:55)
14:09:46,937 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.tx2.aop.NoOpInterceptor.invoke(NoOpInterceptor.java:45)
14:09:46,937 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
14:09:46,937 ERROR [STDERR] at
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
14:09:46,937 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
14:09:46,937 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:182)
14:09:46,937 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
14:09:46,937 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)
14:09:46,937 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47)
14:09:46,937 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
14:09:46,937 ERROR [STDERR] at
org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
14:09:46,937 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86)
14:09:46,937 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:333)
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:390)
14:09:46,937 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor510.invoke(Unknown
Source)
14:09:46,937 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
14:09:46,937 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.proxy.impl.handler.session.SessionLocalProxyInvocationHandler$LocalContainerInvocation.invokeTarget(SessionLocalProxyInvocationHandler.java:184)
14:09:46,937 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.async.impl.interceptor.AsynchronousClientInterceptor.invoke(AsynchronousClientInterceptor.java:143)
14:09:46,937 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.proxy.impl.handler.session.SessionLocalProxyInvocationHandler$LocalInvokableContextHandler.invoke(SessionLocalProxyInvocationHandler.java:159)
14:09:46,937 ERROR [STDERR] at $Proxy396.invoke(Unknown Source)
14:09:46,937 ERROR [STDERR] at
org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:185)
.... etc
Thanks.
BMT Stateful EJB method throwing an Application Exception causes the
bean to be destroyed
-----------------------------------------------------------------------------------------
Key: JBAS-9443
URL:
https://issues.jboss.org/browse/JBAS-9443
Project: Legacy JBoss Application Server 6
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: EJB
Affects Versions: 6.1.0
Environment: Windows XP, JDK 1.6
Reporter: Alejandro Giraldo
Assignee: Carlo de Wolf
If a BMT Stateful EJB method throws an application exception, the exception gets wrapped
in an EJBException whichs causes the bean to be destroyed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira