Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3471

Report meaningful error message when trying to use a connection to a database that has been shutdown

    XMLWordPrintableJSON

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

          Activity

            People

              Unassigned Unassigned
              jorgenlo Jorgen Loland
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: