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

          Manjula Kutty created issue -
          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!
          Jeff Levitt made changes -
          Field Original Value New Value
          Attachment derby283.diff [ 12323810 ]
          Attachment tadminconfigipx.html [ 12323811 ]
          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 -

          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
          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
          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
          Manjula Kutty made changes -
          Derby Info [Release Note Needed]
          Stan Bradbury made changes -
          Link This issue is duplicated by DERBY-148 [ DERBY-148 ]
          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.
          Mike Matrigali made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Kathey Marsden made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Kathey Marsden made changes -
          Affects Version/s 10.6.1.0 [ 12313727 ]
          Affects Version/s 10.0.2.1 [ 10991 ]
          Kathey Marsden made changes -
          Fix Version/s 10.6.1.0 [ 12313727 ]
          Gavin made changes -
          Workflow jira [ 42594 ] Default workflow, editable Closed status [ 12799807 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          1518d 15h 36m 1 Mike Matrigali 10/Jul/09 21:44
          Resolved Resolved Closed Closed
          559d 20h 4m 1 Kathey Marsden 21/Jan/11 17:48

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development