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

java.lang.Exception: DRDA_UnableToAccept.S:Unable to accept connections and client hang if tracing is turned on but traceDirectory does not exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.3.2.1, 10.3.3.0, 10.4.1.3, 10.5.1.1
    • 10.3.3.1, 10.4.2.0, 10.5.1.1
    • Network Server
    • None
    • Release Note Needed
    • Regression

    Description

      Attempting to connect to network server if derby.drda.traceAll is set to true and derby.drda.traceDirectory is set to a non-existent directory causes the following exception on the console when the client attempts to connect and causes the client to hang.
      java.lang.Exception: DRDA_UnableToAccept.S:Unable to accept connections.
      at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(NetworkServerControlImpl.java:
      3172)
      at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(NetworkServerControlImpl.java:1829
      )
      at org.apache.derby.impl.drda.ClientThread.run(ClientThread.java:116)

      See attached program DerbyIssue.java for reproducible test case.
      This is a regression. It did not occur with 10.3.1.4.

      Attachments

        1. releaseNote.html
          5 kB
          Richard N. Hillegas
        2. releaseNote.html
          5 kB
          Richard N. Hillegas
        3. releaseNote.html
          5 kB
          Katherine Marsden
        4. releaseNote.html
          5 kB
          Katherine Marsden
        5. derby-3701_diff.txt
          12 kB
          Katherine Marsden
        6. derby-3701_try1_diff.txt
          3 kB
          Katherine Marsden
        7. DerbyIssue.java
          2 kB
          Katherine Marsden

        Issue Links

          Activity

            People

              kmarsden Katherine Marsden
              kmarsden Katherine Marsden
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: