xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prasanna Chetty <pche...@cordys.com>
Subject RE: batik 1.5 beta 5 - access denied exception?
Date Fri, 11 Apr 2003 06:32:22 GMT
Hi Thomas E Deweese,
	I found the reason for the security exception which I was getting. 
The error was due to the problem with the name of the folder in which batik
was unzipped. Previously I used a folder name with spaces in-between. When I
renamed the folder and removed the spaces in the name, it is working fine.
Not getting any security exceptions. The problem was due the blank space in
the folder name.

Other details are given below..
I starter the rasterizer using the cmd 
java -jar batik-rasterizer.jar <svg file name >. The below is the version
details of my java
java version "1.4.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)

-----Original Message-----

From: Thomas E Deweese [mailto:thomas.deweese@kodak.com] 
Sent: Monday, 7 April 2003 5:41 PM
To: Batik Users
Subject: RE: batik 1.5 beta 5 - access denied exception?

>>>>> "PC" == Prasanna Chetty <pchetty@cordys.com> writes:

PC> Hi, I have downloaded batik 1.5 beta 5 and installed it as per the
PC> instructions. When I am trying to execute the SVG browser and SVG
PC> Rasterizer I am getting the following access denied exception. Any
PC> idea?
    I don't think most people are getting this error.  Can you give
more information about the environment you get this error in?

    How are you starting the rasterizer?

    What OS? what JDK?

    Did you get the Binary or Source Distribution?

    There were a number of changes in security to support the new
version of Rhino, and switching from crimson to Xerces is it possible
some files from your old install are lying around?

PC> Exception in thread "main" java.security.AccessControlException:
PC> access denied ( java.util.PropertyPermission java.security.policy
PC> write) at
PC> java.security.AccessControlContext.checkPermission(AccessControlConte
PC> xt.java:270) at
PC> java.security.AccessController.checkPermission(AccessController.java:
PC> 401) at
PC> java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
PC> at java.lang.System.setProperty(System.java:653) at
PC> org.apache.batik.util.ApplicationSecurityEnforcer.installSecurityMana
PC> ger(Unknown Source) at
PC> org.apache.batik.util.ApplicationSecurityEnforcer.enforceSecurity(Unk
PC> nown Source) at
PC> org.apache.batik.apps.rasterizer.Main.execute(Unknown Source) at
PC> org.apache.batik.apps.rasterizer.Main.main(Unknown Source)

To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this message
by anyone else is unauthorized. If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message in


To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

View raw message