Perhaps just a coincidence, but the message being printed out is one I
just internationalized. I don't know why changing the message (and the
SQL State from null to 58009) should stop the system from being shut
down, but I thought it may be useful information all the same.
David
Deepa Remesh (JIRA) wrote:
[ http://issues.apache.org/jira/browse/DERBY-1326?page=comments#action_12413319 ]
Deepa Remesh commented on DERBY-1326:
-------------------------------------
Bryan, I applied the patch and ran the repro. I do not get the hang but seeing
this exception instead of the usual shutdown exception after a system shutdown:
EXPECTED EXCEPTION: Insufficient data while reading from the network - expected
a minimum of 6 bytes and received only -1 bytes. The connection has been
terminated.
instead of
EXPECTED EXCEPTION: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ015, SQLERRMC:
Derby system shutdown.
I am still looking at the changes but wanted to check if you get the same
results with the patch ?
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, sessionMgmt1.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