United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4997192 : Error 1305 when running jupdate through NTLM proxy

Details
Type:
Bug
Submit Date:
2004-02-19
Status:
Resolved
Updated Date:
2004-03-30
Project Name:
JDK
Resolved Date:
2004-03-30
Component:
install
OS:
windows_2000
Sub-Component:
install
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.2_03
Fixed Versions:
1.4.2_05 (05)

Related Reports

Sub Tasks

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


                                     
2004-06-14
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
                                     
2004-02-19
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
                                     
2004-02-19



Hardware and Software, Engineered to Work Together