You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Jørgen Løland (JIRA)" <ji...@apache.org> on 2008/02/27 11:13:54 UTC

[jira] Created: (DERBY-3471) Report meaningful error message when trying to use a connection to a database that has been shutdown

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.


[jira] Updated: (DERBY-3471) Report meaningful error message when trying to use a connection to a database that has been shutdown

Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kathey Marsden updated DERBY-3471:
----------------------------------

    Component/s: Network Server
                 Network Client

> 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
>          Components: Network Client, Network Server
>            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.