Report meaningful error message when trying to use a connection to a database
that has been shutdown
----------------------------------------------------------------------------------------------------
Key: DERBY-3471
URL: https://issues.apache.org/jira/browse/DERBY-3471
Project: Derby
Issue Type: Improvement
Reporter: Jørgen Løland
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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.