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: 4816800
Votes 0
Synopsis Webstart's proxy settings not available to application
Category javawebstart:spec
Reported Against 1.2
Release Fixed
State 11-Closed, Not a Defect, request for enhancement
Priority: 3-Medium
Related Bugs
Submit Date 11-FEB-2003
Description




FULL PRODUCT VERSION :
java version "1.3.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)


FULL OPERATING SYSTEM VERSION :All operating systems


A DESCRIPTION OF THE PROBLEM :
We have an application launched by Webstart that needs
to issue an HTTP-Request to the server it was launched from.

For this it needs the proxy settings from Java Webstart,
which are supplied as system properties proxyHost and
proxyPort. But this is neither specified nor documented.

>Is the problem that you cannot
>access the proxy information?

I did find out how to access the proxy information, but
- it took a long time, because this is not documented
- I hate to use an undocumented feature

>Are you requesting a documentation change

At least. I want an officially documented way to access the proxy settings.
I do not want my application to depend on undocumented features. I do not
want my application to be broken by a future change of the way to access
the proxy information.

>a change to the JNLP API?

Either a change in the JNLP-API, like 
        String getHTTPProxyHost(),
        int    getHTTPProxyPort(),
or a the commitment, that Java Webstart will always and forever and on all
platforms set the system properties
        proxyHost
        proxyPort
when it launches an application.

EXPECTED VERSUS ACTUAL BEHAVIOR :
An official specified and documented way the lets an javaws
launched application read the proxy settings from javaws.

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER WORKAROUND :
Use system properties proxyHost and proxyPort
(Review ID: 180587) 
======================================================================
Work Around
N/A
Evaluation
The network connections made by the java application will use the proxy settings detected by java web start.

If the application decided to specify their own proxy, it can always do so via the system properties proxyHost and proxyPort.

Need to contact customer to get more information on his request for the new JNLP API.

Also new JNLP API will only be considered in Tiger.

 xxxxx@xxxxx  2003-02-11
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang