ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raj" <ponnusamy....@tenth-planet.com>
Subject binnding RMIDispatcher to client
Date Wed, 05 Jul 2006 17:08:37 GMT
Hi all 

I invoke the ofbiz RMIDispatcher from client to ofbiz server .I also change
latest ofbiz-service-rmi.jar from server to client.but I can't get through
it   ,please any body help me.here I listed log file 

 

 

java.rmi.UnmarshalException: error unmarshalling return; nested exception
is: 

      java.io.InvalidClassException:
org.ofbiz.service.rmi.socket.zip.CompressionClientSocketFactory; local class
incompatible: stream classdesc serialVersionUID = -7751495693367440749,
local class serialVersionUID = 830610525710844423

      at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)

      at java.rmi.Naming.lookup(Naming.java:84)

      at src.ExampleRemoteClient.<init>(ExampleRemoteClient.java:36)

      at src.ExampleRemoteClient.main(ExampleRemoteClient.java:55)

Caused by: java.io.InvalidClassException:
org.ofbiz.service.rmi.socket.zip.CompressionClientSocketFactory; local class
incompatible: stream classdesc serialVersionUID = -7751495693367440749,
local class serialVersionUID = 830610525710844423

      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463)

      at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)

      at
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)

      at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)

      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)

      at sun.rmi.transport.tcp.TCPEndpoint.read(TCPEndpoint.java:504)

      at sun.rmi.transport.LiveRef.read(LiveRef.java:254)

      at sun.rmi.server.UnicastRef2.readExternal(UnicastRef2.java:54)

      at java.rmi.server.RemoteObject.readObject(RemoteObject.java:420)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

      at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)

      at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)

      at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)

      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)

      ... 4 more

 

Regards

P.Raj


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message