FULL PRODUCT VERSION : java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing) ADDITIONAL OS VERSION INFORMATION : Microsoft WIndows 2000 [Version 5.00.2195] A DESCRIPTION OF THE PROBLEM : Webstart seems to keep using the old jnlp file after the first time it encounters a problem with a bad href in the jnlp file. After fixing the href in the jnlp file on the webserver, webstart keeps using the old cached jnlp file no matter what I do. The only way to resolve the problem is to uninstall the webstart application from using the java control panel. I understand how this can happen when launching the app from the desktop icon. Basically, the app can't get the updated jnlp file without using the href in the old jnlp file (check and egg problem). However, this should not happen when I launch the application from the browser, but it does. I turned off all browser caching and even set the applciation/jnlp to not allow offline or desktop/shortcut support and it still happens. When launched from the browser, the browser is passing to webstart a new and proper jnlp file, but webstart still trys to use its old jnlp file and ingnores the one passed in by the browser. This is busted and needs fixing. If the site administrator make a mistake one time, every user will need to delete their jnlp cache before they could get the app to work again. This is not good when you have hundred or thousands of desktop users. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Create a webstart application and put its jnlp file on a webserver. Request the jnlp file from the desktop and run the webstart application. Now go to the webserver and modify the "href" attribute in the jnlp file to be something that is "wrong". Of course now when you run the webstart app from the desktop it will tell you that there is a problem with the jnlp file and it will not start. Now fix the "href" in the jnlp file on the webserver and try to start the application again. The application will give the same error and will reference the old bad jnlp file whether you launch it from the desktop webstart icon or from an IE browser. The only way to fix the problem is for the desktop user to uninstall the webstart application. REPRODUCIBILITY : This bug can be reproduced always. ###@###.### 11/1/04 23:23 GMT
|