java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272) at java.security.AccessController.checkPermission(AccessController.java:399) at java.lang.SecurityManager.checkPermission(SecurityManager.java:545) at java.lang.SecurityManager.checkConnect(SecurityManager.java:1042) at sun.plugin.protocol.jdk12.http.HttpURLConnection.connectStep1(HttpURLConnection.java:170) at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(HttpURLConnection.java:282) at Ns6JsACE.load(Ns6JsACE.java:24) at java.lang.reflect.Method.invoke(Native Method) at sun.plugin.liveconnect.PrivilegedCallMethodAction.run(SecureInvocation.java:564) at java.security.AccessController.doPrivileged(Native Method) at sun.plugin.liveconnect.SecureInvocation.CallMethod(SecureInvocation.java:273) at sun.plugin.navig.motif.AThread.handleRequest(Native Method) at sun.plugin.navig.motif.AThread.JNIHandleLoop(AThread.java:44) at sun.plugin.navig.motif.AThread.run(AThread.java:36)
Workaround
The I/O connections should be opened in a separate thread that is created before the JavaScript calls, in applet init().
Related bug: Netscape 6 + JavaScript freezing at class loading