You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Stefan Geelen <st...@xentri.com> on 2001/11/22 23:48:36 UTC

Xalan and applets (java.lang.ExceptionInInitializerError)

Hi,

I try to use Xalan-Java version 2.2.D13 with an applet.

The appet works fine in the appletviewer but gives following error in a browser (IE6 or NS6, both working with Java Plug-in v1.3).

-----------------------------
Exception occurred during event dispatching:
java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.util.PropertyPermission jaxp.debug read)
 at java.security.AccessControlContext.checkPermission(Unknown Source)
 at java.security.AccessController.checkPermission(Unknown Source)
 at java.lang.SecurityManager.checkPermission(Unknown Source)
 at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
 at java.lang.System.getProperty(Unknown Source)
------------------------------------

All the Jars are correctly signed with a certificate and the Plug-in asks for granting permission to give to the applet , so this works correctly.

The archive tag is the following : ARCHIVE = "sxmlmill.jar,sxalan.jar,sxml-apis.jar,sxerces.jar"   (these are the signed applets).

Does anyone have any idea ?

Thx

Stefan