Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4754925
Votes 0
Synopsis WebStart does not correctly configure with AutoProxy file
Category javawebstart:other
Reported Against 1.2
Release Fixed
State 11-Closed, duplicate of 4433701, bug
Priority: 3-Medium
Related Bugs 4433701
Submit Date 27-SEP-2002
Description




FULL PRODUCT VERSION :
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)

and

java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)

FULL OPERATING SYSTEM VERSION :
 customer  Windows 2000 [Version 5.00.2195]
service pack 2

A DESCRIPTION OF THE PROBLEM :
WebStart is using the wrong proxy server for our environment.
Our auto-proxy config file looks like:

  function FindProxyForURL(url, host)
    {
    if (isPlainHostName(host))
      return "PROXY 192.168.1.125:8081";
    else
      return "PROXY 192.168.1.177:8080";
    }

This configuration file causes the browser to use one proxy
for internal servers, another for external servers.  It
appears that WebStart is attempting to use the internal
proxy for requests to external servers...so I conclude that
it is not reading the autoconfiguration file correctly.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Configure IE to use the above auto-proxy file (which must be
placed on a webserver)
2. Start WebStart
3. From the WebStart menu, select File->Preferences


EXPECTED VERSUS ACTUAL BEHAVIOR :
The "Use Browser" proxy setting is selected ( customer !) but the
IP address selected is for the wrong server.  In the above
example file, the selected proxy address is the first one
that appears in the config file source code.  However, it
should the second one, since that is the correct proxy for
external domains (servers).  This script works fine with
both IE and Netscape.
As a result, WebStart cannot check for updates becuase it is
using the wrong proxy server and there is no direct path to
the Internet available.

REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 164356) 
======================================================================
Work Around
N/A
Evaluation
This is a dupe of : 4433701, and 4469455, ie: webstart does not contain 
a javascript interpreter, and makes only rudimentry attempt to extract 
proxy settings from auto config script.
  xxxxx@xxxxx   2002-09-30
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang