Hi there,

I'm working on a project using the Java Buttons from dallas (and OCF),
and all the Webapplet examples won't run!
The normal programs run fine, but the WebApplets crash every
time.
This is  the output :
java.lang.ExceptionInInitializerError:
java.security.AccessControlException: access denied
(java.util.PropertyPermission OpenCard.trace read)
        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.fillInStackTrace(Compiled Code)
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Exception.<init>(Compiled Code)
        at java.lang.RuntimeException.<init>(RuntimeException.java:47)
        at java.lang.SecurityException.<init>(SecurityException.java:39)

        at
java.security.AccessControlException.<init>(AccessControlException.java:57)

        at java.security.AccessControlContext.checkPermission(Compiled
Code)
        at java.security.AccessController.checkPermission(Compiled Code)

        at java.lang.SecurityManager.checkPermission(Compiled
Code)
        at java.lang.SecurityManager.checkPropertyAccess(Compiled Code)
        at java.lang.System.getProperty(System.java:535)
        at opencard.core.util.Tracer.<init>(Compiled Code)
        at opencard.core.util.Tracer.<init>(Tracer.java:164)
        at <Unloaded Method>
        at
com.ibutton.oc.JibMultiFactory.addPort(JibMultiFactory.java:158)
        at com.ibutton.oc.JibMultiFactory.addPorts(Compiled
Code)
        at
com.ibutton.oc.JibMultiFactory.startPolling(JibMultiFactory.java:194)
        at SimpleApplet.start(SimpleApplet.java:53)
        at sun.applet.AppletPanel.run(Compiled Code)
        at java.lang.Thread.run(Thread.java:485)

It looks like some security problem with loading the opencard.properties
file, but I just don't know what to do to fix the problem.

Anyone ??
D
<><
begin:vcard 
n:Lintjens;Daniel
x-mozilla-html:FALSE
url:http://isd.cme.nist.gov/personnel/lintjens/
org:National Institute of Standards and Technology;Intelligent System Devision
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Guest Researcher
note:http://isd.cme.nist.gov/personnel/lintjens/
x-mozilla-cpt:;-8832
fn:Daniel Lintjens
end:vcard

Reply via email to