aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Excption during invoking EJB deployed on Weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Excption during invoking EJB deployed on Weblogic" Watch "Excption during invoking EJB deployed on Weblogic" New topic
Author

Excption during invoking EJB deployed on Weblogic

Vikram Shinde
Greenhorn

Joined: Apr 19, 2004
Posts: 3
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
----------------------------------------------------
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Excption during invoking EJB deployed on Weblogic