United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4816800 : Webstart's proxy settings not available to application

Details
Type:
Enhancement
Submit Date:
2003-02-11
Status:
Closed
Updated Date:
2003-09-25
Project Name:
JDK
Resolved Date:
2003-09-25
Component:
deploy
OS:
windows_nt
Sub-Component:
webstart
CPU:
x86
Priority:
P3
Resolution:
Not an Issue
Affected Versions:
1.2.0
Fixed Versions:

Related Reports

Sub Tasks

Description

Name: nt126004			Date: 02/11/2003


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) 
======================================================================

                                    

Comments
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.

###@###.### 2003-02-11
                                     
2003-02-11



Hardware and Software, Engineered to Work Together