[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: handleClientException()
On Tue, 21 Aug 2001, you wrote:
> Hi,
>
> I stored some objects in OzoneDB and did something to them. Everything is
> working fine. But when I shut down the server and restart it, then I tried
> to retrieve the objects again and I got the following error on the server
> side:
>
> [info] (341) InvokeServer: connection established...
> [info] (396) InvokeServer: user logged in: jromano
> [info] (396) ClusterStore: loadCluster(): load cluster from disk: 104
> [warn] (396) InvokeServer: handleClientException():
> java.net.SocketException: Co
> nnection reset by peer: JVM_recv in socket input stream read
> java.net.SocketException: Connection reset by peer: JVM_recv in socket
> input stream read
> at java.net.SocketInputStream.socketRead(Native Method)
> at java.net.SocketInputStream.read(SocketInputStream.java:86)
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
> at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
> at java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1549)
> at java.io.ObjectInputStream.refill(ObjectInputStream.java:1683)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:283)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
> at org.ozoneDB.DxLib.net.DxClient.receive(DxClient.java:107)
> at
> org.ozoneDB.DxLib.net.DxMultiServerClient.run(DxMultiServerClient.
> java:44)
> at java.lang.Thread.run(Thread.java:484)
> [info] (396) InvokeServer: connection closed (user: jromano)
>
> And on the client side, I got:
>
> D:\projects\datalayer\jbproject\DataLayer\classes>java
> com.glue.persistence.test
> com\glue\persistence\persistence.properties
> Exception in thread "main" java.lang.NullPointerException
> at
> com.glue.persistence.ozone.GTOzoneImpl.objectsOfClass(GTOzoneImpl.jav
> a:123)
Well, seems that you got a NPE at GTOzoneImpl.java:123, which forced the
client to stop, which shutdown the client end of the socket, which caused the
SocketException on server side.
Falko
--
______________________________________________________________________
Falko Braeutigam mailto:falko@smb-tec.com
SMB GmbH http://www.smb-tec.com
----------------------------------------------------------------------
Post a message: mailto:ozone-users@ozone-db.org
Unsubscribe: mailto:ozone-users-request@ozone-db.org?body=unsubscribe
Contact administrator: mailto:ozone-users-owner@ozone-db.org
Read archived messages: http://www.ozone-db.org/
----------------------------------------------------------------------