Yes, Java Security, you could go thru the signed applet hoops which I think would work, or you
can place a file in your winnt/profiles on the remote machines you are using. I just did this and it was
much easier than the first route.
The file is called java.policy and is automatically generated by running policytool in your jdk.

It looks like this:

/* AUTOMATICALLY GENERATED ON Thu Jun 08 11:50:01 EDT 2000*/
/* DO NOT EDIT */

grant {
  permission java.security.AllPermission;
};

Note: read about java security and the risks of having policys set like this


At 11:41 AM 7/3/00 +0200, you wrote:
Hello,

Has anyone seen this problem in Java3D applet.

When i run a Java3D applet on the same machine as the webser everything works
fine (local). When i run the applet on a remote machine I get this security
exception.

java.lang.ExceptionInInitializerError: java.security.AccessControlException:
access denied (java.lang.RuntimePermission modifyThreadGroup )
at java.security.AccessControlContext.checkPermission(Compiled Code)
at java.security.AccessController.checkPermission(Compiled Code)
at java.lang.SecurityManager.checkPermission(Compiled Code)
at sun.applet.AppletSecurity.checkAccess(AppletSecurity.java:142)
at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:278)
at java.lang.ThreadGroup.getParent(ThreadGroup.java:142)
at javax.media.j3d.MasterControl$17.run(Compiled Code)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.j3d.MasterControl.<clinit>(MasterControl.java:2611)
at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:36)
at javax.media.j3d.Canvas3D.<clinit>(Canvas3D.java:469)
at pilot.aex.AexApp.<init>(AexApp.java:37)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:239)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:532)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:801)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:468)
at sun.applet.AppletPanel.run(Compiled Code)
at java.lang.Thread.run(Thread.java:479)

thanks in advance
Marjon v.d. Broek

===========================================================================
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".

Jack S. Gundrum
Visualization Group
Center for Academic Computing
Penn State University
Email:[EMAIL PROTECTED]
Phone:(814)865-1863

Reply via email to