V
varlagas
Esmond Pitt, in his java.rmi book, mentions that "it is perfectly
possible to deploy systems where servers use a different version of the
JDK from clients".
Since the book is a 2001 one (no newer books on RMI exist), it
discusses JDK 1.3. Indeed, I have tested interoperability of a 1.2.2
client with a 1.3.1 server in two different environment and it works
just fine.
However, with a 1.4.2 server I get the following exception:
java.rmi.UnmarshalException: error unmarshalling return; nested
exception is:
java.lang.ClassNotFoundException: sun.util.calendar.ZoneInfo
java.lang.ClassNotFoundException: sun.util.calendar.ZoneInfo
at java.lang.Throwable.<init>(Throwable.java:96)
at java.lang.Exception.<init>(Exception.java:44)
at
java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:7
1)
at
java.ibjectInputStream.inputObject(ObjectInputStream.java:1200)
at
java.ibjectInputStream.readObject(ObjectInputStream.java:479)
at
java.ibjectInputStream.readObject(ObjectInputStream.java:234)
at
sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:304)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:96)
at
npmt.cli.common.base.NVNovaCommonDataImpl_Stub.getServerTimezone(NVNo
vaCommonDataImpl_Stub.java:157)
at
npmt.cli.common.base.NovaCommonData.getTheTimezone(NovaCommonData.jav
a:639)
at
npmt.cli.common.NovaLogon.buttonOk_ActionPerformed(NovaLogon.java:76)
Could you please advise whether it is possible to have a 1.2.2 client /
1.4.2 server configuration?
Many thanks in advance!
Panagiotis Varlagas.
possible to deploy systems where servers use a different version of the
JDK from clients".
Since the book is a 2001 one (no newer books on RMI exist), it
discusses JDK 1.3. Indeed, I have tested interoperability of a 1.2.2
client with a 1.3.1 server in two different environment and it works
just fine.
However, with a 1.4.2 server I get the following exception:
java.rmi.UnmarshalException: error unmarshalling return; nested
exception is:
java.lang.ClassNotFoundException: sun.util.calendar.ZoneInfo
java.lang.ClassNotFoundException: sun.util.calendar.ZoneInfo
at java.lang.Throwable.<init>(Throwable.java:96)
at java.lang.Exception.<init>(Exception.java:44)
at
java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:7
1)
at
java.ibjectInputStream.inputObject(ObjectInputStream.java:1200)
at
java.ibjectInputStream.readObject(ObjectInputStream.java:479)
at
java.ibjectInputStream.readObject(ObjectInputStream.java:234)
at
sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:304)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:96)
at
npmt.cli.common.base.NVNovaCommonDataImpl_Stub.getServerTimezone(NVNo
vaCommonDataImpl_Stub.java:157)
at
npmt.cli.common.base.NovaCommonData.getTheTimezone(NovaCommonData.jav
a:639)
at
npmt.cli.common.NovaLogon.buttonOk_ActionPerformed(NovaLogon.java:76)
Could you please advise whether it is possible to have a 1.2.2 client /
1.4.2 server configuration?
Many thanks in advance!
Panagiotis Varlagas.