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

java dont use IE proxy settings with WPAD

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 5.0u6
    • deploy
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      1.5.0_06_b5

      ADDITIONAL OS VERSION INFORMATION :
      windows XP SP2

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      internal lan network, with a restrictive firewall that dont allow any traffic, proxy server is required to browser the web

      A DESCRIPTION OF THE PROBLEM :
      i'm in a internal lan without direct internet access, to use the internet i'm REQUIRED to use a proxy.

      right now the proxy setup in IE is "automaticaly detect settings", so its using WPAD and IE works fine.

      going to a site with java will fail because java is trying to download the jar directly, without the proxy.

      running the same site in firefox works fine, but if i turn off the "use browser settings" in java control panel and put in the proxy settings it works fine
      if i change in IE from WPAD to a the same URL for the proxy.pac, java also works fine

      so seens that java is failling to read the WPAD setup from IE, where it can read fine the firefox setup


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      setup a blocking firewall for all traffic
      setup a proxy to access the web
      setup a wpad (via wpad.$domain DNS query)
      configure IE for automaticaly detect proxy settings
      configure java to use the browser settings

      go to
      http://www.lapiscor.com/FotoMix.html

      the java will fail to load, traffic sniffinf wil show java trying to access the internet directly, not vir browser

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      java use the browser setting and download the jar via the proxy
      ACTUAL -
      java tried to download the jar directly

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      -change the proxy config in IE to use a manual proxy or a manual proxy.pac url
      -change in java control panel the proxy settings to other than browser settings
      -just move to firefox and never, ever use IE (my favorite 8)

            dgu Dennis Gu (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: