db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendleton.de...@gmail.com>
Subject Re: Intermittent "Connection closed by unknown interrupt." errors
Date Tue, 04 May 2010 01:49:47 GMT
> I've been experiencing intermittent errors in derby.log that look like this:

> Caused by: java.lang.InterruptedException
> 	at java.lang.Object.wait(Native Method)
> 	at java.lang.Object.wait(Object.java:485)
> 	at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
> 	at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)

Do you call Thread.interrupt() anywhere in your application?

This API is, unfortunately, unsafe to call in a Derby-based application, as the
Derby code does not protect itself from these interrupt() calls.



View raw message