943,682 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 6365
  • Java RSS
Feb 29th, 2008
0

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

Expand Post »
Hi Folks,

I am making an RMI call to a remost host (Weblogic) and am getting the following nested exceptions
Java Syntax (Toggle Plain Text)
  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.
Reputation Points: 7
Solved Threads: 6
Junior Poster
new_2_java is offline Offline
127 posts
since Apr 2007
Nov 7th, 2008
0

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

Hello,

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

thanks
S.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
s_damry is offline Offline
1 posts
since Nov 2008
Nov 7th, 2008
0

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

Click to Expand / Collapse  Quote originally posted by s_damry ...
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
Reputation Points: 919
Solved Threads: 354
Nearly a Posting Maven
stultuske is offline Offline
2,487 posts
since Jan 2007
Nov 7th, 2008
0

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

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.
Reputation Points: 7
Solved Threads: 6
Junior Poster
new_2_java is offline Offline
127 posts
since Apr 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Help for creating IDE
Next Thread in Java Forum Timeline: Setting up stack within code





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC