weblogic.rjvm.PeerGoneException / or java.rmi.UnmarshalException ???

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Apr 2007
Posts: 126
Reputation: new_2_java is an unknown quantity at this point 
Solved Threads: 6
new_2_java new_2_java is offline Offline
Junior Poster

weblogic.rjvm.PeerGoneException / or java.rmi.UnmarshalException ???

 
0
  #1
Feb 29th, 2008
Hi Folks,

I am making an RMI call to a remost host (Weblogic) and am getting the following nested exceptions
  1. weblogic.rjvm.PeerGoneException: ; nested exception is:
  2. java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is:
  3. java.io.InvalidClassException: com.ic.framework.exceptions.ExceptionLevel; local class incompatible: stream classdesc serialVersionUID = 2325229144791754421, local class serialVersionUID = 8262877763253319801
  4. at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
  5. at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:290)
  6. at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:248)
  7. at com.ic.mp.svcs.ejb.StorageEjbBean_rt8nh6_EOImpl_816_WLStub.storeDocs(Unknown Source)
  8. at com.ic.mp.svcs.ejb.Harness.DocumentLoad.run(DocumentLoad.java:300)
  9. Caused by: java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is:
  10. java.io.InvalidClassException: com.ic.framework.exceptions.ExceptionLevel; local class incompatible: stream classdesc serialVersionUID = 2325229144791754421, local class serialVersionUID = 8262877763253319801
  11. at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:769)
  12. at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:782)
  13. at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:718)
  14. at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:654)
  15. at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:282)
  16. at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
  17. at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
  18. at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
  19. Caused by: java.io.InvalidClassException: com.ic.framework.exceptions.ExceptionLevel; local class incompatible: stream classdesc serialVersionUID = 2325229144791754421, local class serialVersionUID = 8262877763253319801
  20. at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463)
  21. at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
  22. at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
  23. at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
  24. at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
  25. at weblogic.rjvm.ClassTableEntry.readExternal(ClassTableEntry.java:33)
  26. at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
  27. at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
  28. at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
  29. at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
  30. at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65)
  31. at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37)
  32. at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:212)
  33. at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:251)
  34. at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:748)

When I try to connect to remote host (A) using RMI call, it works fine, but when I try to connect to remost host (B) using RMI call, it gives me the above exception.

Can some one suggest...

Thanks.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 1
Reputation: s_damry is an unknown quantity at this point 
Solved Threads: 0
s_damry s_damry is offline Offline
Newbie Poster

Re: weblogic.rjvm.PeerGoneException / or java.rmi.UnmarshalException ???

 
0
  #2
Nov 7th, 2008
Hello,

I was wondering if you found a solution a Iḿ getting a similar problem, i.e. unmarshal exception and invalidclassexception

thanks
S.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 706
Reputation: stultuske is a jewel in the rough stultuske is a jewel in the rough stultuske is a jewel in the rough 
Solved Threads: 84
stultuske's Avatar
stultuske stultuske is offline Offline
Master Poster

Re: weblogic.rjvm.PeerGoneException / or java.rmi.UnmarshalException ???

 
0
  #3
Nov 7th, 2008
Originally Posted by s_damry View Post
Hello,

I was wondering if you found a solution a Iḿ getting a similar problem, i.e. unmarshal exception and invalidclassexception

thanks
S.
you could start your own thread instead of just re-opening a thread that's been dead for almost a year
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 126
Reputation: new_2_java is an unknown quantity at this point 
Solved Threads: 6
new_2_java new_2_java is offline Offline
Junior Poster

Re: weblogic.rjvm.PeerGoneException / or java.rmi.UnmarshalException ???

 
0
  #4
Nov 7th, 2008
s_damry,

The problem was that the classes on the server was different than the classes on the client side.

You need to make sure to reference the same class (from the same built) in your client side.

That's all you need to do.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC