Leif, >Altrmi, welcome to Avalon :-) > :-)
>I built Altrmi on one machine and added it to a project. Then ran the >client from another machine and get the following error. > >[ERROR] Unexpected IOE in StreamServerConnection #1 >java.io.InvalidClassException: >org.apache.excalibur.altrmi.common.OpenConnectionRequest; Local class >not compatible: stream classdesc serialVersionUID=1773735791378198918 >local class serialVersionUID=-1874297155983386446 >at java.io.ObjectStreamClass.validateLocalClass(Unknown Source) >at java.io.ObjectStreamClass.setClass(Unknown Source) >at java.io.ObjectInputStream.inputClassDescriptor(Unknown Source) >at java.io.ObjectInputStream.readObject(Unknown Source) >at java.io.ObjectInputStream.readObject(Unknown Source) >at java.io.ObjectInputStream.inputObject(Unknown Source) >at java.io.ObjectInputStream.readObject(Unknown Source) >at java.io.ObjectInputStream.readObject(Unknown Source) >at >org.apache.excalibur.altrmi.common.SerializationHelper.getInstanceFromBytes(SerializationHelper.java:98) >at >org.apache.excalibur.altrmi.common.SerializationHelper.getInstanceFromBytes(SerializationHelper.java:75) >at >org.apache.excalibur.altrmi.server.impl.ServerCustomStreamReadWriter.readRequest(ServerCustomStreamReadWriter.java:66) >at >org.apache.excalibur.altrmi.server.impl.ServerCustomStreamReadWriter.writeReplyAndGetRequest(ServerCustomStreamReadWriter.java:47) >at >org.apache.excalibur.altrmi.server.impl.StreamServerConnection.run(StreamServerConnection.java:86) >at java.lang.Thread.run(Unknown Source) > >This is using the Instrument client/manager packages. This class might >need to have a hardcoded serialVersion id. > I think that might be it, and had marveled that we had not had to address baseline issues before. It might be that using target attribute of the javac taskdef might solve things without hardcoding serialization ids. Question. What were the three machines involved? Their OS and JDK versions please 1) build machine 2) server 3) client Regards, - Paul H -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
