[ http://issues.apache.org/jira/browse/DERBY-1326?page=comments#action_12414883 ]
Deepa Remesh commented on DERBY-1326: ------------------------------------- I applied 'resolve_DRDConnThread_conflict.diff' and ran the repro 50 times without any hang. This patch solves the hang mentioned in this issue. Also resolves the problems discovered while working on this issue. I have only minor comments: * Indentation seems to be out of place in NetworkServerControlImpl.java in the comment added to startNetworkServer method. Also in the changes in checkDataSource.java * It may be useful to have some more comment in startNetworkServer method as to why we interrupt the threads in addition to calling close on them. > Network server may abandon sessions when Derby system is shutdown and this > causes intermittent hangs in the client > ------------------------------------------------------------------------------------------------------------------ > > Key: DERBY-1326 > URL: http://issues.apache.org/jira/browse/DERBY-1326 > Project: Derby > Type: Bug > Components: Network Server > Reporter: Deepa Remesh > Assignee: Bryan Pendleton > Attachments: repro1326.java, resolve_DRDConnThread_conflict.diff, > sessionMgmt1.diff, sessionMgmt1_and_nosessionsforclosedthreads.diff, > withNewThreadAndNoShutdownOfCurrentSession.diff > > This issue was found when working on DERBY-1219. More details can be found in > the comments at http://issues.apache.org/jira/browse/DERBY-1219 -- 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