United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 4772298 proxy authentication dialog pop up twice even if username/password is correct
4772298 : proxy authentication dialog pop up twice even if username/password is correct

Details
Type:
Bug
Submit Date:
2002-10-31
Status:
Resolved
Updated Date:
2002-11-26
Project Name:
JDK
Resolved Date:
2002-11-26
Component:
deploy
OS:
generic
Sub-Component:
webstart
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.4.2
Fixed Versions:
1.4.2

Related Reports
Relates:

Sub Tasks

Description
this is caused by fixing 4699771 - which javaws now depends on the JRE proxy password caching mechanism.

and because of the bug in the JRE code ( bug 4769350: proxy authentication username and password caching only works in serial case ), we run into this problem.

To reproduce:

1.  Make sure java web start is using password proxy:
comanche.sfbay.sun.com
username: jaws
password: jawstest

2.  go to java web start demo site on java.sun.com.

3.  click on any demos.  it will trigger java web start to launch the demo.

4.  now the splash screen comes up.  and then the download window.  and next
should be the password dialog.

5.  enter correct username and passowrd.  click okay.

6.  it will pop up another username dialog.  but the downloading of resources
will continue and eventually the application will start and all dialogs goes
away.

See bug 4769350 for root cause of this problem.

                                    

Comments
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
mantis-beta

FIXED IN:
mantis-beta

INTEGRATED IN:
mantis-b09
mantis-beta


                                     
2004-08-31
SUGGESTED FIX

http://javaweb.sfbay/~ngthomas/webrevs/4772298/webrev/


###@###.### 2002-11-15
                                     
2002-11-15
EVALUATION

the two threads that pop up the dialog are:

1.  Launcher thread (run method)
2.  CacheImageLoader thread (run method)


###@###.### 2002-10-31


networking team has put in the fix in mantis by setting the system properties:

http.auth.serializeRequests=true

I tested it with a build from networking team just now and it works.  All we need to do is set the system property in web start.

Plugin should probably set this property too.

###@###.### 2002-11-14
                                     
2002-11-14



Hardware and Software, Engineered to Work Together