JDK-4772298 : proxy authentication dialog pop up twice even if username/password is correct
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.4.2
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2002-10-31
  • Updated: 2002-11-26
  • Resolved: 2002-11-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2 b09Fixed
Related Reports
Relates :  
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
31-08-2004

SUGGESTED FIX http://javaweb.sfbay/~ngthomas/webrevs/4772298/webrev/ ###@###.### 2002-11-15
15-11-2002

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
14-11-2002