I have an applet running from a webserver. This applet loads correctly the first time, but than after a random number of times the applet does not startup and Internet Explorer freezes (I have to kill IE before I can continue).
The freeze seems to happen when trying to connect to the application server, requesting the jar file or information about it?
The end result for the user is a white webpage with nothing drawn on it.
Here is the relevant logfile from the java console:
Java Plug-in 1.5.0_06
Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
...
basic: Registered modality listener
liveconnect: Invoking JS method: document
liveconnect: Invoking JS method: URL
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@19c4844, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1c4a760
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
network: Connecting http://localhost/WebApp/applet.jar with proxy=DIRECT
network: Connecting http://localhost/WebApp/applet.jar with cookie "JSESSIONID=963DE1B4E51089B511B79A4E5EC26470"
network: Connecting http://localhost/WebApp/applet.jar with proxy=DIRECT
network: Connecting http://localhost/WebApp/applet.jar with cookie "JSESSIONID=963DE1B4E51089B511B79A4E5EC26470"
network: Connecting http://localhost/WebApp/com/lmsintl/applet/resource/Resources_en.class with proxy=DIRECT
network: Connecting http://localhost/WebApp/com/lmsintl/applet/resource/Resources_en.class with cookie "JSESSIONID=963DE1B4E51089B511B79A4E5EC26470"
network: Connecting http://localhost/WebApp/com/lmsintl/applet/resource/Resources_en.properties with proxy=DIRECT
network: Connecting http://localhost/WebApp/com/lmsintl/applet/resource/Resources_en.properties with cookie "JSESSIONID=963DE1B4E51089B511B79A4E5EC26470"
network: Connecting http://localhost/WebApp/applet.jar with proxy=DIRECT
network: Connecting http://localhost/WebApp/applet.jar with cookie "JSESSIONID=963DE1B4E51089B511B79A4E5EC26470"
network: Connecting http://localhost/WebApp/applet.jar with proxy=DIRECT
network: Connecting http://localhost/WebApp/applet.jar with cookie "JSESSIONID=963DE1B4E51089B511B79A4E5EC26470"
network: Connecting http://localhost/WebApp/applet.jar with proxy=DIRECT
network: Connecting http://localhost/WebApp/applet.jar with cookie "JSESSIONID=963DE1B4E51089B511B79A4E5EC26470"
network: Connecting http://localhost/WebApp/applet.jar with proxy=DIRECT
network: Connecting http://localhost/WebApp/applet.jar with cookie "JSESSIONID=963DE1B4E51089B511B79A4E5EC26470"
network: Connecting http://localhost/WebApp/applet.jar with proxy=DIRECT
network: Connecting http://localhost/WebApp/applet.jar with cookie "JSESSIONID=963DE1B4E51089B511B79A4E5EC26470"
liveconnect: Invoking JS method: execScript
liveconnect: Invoking JS method: evalIntermediateValueToReturn
liveconnect: Invoking method: public void com.lmsintl.applet.appletApplet.closeApplet()
basic: Stopping applet ...
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@1c4a760
basic: Finding information ...
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@19c4844, refcount=0
basic: Caching classloader: sun.plugin.ClassLoaderInfo@19c4844
basic: Current classloader cache size: 1
basic: Done ...
basic: Joining applet thread ...
basic: Destroying applet ...
basic: Disposing applet ...
basic: Quiting applet ...
basic: Joined applet thread ...
basic: Unregistered modality listener
...
basic: Registered modality listener
liveconnect: Invoking JS method: document
liveconnect: Invoking JS method: URL
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@19c4844, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1b07961
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
network: Connecting http://localhost/WebApp/applet.jar with proxy=DIRECT
network: Connecting http://localhost/WebApp/applet.jar with cookie "JSESSIONID=963DE1B4E51089B511B79A4E5EC26470"
< IE freeze here >
As far as I can tell I do not send any information trough a URLConnector at the crash, and the applet has not been fully started yet (not all classes are initialized).
Does anyone have any idea what the problem could be? Is this a JVM issue somewhere? The problem seems to occure more when loading the applet from a remote system.