[JBoss JIRA] Created: (EJBTHREE-1082) Exception wrapping and delivering
by Fang Tianying (JIRA)
Exception wrapping and delivering
---------------------------------
Key: EJBTHREE-1082
URL: http://jira.jboss.com/jira/browse/EJBTHREE-1082
Project: EJB 3.0
Issue Type: Bug
Components: EJB3 Extensions
Affects Versions: AS 4.2.1.GA
Environment: SUN jdk1.5 , windows XP , JBoss4.2.1GA
Reporter: Fang Tianying
hi,
This problem is easy to recur.
When SLSB A(transaction att:requried) calls SLSB B(transaction att: not supported ) though B's local interface, and B throws a RuntimeException, then A will recieve just this very RuntimeException rather than an EJBException.
I mean the EJB Container should wrap the rt. ex thrown by SLSB B to an EJBException, and then deliver the EJBException to it's caller - SLSB A.
If it is a bug, I'm appriciated to any responses. fangtianying(a)yahoo.cn
best regards,
FangTianying
--
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
17 years, 11 months
[JBoss JIRA] Created: (EJBTHREE-1058) Cannot invoke EJBObject methods on EJBs without explicit Home Interface Defined
by Andrew Rubinger (JIRA)
Cannot invoke EJBObject methods on EJBs without explicit Home Interface Defined
-------------------------------------------------------------------------------
Key: EJBTHREE-1058
URL: http://jira.jboss.com/jira/browse/EJBTHREE-1058
Project: EJB 3.0
Issue Type: Bug
Affects Versions: AS 5.0.0.Beta3, HEAD
Reporter: Andrew Rubinger
Assigned To: Andrew Rubinger
Fix For: AS 5.0.0.Beta3, HEAD
Assuming:
public interface StatefulRemote extends EJBObject{...}
...and:
@Stateful
@Remote(StatefulRemote.class)
@RemoteBinding(jndiBinding = StatefulRemote.JNDI_NAME_REMOTE)
public class StatefulRemoteBean
..when invoking:
Object obj = getInitialContext().lookup(StatefulRemote.JNDI_NAME_REMOTE);
EJBObject ejbObject = (EJBObject) obj;
ejbObject.remove();
...the following exception is encountered:
Could not resolve beanClass method from proxy call
java.lang.RuntimeException: Could not resolve beanClass method from proxy call
at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:330)
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:769)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
at org.jboss.remoting.Client.invoke(Client.java:1634)
at org.jboss.remoting.Client.invoke(Client.java:548)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:72)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateful.StatefulRemoteProxy.invoke(StatefulRemoteProxy.java:135)
at $Proxy2.remove(Unknown Source)
--
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
17 years, 11 months