-
1. Re: [JBoss 6.1.0 Snapshot build 53] WAR Archive & Java Web Start
snewman55 Sep 22, 2011 2:42 PM (in response to mlo)We're having the exact same problem with JBoss 6.1. Every time we stop/start JBoss, Java web start will always re-download the application. It works properly (ie. uses the cache) while the server is running.
We've used previous versions of JBoss without encountering this issue.
Any help would be appreciated. Thanks!
-
2. Re: [JBoss 6.1.0 Snapshot build 53] WAR Archive & Java Web Start
mlo Sep 23, 2011 5:44 AM (in response to snewman55)Hello.
After some tests, we found out that every time JBoss starts, it mounts the archive into a "temporary" directory.
So, when Java web start compares timestamp ( =creation date) of the cached archive & the newly mounted archive, it finds that the timestamp is different and then, downloads again the application, even if the application is the SAME.
In order to avoid this behaviour, we used the version-based protocol of Java web start (modify the .jnlp file & add a file version.xml into archive..)
This link : http://download.oracle.com/javase/1.4.2/docs/guide/jws/downloadservletguide.html could help you !
Good luck !
-
3. Re: [JBoss 6.1.0 Snapshot build 53] WAR Archive & Java Web Start
bhawthorne Sep 23, 2011 4:57 PM (in response to mlo)I've narrowed it down to the code that unzips the jars as they are deployed, it turns out it isn't preserving the last modified timestamp of the files from the archive.
I have submitted a JIRA & patch for the issue: https://issues.jboss.org/browse/JBVFS-177