Hi,

I am trying to use the VRML97 Loader inside an applet, but I am
getting security probIems while instantiating the VRML97Loader loader
class. I have already signed my jarfile with another Applet that
access local filesystem and it worked fine.
Here is the exception:

java.security.AccessControlException: access denied
(java.util.PropertyPermission org.web3d.vrml.parser.file.factory read)
        at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
        at 
java.security.AccessController.checkPermission(AccessController.java:401)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
        at 
java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1276)
        at java.lang.System.getProperty(System.java:612)
        at 
org.web3d.vrml.parser.VRMLParserFactory$1.run(VRMLParserFactory.java:131)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
org.web3d.vrml.parser.VRMLParserFactory.newVRMLParserFactory(VRMLParserFactory.java:127)
        at org.web3d.j3d.loaders.BaseLoader.<init>(BaseLoader.java:173)
        at org.web3d.j3d.loaders.VRML97Loader.<init>(VRML97Loader.java:73)
        at org.web3d.j3d.loaders.VRML97Loader.<init>(VRML97Loader.java:62)
        at testjava3d.AppletTest.init(AppletTest.java:24)
        at sun.applet.AppletPanel.run(AppletPanel.java:353)
        at java.lang.Thread.run(Thread.java:534)

My Applet is quite simple, just to test if I can instantiate the
loader inside the Applet:

public class AppletTest extends JApplet {
    public void init() {
        VRML97Loader loader = new VRML97Loader();
    }
    public void start() {
    }
    public void destroy() {
    }
}

Any idea to solve this problem?

Thanks

Flavio

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to