custom JnlpDownloadServlet: JAR downloads occur twice?
I've implemented a custom version of the JnlpDownloadServlet, because I primarily want my own handling of the URL query string. I have it setup to handle both JNLP and JAR downloads and all seems to work - the JNLP apps and JARs download then start and that is good.For simplicity I initially left out jar-diffing, versioning as well as pack200 handling, but decided to try including pack200 handling just now.Again, I seem to have it running fine, but, in the process of setting this up, I found (by displaying the DownloadRequest within the servlet's handleRequest method) that the JNLP client (Web Start) appears to be:
1) on an initial JNLP application launch, requesting each JAR twice
2) on subsequent JNLP launching (with no cache clear), requesting each JAR once more
In each case, the pack200 JAR is found and sent.As far as I can tell, Web Start is functioning ok, but I am mystified by this apparent multiple and repetitive downloading of JARs. Is this expected behaviour?Is it something that I need to take care of, like maybe with some sort of versioning or whatever? Is there some sort of debug tracing I can set in the Web Start client to see what's going on?

