Hi, I updated from SVN LockManagerFactory and configure is well called now, thanks.
the EOFException still remains, it seems there is a problem with serialization of LockInfo and HttpObjectStream. Lot of people seams to have this problem (searching google), but i don't really understand what is it really. I know what serialization is , i did it (with file), but i can't see where something is wrong in LockManagerRemoteImpl. Thanks for any help. OJB 1.0.4. Sun JVM 1.4 On 9/28/06, Bruno CROS <[EMAIL PROTECTED]> wrote:
Hi, Once i'va modified constructor of LockManagerRemoteImpl to initialize lockserver variable, i started to test LockManagerRemoteImpl and get into an EOFException. URL sun implementation , release 1.0.4 Thanks Caused by: java.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully( ObjectInputStream.java:2165) at java.io.ObjectInputStream$BlockDataInputStream.readShort( ObjectInputStream.java:2634) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:734) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:253) at org.apache.ojb.broker.locking.LockManagerRemoteImpl.performRequestObject( LockManagerRemoteImpl.java:383) at org.apache.ojb.broker.locking.LockManagerRemoteImpl.performRequest( LockManagerRemoteImpl.java:335) at org.apache.ojb.broker.locking.LockManagerRemoteImpl.releaseLock( LockManagerRemoteImpl.java:193) ... 41 more
