Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6995917

request not go through proxy correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 6u22
    • Fix Version/s: 7
    • Component/s: deploy
    • Labels:

      Backports

        Description

        Here's the scenario:

        1. User login to an authentication server which routes all the requests
           through a proxy, the app is then loaded
        2. User run operations in the app

        User encountered two problems depending on the JRE version and network options:

        Problem 1:

         User is able to login to the authentication server but fails to load the app
         because some jars are not downloaded completely. This problem went
         away since 6u21. So this is not a real issue now.

        Problem 2:

         When user perform one of the function in the app, the request is unexpectedly
         routed through PROXY=DIRECT instead of the actual proxy. As a result, the user
         encounters java.net.UnknownHostException which follows by a null-pointer
         exception.

         The interesting part here is that with JRE 6u18, this problem is "workaround"
         by a running JVM with -Dhttp.keepAlive=false (ie request correctly rounted
         through the actual proxy). But in later JRE starting 6u19, the keepAlive
         workaround has no effect.

         The expectation is that the request should route through the actual proxy
         without any workaround on latest JRE (currently 6u22). So that after clicking
         the "reject" basket (step 11 below), the page reloaded with data.


        Here's the test matrix:

        JRE keepAlive result
        ----------------------------------------
        6u18 T problem 1
        6u18 F expected behavior

        6u19 T problem 1
        6u19 F problem 2

        6u20 T problem 1
        6u20 T problem 2

        6u21 F problem 2
        6u21 F problem 2

        6u22 T problem 2
        6u22 F problem 2


        Please see comments for how to reproduce the problem, and
        location of data collected by customer.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  herrick Andy Herrick
                  Reporter:
                  lkchow Lawrence Chow
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: