-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
-
Workaround Exists
-
-
Medium
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)
- is related to
-
EJBTHREE-1059 Return a business interface from a home create method must not be allowed
- Resolved
-
EJBTHREE-1071 Business Interface must not extend EJBObject or EJBLocalObject
- Closed