This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am using webstart for deploying/updating my swing desktop client, It is a simple JNLP set up where JNLP picks up the application jar and dependent jars from the same directory where it resides, Now I made some changes to my application code and deployed (through FTP)it on the weblogic HTTPserver, cleared my cache from JWS home on local machine, But to my surprise JNLP was picking the old application jar(2.1.0), hmmmm I then tried to change the version(2.2.0) so to make it less confusing for the WS but no it still persists on picking the old version jar , then I thought may be stale jars are there in HTTP server So I cleansed that as well, cleaned local cache and deployed new version again but WS is stubborn as ever, Am I pointing to a different URL where some stale JNLP with its stale jar side kicks ruining my day, OK I removed the jnlp from server then tried running client of course after all the long and tedious cleansing procedure but this time I got an error because I have deleted the JNLP so at least I know that I am pointing to the right location (the folder where my jars and jnlp are on http server) through URL, but If I am pointing to the right place I am having only the latest jar in server with jnlp pointing to that jar only, with my desktop cache cleaned what can cause the problem ? why stale jars are still being downloaded even when I am not pointing that version through JNLP. Then I googled abit and found this site http://lopica.sourceforge.net/faq.html Where they suggested to append these five option
And then I realized Found in cache: DisckCacheEntry .javaws\cache\http\D<URL>\P80\DM<folder where jars are>\RM<stale.jar>;null Now what that means ? Please help [ January 19, 2007: Message edited by: prateek urmaliya ]
this message brought to you by .... PIE! .... it's yummy! ;)
Joined: Sep 15, 2006
Sorry I forgot to mention the version JWS 1.2.0_02 JRE 1.4.2_05 if that matters