Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Excption during invoking EJB deployed on Weblogic

Vikram Shinde
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 -
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
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.j
at weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(Activata
at ejb.session.stateful.Transfer_jeth5m_EOImpl_812_WLStub.move(Unknown S
at ejb.session.stateful.TransferClient.main(Unknown Source)
Caused by: java.rmi.UnmarshalException: Method not found: 'move(Ljava.lang.Strin
at weblogic.rmi.internal.MethodDescriptor.init(
at weblogic.rmi.internal.BasicServerRef.dispatch(
at weblogic.rjvm.RJVMImpl.dispatchRequest(
at weblogic.rjvm.RJVMImpl.dispatch(
at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerSer
at weblogic.rjvm.ConnectionManager.dispatch(
at weblogic.rjvm.t3.T3JVMConnection.dispatch(
at weblogic.socket.NTSocketMuxer.processSockets(
at weblogic.socket.SocketReaderRequest.execute(
at weblogic.kernel.ExecuteThread.execute(
remove the bean
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic