Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
If you try to use a connection to a database that has been shutdown, you get the following error message:
ERROR 08006: A network protocol error was encountered and the connection has been terminated: the requested command encountered an unarchitected and implementation-specific condition for which there was no architected message
The error message should say that the database has been shut down.
Repro:
------------
term1: start NS
term2: ij> connect 'jdbc:derby://localhost/test';
term3: ij> connect 'jdbc:derby://localhost/test;shutdown=true'
term2: ij> show tables
ERROR 08006: A network protocol error was encountered and the connection has been terminated: the requested command encountered an unarchitected and implementation-specific condition for which there was no architected message
Attachments
Issue Links
- is related to
-
DERBY-4219 Wrong SQLState when client has lost connection to server
- Open