On 4/24/2012 1:19 PM, Tomcat Programmer wrote:

The only way to clear this up seems to be restarting the web container.   Is there some setting in Derby which is causing these connections to go stale?  Is there any way to
trace this and find out the cause?

Is there an interesting error in the derby.log that might indicate when you lost the connection?