WLS 10.0 MP1 - UnmarshalException of "Method Not Found" due to use of generics in EJB interface (Doc ID 1451512.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 10.0 and later
Information in this document applies to any platform.

Symptoms

On WLS 10.0.1 running on JRockit R27.6.0-50_o-100423-1.5.0_15-20080626-2104-linux-x86_64, UnmarshalException is thrown when using EJBs are implemented with typed Collections, stack trace as below:

java.rmi.UnmarshalException: Method not found:
'echoCollection(Ljava.util.Collection;)'
javax.ejb.EJBException: nested
exception is:
java.rmi.UnmarshalException: Method not found:
'echoCollection(Ljava.util.Collection;)'
java.rmi.UnmarshalException: Method not found:
'echoCollection(Ljava.util.Collection;)'
at weblogic.rmi.internal.MethodDescriptor.getCanonical(MethodDescriptor.java:197)
at weblogic.rjvm.MsgAbbrevInputStream.getRuntimeMethodDescriptor(MsgAbbrevInputStream.java:496)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:268)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:918)
at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:1084)
at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:1001)
at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:240)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:877)
at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:446)
at weblogic.rjvm.t3.MuxableSocketT3.dispatch(MuxableSocketT3.java:368)
at weblogic.socket.AbstractMuxableSocket.dispatch(AbstractMuxableSocket.java:383)

 

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms