File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web start still loading old App

 
James Gordon
Ranch Hand
Posts: 106
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm trying out the Web Start auto loading new application feature.
After putting in a new jar file in my web server, it still load the old version unless
I remove off the application at the Java Cache Viewer. I'd even waited
for 30min incase it only load after certain interval.

I'm using this sample application.
http://download.oracle.com/javase/tutorial/deployment/webstart/examplesIndex.html#DynamicTreeDemo

I just change some labels to make it a new version.

Is this behaviour expected because from what i read, Web Start should be
able to detect and load new version. Or is there any configurations that I need to do?



Please advise.


Thanks in advance.
 
Sunil Manheri
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Under resources tag you need to set the version attribute:

 
James Gordon
Ranch Hand
Posts: 106
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sunil,

The problem is fixed after I removed this element from the jnlp file:


The versioning approach you suggested is working as well.


Thanks for the advise.
 
Sunil Manheri
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good to know your issue has been resolved. If you remove the update tag, Java WebStart will use the default value "timeout" for updates, means while starting your application WebStart will check for updates, if there are updates the latest files will be downloaded and launched. Value "background" will check for updates in the background, the program launch will not be interrupted. If there are updates, We Start will keep a note of this, the next time you start your application the latest files will be downloaded.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic