I have multiple JWS applications on a server with request logging turned on. One of the apps was taking 8 secs to start from a icon click, when nothing has changed. There is a 4 second delay between the first set of requests and the second. 4 seconds does not seem bad, but doing it twice is. There is no load on the server with 100MBS port & (0.080s latency) from the client.
Only certain list of properties can be used by untrusted applications (http://docs.oracle.com/javase/tutorial/deployment/doingMoreWithRIA/properties.html).
Anything outside the list means application need to be validated before property is set. And to set the system property or pass new JVM option JVM need to be restarted (as webstart engine does not know whether property can be changed in runtime).
I suspect this is what happening in your case - application essentially starts twice.
Please post full JNLP file and provide details on whether your app is signed, includes signed JNLP file and how do you launch it (using command line with full URL? local copy of JNLP file? click in the browser?).
For the Java 1.7 resources, I just removed the 2 swing properties. I am not even sure the speedofpainting one is in production. Only saw it on a blog.
I also tried this after the removal on 1.7.0_06 b16 on OS X. There is still doing the double check. b16 will not upgrade due to a change in b18. Was going to wait around to see the next release fixed, but will go to b20 manually if needed.
Edited by: user3055980 on Jul 30, 2012 11:20 AM
All tests except the last on 1.7.0_06 b16 were on Window 7