|
Re: Why is java.rmi.server.SkeletonMismatchException deprecated?: msg#00045java.sun.rmi
On Aug 27, 2004, at 11:00 PM, Joseph Shraibman <jks@xxxxxxxxxxxxxxx> wrote: Why is java.rmi.server.SkeletonMismatchException deprecated? I just Just to step back a bit -- rmi.server.SkeletonMismatchException is deprecated because as of JDK 1.2, the skeleton classes, although still generated by rmic, are no longer used on the server side. For details, see: <http://java.sun.com/j2se/1.4.2/docs/api/java/rmi/server/ SkeletonMismatchException.html> <http://java.sun.com/j2se/1.4.2/docs/guide/rmi/spec/rmi-arch2.html> If you're still seeing a SkeletonMismatchException, then there's something funny going on, since the _Skel class should not be bound in to your app. On Aug 27, 2004, at 11:00 PM, Joseph Shraibman <jks@xxxxxxxxxxxxxxx> wrote: Can you explain how you got it? ...and... [snip]java.rmi.UnmarshalException: invalid method hash ...and... RemoteException occurred in server thread; nested exception is:[snip] Based on these three statements, it looks to me like the UnmarshallException is being properly generated when the interface on the server and client side don't match. The SkeletonMismatchException could be generated (as Peter Jones pointed out) by a number of causes: use of the 'v1.1' rmic option, or an old v1.1 rmic, or a server (or client) running JDK 1.1. If it's not any of the above causes, then there must be something going on that is not being considered -- probably something that would bind the _Skel class to your app even though that's not what you want to happen. But I'm just a newbie to RMI, so take my advice with a BOULDER of salt. =========================================================================== To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body of the message "signoff RMI-USERS". For general help, send email to listserv@xxxxxxxxxxxx and include in the body of the message "help". For a list of frequently asked RMI questions please refer to: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html To view past RMI-USERS postings, please see: http://archives.java.sun.com/archives/rmi-users.html
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Why is java.rmi.server.SkeletonMismatchException deprecated?, Joseph Shraibman |
|---|---|
| Next by Date: | Help: argument type mismatch, Steven M Payeur |
| Previous by Thread: | Re: Why is java.rmi.server.SkeletonMismatchException deprecated?, Peter Jones - JavaSoft East |
| Next by Thread: | Help: argument type mismatch, Steven M Payeur |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |