Question

The server reports that the JNLP client requests resources multiple times before checking jar.

It may be the wished-for resource is requested up to 10 times from the server, before finally checking and finding the it in the loaded JAR-file. My app is deployed as an applet using dtjava.embed() and a JNLP-file. The applet does start, but only after a big delay for the 100+ requests it sends to the server first!

Any ideas on what is causing the redundant requests, and how to fix it?

Was it helpful?

Solution

So it was actually this page which lead me to the solution: Java WebStart slow, requesting libraries from invalid folder

I didn't know about indexing of JARs at all. Now I do. And as soon as I added an index to the JAR, the problem went away!

Thank you all.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top