xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas.dewe...@kodak.com
Subject Re: AccessControlException, running squiggle
Date Wed, 10 Sep 2008 10:07:24 GMT
Hi Abraham

Abraham Rodriguez Mota wrote on Sep 03, 2008; 06:31am:

> C:\batik17\batik-1.7>java -jar batik-squiggle.jar
> java.security.AccessControlException: access denied 
(java.net.NetPermission setDefaultAuthenticator)
>        at java.security.AccessControlContext.checkPermission(Unknown 
>        at java.security.AccessController.checkPermission(Unknown Source)
>        at java.lang.SecurityManager.checkPermission(Unknown Source)
>        at java.net.Authenticator.setDefault(Unknown Source)
>        at org.apache.batik.apps.svgbrowser.Main.<init>(Main.java:413)
>        at org.apache.batik.apps.svgbrowser.Main.main(Main.java:163)

   This implies that your JDK install has a non-standard security 
This error in and of it's self isn't much of a problem, it means that 
won't be able to respond to HTTP proxies that require Usernames and
Passwords.   A Java application shouldn't have any problem registering
it's own network authenticator.

> In fact, squiggle starts but pops out the following error message:
> SVG Error:
> access denied(java.io.FilePermission \C:\..\..\batik-squiggle.jar read)

     Similarly this indicates that your JDK isn't allowing some (fairly 
security access.

     Could you be using Applet security settings or something?

View raw message