JDK-4997192 : Error 1305 when running jupdate through NTLM proxy
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 1.4.2_03
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2004-02-19
  • Updated: 2013-06-04
  • Resolved: 2004-03-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2_05 05Fixed
Description
Currently running Java Update (1.4.2_0x) through an authenticated proxy is not 
supported and the standard error should be shown: 
   http://java.sun.com/j2se/1.4.2/proxy_note.html

  "The installer cannot proceed with the current Internet Connection proxy
   settings. Please check the Installation Notes for more information."
   
With an NTLM authenticated proxy the standard error message is not being shown. 
The following one is:

  Error 1305. Error reading from file
  http://java.sun.com/webapps/download/GetFile/1.4.2
  _03-b02/windows-i586/Java 2 Runtime Environment, 
  SE v.14.2_03.msi. Verify that the file exists and that
  you can access it.
  

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.2_05 generic FIXED IN: 1.4.2_05 INTEGRATED IN: 1.4.2_05
14-06-2004

SUGGESTED FIX /installer/bundles/windows/ishield7/wrapper/wrapper.cpp *** 67,77 **** __leave; } // Make a HTTP HEAD request hRequest = ::HttpOpenRequest(hConnect, "HEAD", szURL, "HTTP/1.1", "", NULL, ! INTERNET_FLAG_KEEP_CONNECTION | INTERNET_FLAG_DONT_CACHE, 0); if (hRequest == NULL) { __leave; } --- 67,78 ---- __leave; } // Make a HTTP HEAD request hRequest = ::HttpOpenRequest(hConnect, "HEAD", szURL, "HTTP/1.1", "", NULL, ! INTERNET_FLAG_KEEP_CONNECTION | INTERNET_FLAG_DONT_CACHE | ! INTERNET_FLAG_NO_AUTH, 0); if (hRequest == NULL) { __leave; } ###@###.### 2004-02-19
19-02-2004

EVALUATION This is because the wrapper around the installer uses wininet to check and see if there is an internet connection available. WinINet used SSPI (Security Support Provider Interface), and the NTLM provider uses the logged in users credentials to transparently make the connection. The installer then runs and fails with the "Error 1305....." ###@###.### 2004-02-19
19-02-2004