Derby
  1. Derby
  2. DERBY-283

On IPv6/Ipv4 dual stack windows machines, the network server needs the following jvm properties to be prefixed while starting the server .

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.6.1.0
    • Fix Version/s: 10.6.1.0
    • Component/s: Network Server
    • Labels:
      None
    • Issue & fix info:
      Release Note Needed

      Description

      On IPv6/Ipv4 dual stack windows machines, the network server needs the following jvm properties to be prefixed while starting the server .
      -Djava.net.preferIPv4Stack=false
      -Djava.net.preferIPv6Addresses=true

      This is a Windows OS problem and have to track to to see when MS is going to fix and then make the appropriate changes in our docs

      1. derby283.diff
        3 kB
        Jeff Levitt
      2. tadminconfigipx.html
        3 kB
        Jeff Levitt

        Issue Links

          Activity

          Hide
          Mike Matrigali added a comment -

          Documentation change was committed, closing the issue as jvm properties are now documented.

          Show
          Mike Matrigali added a comment - Documentation change was committed, closing the issue as jvm properties are now documented.
          Hide
          Manjula Kutty added a comment -

          Please add thi to the Release Notes:

          PROBLEM

          UnknownHost Exception while trying to connect with NetworkClient on a Windows dual boot IPv4/IPv6 machine
          SYMPTOM
          The following exception will occur
          ij> CONNECT 'jdbc:derby://hostname:1527/sample;create=true ' USER 'mkutty' PASSWORD 'admin';
          ERROR (no SQLState): java.net.UnknownHostException : Error opening socket to ser
          ver cranium-v6.rtp.raleigh.ibm.com on port 1527 with message : <hostname>

          CAUSE:
          There may be an underlying windows bug causing this issue

          SOLUTION:
          There is no Derby fix available for this issue

          WORKAROUND:
          Start the client and server running on the IPv6 machine with the following jvm properties.
          -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true

          Show
          Manjula Kutty added a comment - Please add thi to the Release Notes: PROBLEM UnknownHost Exception while trying to connect with NetworkClient on a Windows dual boot IPv4/IPv6 machine SYMPTOM The following exception will occur ij> CONNECT 'jdbc:derby://hostname:1527/sample;create=true ' USER 'mkutty' PASSWORD 'admin'; ERROR (no SQLState): java.net.UnknownHostException : Error opening socket to ser ver cranium-v6.rtp.raleigh.ibm.com on port 1527 with message : <hostname> CAUSE: There may be an underlying windows bug causing this issue SOLUTION: There is no Derby fix available for this issue WORKAROUND: Start the client and server running on the IPv6 machine with the following jvm properties. -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true
          Hide
          Knut Anders Hatlen added a comment -

          derby283.diff is committed in revision 391284.

          Show
          Knut Anders Hatlen added a comment - derby283.diff is committed in revision 391284.
          Hide
          Jeff Levitt added a comment -

          If there are no objections with this patch, can it be committed? I have called for a review several times with no response, so I am assuming no one has any negative votes.

          Show
          Jeff Levitt added a comment - If there are no objections with this patch, can it be committed? I have called for a review several times with no response, so I am assuming no one has any negative votes.
          Hide
          Jeff Levitt added a comment -

          Can someone take a look at this patch and comment on it so that it can be committed if all looks OK? Thanks!

          Show
          Jeff Levitt added a comment - Can someone take a look at this patch and comment on it so that it can be committed if all looks OK? Thanks!
          Hide
          Jeff Levitt added a comment -

          Attached patch adds the information to the Admin Guide in the section about Starting the Network Server. HTML output included for review. Please let me know if it looks good so a committer can commit. Thanks!

          Show
          Jeff Levitt added a comment - Attached patch adds the information to the Admin Guide in the section about Starting the Network Server. HTML output included for review. Please let me know if it looks good so a committer can commit. Thanks!

            People

            • Assignee:
              Unassigned
              Reporter:
              Manjula Kutty
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development