Hi All,
I am facing a problem. When i try to construct a Call object in an
applet it gives me the following error and the applet resides in a
webserver.
Error----------------------------
Inside cometmgr applet constructor
Inside cometDbServer.constructor
Inside Clientdb->constructor
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)
at
javax.xml.parsers.DocumentBuilderFactory.<clinit>(DocumentBuilderFactory.jav
a:321)
at org.apache.soap.util.xml.XMLParserUtils.getXMLDocBuilder(Unknown Source)
at org.apache.soap.rpc.Call.<init>(Unknown Source)
at org.apache.soap.rpc.Call.<init>(Unknown Source)
at org.apache.soap.rpc.Call.<init>(Unknown Source)
at ClientDB.<init>(ClientDB.java:27)
at CometdbServer.<init>(CometdbServer.java:12)
at CometMgrApplet.<init>(CometMgrApplet.java:57)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Can anyone tell me why i am getting this security exception when i am trying
to construct the Call object even before i call invoke. Please help me out.
I need a solution fast. Any suggestions will do. Thanks in advance.
With Regards
Sajit