Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Excption during invoking EJB deployed on Weblogic

 
Vikram Shinde
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am getting excption "java.rmi.UnmarshalException: Could not unmarshal method ID" when I am trying to access EJB deployed on weblogic8.1
Here is the complete trace that I get at client side -
----------------------------------------------------
C:\EJB\tamino\tools\Wl810>C:\bea\weblogic81\..\jdk141_05\bin\java ejb.session.st
ateful.TransferClient
ATTENTION: Usage: TransferClient <JDNI-NAME>
using default JNDI-NAME <TransferHome>
create Session bean
getBalance for 333-456-7890
333-456-7890 = 517.0
deposit 200 to 333-456-7890
getBalance for 333-456-7890
333-456-7890 = 717.0
withdraw 150 from 333-456-7890
getBalance for 333-456-7890
333-456-7890 = 567.0
getBalance for 111-456-7890
111-456-7890 = 727.0
transfer 77 from 333-456-7890 to 111-456-7890
test failed
java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:
java.rmi.UnmarshalException: Method not found: 'move(Ljava.lang.String;L
java.lang.String;D)'
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.j
ava:108)
at weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(Activata
bleRemoteRef.java:83)
at ejb.session.stateful.Transfer_jeth5m_EOImpl_812_WLStub.move(Unknown S
ource)
at ejb.session.stateful.TransferClient.main(Unknown Source)
Caused by: java.rmi.UnmarshalException: Method not found: 'move(Ljava.lang.Strin
g;Ljava.lang.String;D)'
at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:155
)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:265
)
at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:923)
at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:844)
at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerSer
ver.java:222)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:794)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:570)
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:105)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
32)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
remove the bean
----------------------------------------------------
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic