Could you please explain in a bit more details? How can I change the security policy? there is a security.properties in j2ee's config/, but I am not sure what it does.
Not know where xj3d deals with system properties stuff... Thanks! Mian --- Florin Herinean <[EMAIL PROTECTED]> wrote: > You may change the security policy of your j2ee > client to allow the setting > of the system properties and/or file a bug to xj3d. > They either should not > try to set system properties or check beforehand if > they are able to do > that. > > Cheers, > > Florin > > > -----Urspr黱gliche Nachricht----- > Von: kindy huang [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 20. M鋜z 2003 08:20 > An: [EMAIL PROTECTED] > Betreff: [JAVA3D] > java.security.AccessControlException when try to > load > a x3d file using xj3d > > > Dear All, > > I am trying to load x3d file using LoaderDemo which > comes with Xj3D, it works fine when run it as a > standalone program, I just replaced VRML97Loader > with > X3DLoader. But when I modified it to a class > extending > JPanel(instead of JFrame)and tried to use it in my > swing client- a j2ee client, the client cannot run > successfully. It gives me dump as the following, > I've > tried to fix it by changing file name or file > location, but no luck, could anyone help me out? > > Thanks a lot! > Mian > > Exception loading > URL:java.security.AccessControlException: access > denied (java. > util.PropertyPermission sun.awt.font.advancecache > write) > java.security.AccessControlException: access denied > (java.util.PropertyPermissio > n sun.awt.font.advancecache write) > at > java.security.AccessControlContext.checkPermission(AccessControlConte > xt.java:270) > at > java.security.AccessController.checkPermission(AccessController.java: > 401) > at > java.lang.SecurityManager.checkPermission(SecurityManager.java:542) > at > java.lang.System.setProperty(System.java:653) > at > org.web3d.j3d.loaders.BaseLoader$1.run(BaseLoader.java:536) > at > java.security.AccessController.doPrivileged(Native > Method) > at > org.web3d.j3d.loaders.BaseLoader.setupProperties(BaseLoader.java:532) > > at > org.web3d.j3d.loaders.BaseLoader.load(BaseLoader.java:441) > at > org.web3d.j3d.loaders.BaseLoader.load(BaseLoader.java:252) > at LoaderDemo01.loadFile(Unknown Source) > at LoaderDemo01.<init>(Unknown Source) > at sceneApp.createSubPane(Unknown Source) > at sceneApp.<init>(Unknown Source) > at ScenesClient.<init>(Unknown Source) > at ScenesClient.main(Unknown Source) > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at > java.lang.reflect.Method.invoke(Method.java:324) > at > com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:22 > 9) > at > com.sun.enterprise.appclient.Main.main(Main.java:155) > > __________________________________________________ > Do you Yahoo!? > Yahoo! Platinum - Watch CBS' NCAA March Madness, > live on your desktop! > http://platinum.yahoo.com > > =========================================================================== > 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". > > ==========================================================================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". __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com =========================================================================== 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".
