[ 
https://issues.apache.org/jira/browse/DERBY-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464762
 ] 

Bernt M. Johnsen commented on DERBY-2166:
-----------------------------------------

This patch catches SocketTimeOutException and throws a 
DRDASocketTimeoutException which is a subclass of DRDAProtocolException which 
then again is caught in DRDAConnThread.processCommand(). Not the nicest 
solution, but does the job.

Comments please.

> Implement proper handling of SocketTimeoutException in DRDAConnThread
> ---------------------------------------------------------------------
>
>                 Key: DERBY-2166
>                 URL: https://issues.apache.org/jira/browse/DERBY-2166
>             Project: Derby
>          Issue Type: Improvement
>          Components: Network Server
>            Reporter: Bernt M. Johnsen
>         Assigned To: Bernt M. Johnsen
>         Attachments: derby-2166.diff, derby-2166.stat
>
>
> A timeout is set on the session socket (ClientThread) but the 
> SocketTimeoutException is not taken care of. Connections is therefore closed 
> down if derby.drda.timeSlice is set and the client idles longer then the 
> timeslice. See DERBY-1856 for more details.

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

        

Reply via email to