If I'm not mistaken, the stubs have to be on both the server and the
client side. RMI is a bit tricky that way...

--Jeff


Aaron Stromas wrote:
> 
> > Aaron Stromas wrote:
> >
> > > [EMAIL PROTECTED] wrote:
> > >
> > > > On Tue, Jan 11, 2000 at 02:00:00PM +0000, Aaron M. Stromas wrote:
> > > > > greetings,
> > > > >
> > > > > may someone have a hint as to what my problem may be and how to fix it.
> > > > > here is what is happening. i have a an rmi application with linux
> > > > > client  (jdk 1.2) and solaris server (jdk 1.3). the client throws an
> > > > > UnmarshalException. i could not figure out why it wa happening, so i
> > > > > tried the rmi example from the  "professional java server programming"
> > > > > which also throws the unmarshal exception. the client ran fine on the
> > > > > same solaris box where the server ran, so i tried the client from
> > > > > another solaris host, also running jdk 1.3 - runs fine.
> > > >
> > > > Don't the two vm's have to be the same, as the serial numbers will be
> > > > different between 1.2 and 1.3, which will cause Serialization errors?
> > > >
> > >
> > > i did not know that. is that a fact? if so, i have a serious problem :-(
> >
> > that does not appear to be so, at least, not on solaris - i installed
> > jdk1.2.1_04 and the client ran ok.
> >
> 
> it also worked on linux when i copied the _Stub class to the client.
> so, why doesn't the server find the stub to return to the client?
> --
> Aaron Stromas
> Oracle Corp.
> 
> "Tick-tick-tick!!!... ja, Pantani is weg...."
>                   (BRTN commentator, L'Alpe d'Huez, 1995 Tour de
> France)
> 

-- 
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
======================================================================
Linus Torvalds on Microsoft and software development:
"... if it's a hobby for me and a job for you, why are you doing such a
shoddy job of it?"

The views expressed herein do not necessarily reflect those of my
employer.

Sun Microsystems, Inc., has no connection to my involvement with the
Mozilla Organization.


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to