We actually have problems with webstart applications which need a lot of time to start, even when we use caches to store all the needed jarfiles locally on the client. Can someone give me any hints how to measure the startup time for webstart applications with dynatrace?
Answer by Matthias D. ·
We use a Java-Swing-Webstart application. There is nothing to download as all the needed files are in a local cache. I'm interested in some helpful method sensors to measure the time and the actions used to start the application.
Answer by Paul K. ·
The best way to find out what happens in the JVM during startup of the Applet is executing a CPU sample.
The default AWT Sensor Pack (How to diagnose AWT and Swing Applications#DefaultAWTSensorPack) won't help since no user action is executed yet.
Instrumenting the Applet's main method could be another option, but you'll need to close the Applet as soon as it started, otherwise the PurePath will time out. To find the Main Class see the <applet-desc> tag in JNLP file.