Looks like you changed the enterprise beans on the server and did not redeploy
skeletons to the client after that. Everytime you used GenIC, you have to push the
skeletons to the client, since RMI creates new version numbers (see below:
serialVersionUID are not the same).
-------- Original Message --------
Subject: Configuration Problems (24-Jul-2001 16:38)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
> Hi ,
> i am trying to connect to the remote server through RMI. I am getting
> following error. Is there any solution for that?
> I guess this error is because of the rmiregistry. but i don't know from
> where i can get the correct version and how to install it?
>
> URL is: rmi://Szuinet4/
> java.rmi.UnmarshalException: error unmarshalling return; nested exception
> is:
> java.io.InvalidClassException:
> com.hyperion.ap.adm.HssAdmServer_Stub; Lo
> cal class not compatible: stream classdesc serialVersionUID=2 local class
> serial
> VersionUID=-6222246119707407803
> at java.lang.Throwable.<init>(Throwable.java:74)
> at java.lang.Exception.<init>(Exception.java:38)
> at java.io.IOException.<init>(IOException.java:38)
> at java.rmi.RemoteException.<init>(RemoteException.java:35)
> at java.rmi.UnmarshalException.<init>(UnmarshalException.java:28)
> at
> sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:102)
>
> at java.rmi.Naming.lookup(Naming.java:48)
> at com.hyperion.ap.adm.HssAdm.openConnection(HssAdm.java:106)
> at TestMain.main(TestMain.java:22)
> IIIIIIInull com.hyperion.ap.APErrorMessage@1b80d7
> com.hyperion.ap.adm.HssAdm::<m
> ethod>: [Error: Exception connecting to remote server: ] Error: Exception
> connec
> ting to remote server: java.rmi.UnmarshalException 0 Error
>
> Any tips?
>
> thanks,
> Mahesh
>
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".
>
> To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".