db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ibrahim Hasbini <hasb...@gmail.com>
Subject Re: Intermittent "Connection closed by unknown interrupt." errors
Date Tue, 04 May 2010 07:48:46 GMT
Hello,

There's no calls to Thread.interrupt() in my application code. I'm
still unable to explain from where the interrupt is being generated.

Thanks,
Ibrahim

>> 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?
>http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Thread.html#interrupt()
>
>This API is, unfortunately, unsafe to call in a Derby-based application, as the
>Derby code does not protect itself from these interrupt() calls.
>
>thanks,
>
>bryan

Mime
View raw message