Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

adventure of stale jars

 
prateek urmaliya
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello brethren,

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 ]
 
prateek urmaliya
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry I forgot to mention the version
JWS 1.2.0_02
JRE 1.4.2_05
if that matters
 
Mr. C Lamont Gilbert
Ranch Hand
Posts: 1170
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im not familiar with JNLP but that looks like browser cache. Maybe the webpage is cached and pulling up the old version of the page?
 
prateek urmaliya
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that looks like browser cache

where can I look to make sure that no stale jars are cached?
 
prateek urmaliya
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK I have deleted the IE cache but still I am getting the stale jar
Is this a problem with weblogic server maintainig the cache(I am using it as HTTP server)?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic