db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olav Sandstaa (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-2029) Query timeout does not take effect if server machine crashes
Date Wed, 01 Nov 2006 21:14:16 GMT
Query timeout does not take effect if server machine crashes

                 Key: DERBY-2029
                 URL: http://issues.apache.org/jira/browse/DERBY-2029
             Project: Derby
          Issue Type: Bug
          Components: JDBC, Network Client
    Affects Versions:,,
         Environment: Solaris 10, JDK 1.5
            Reporter: Olav Sandstaa
            Priority: Minor

An application using the client driver will hang "infinite" if the
server machine running the Derby server crashes during execution of a
query even if it has specified a query timeout using

This problem can be reproduced (at least on Solaris 10) by:

 1. starting a Derby server on one machine and a Derby client on the second machine. 
 2. In a Java program, create a connection and a statement and set the 
    query timeout for the statement to a few seconds by:


 3. Execute a query that take some time (more than 10 seconds).
 4. During execute of the query, take the power on the machine running 
    the Derby server.
 5. Your program will hang "infinite".

I will post a short repro program that can be used.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message