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

DerbyNetAutoStart test fails on JDK 1.6 after introduction JDBC4 driver autoloading

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.2.1.6
    • Fix Version/s: 10.2.1.6
    • Component/s: Test
    • Labels:
      None
    • Environment:
      Sun JDK 1.6

      Description

      DerbyNetAutoStart.java fails when running on JDK 1.6 with DerbyNet and DerbyClient frameworks with the following error:

      Starting test case 1.
      Could not access database through the network server.
      java.net.ConnectException : Error connecting to server localhost on port 152
      7 with message Connection refused.
      Starting test case 2.
      Could not access database through the network server.
      java.net.ConnectException : Error connecting to server localhost on port 314
      15 with message Connection refused.
      Starting test case 3.
      Starting test case 4.
      Starting test case 5.
      FAILED.

      This test seems to have failed consistently since JDBC4 driver autoloading was introduced (see DERBY-930).

        Attachments

        1. autoload.diff
          2 kB
          Olav Sandstaa

          Issue Links

            Activity

              People

              • Assignee:
                olav Olav Sandstaa
                Reporter:
                olav Olav Sandstaa
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: