JDK-6437824 : java dont use IE proxy settings with WPAD
  • Type: Enhancement
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 5.0u6
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2006-06-13
  • Updated: 2014-02-27
  • Resolved: 2006-08-17
Description
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)

Comments
EVALUATION This feature is only available in Mustang, please see RFE 4772835 for detail.
27-06-2006

EVALUATION need to verify if this works in mustang, and if so, add mustang-na
13-06-2006