Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-920

access denied error when viewing SVG files

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: SVG Viewer
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC

      Description

      Since upgrading to XP i'm recieving the following error when utilising the batik libaries. Previously i was on Windows 2000. PC has Java 1.6.0_13-b03 installed. Previously i believe it was java 1.3 on the windows 2000 platform??

      PC has windows service pack 3 installed

      My account has read & execute permissions on the files.

      SVG Vier Error:

      access denied (java.io.FilePermission \S:\EIR Libraries\batik-squiggle.jar read)

      with detail:
      Java.security.AccessControlException: access denied (java.io.FilePermission \S:\EIR Libraries\batik-squiggle.jar read)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkRead(Unknown Source)
      at sun.net.www.protocol.jar.JarFileFactory.getCachedJarFile(Unknown Source)
      at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
      at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
      at sun.net.www.protocol.jar.JarURLConnection.getInputStream(Unknown Source)
      at org.apache.batik.util.ParsedURLData.openStreamInternal(ParsedURLData.java:547)
      at org.apache.batik.util.ParsedURLData.openStream(ParsedURLData.java:471)
      at org.apache.batik.util.ParsedURL.openStream(ParsedURL.java:417)
      at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(SAXSVGDocumentFactory.java:158)
      at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createSVGDocument(SAXSVGDocumentFactory.java:124)
      at org.apache.batik.bridge.DocumentLoader.loadDocument(DocumentLoader.java:106)
      at org.apache.batik.swing.svg.SVGDocumentLoader.run(SVGDocumentLoader.java:84)

        Attachments

        1. __svgbrowser.policy
          4 kB
          Andrew Screen
        2. homedirectory.doc
          30 kB
          Andrew Screen
        3. IMS_HTML.js
          2 kB
          Andrew Screen
        4. preferences.txt
          0.3 kB
          Andrew Screen

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              ascreen@agl.com.au Andrew Screen
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: