Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2089

1.1rc1: SVG + Servlet problem. The file format is not supported. No ImagePreloader found.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 2.5
    • None
    • image/unqualified
    • None
    • Operating System: All
      Platform: PC
    • 53560

    Description

      System:

      • debian squeeze
      • openjdk
      • tomcat6
      • fop 1.1 rc1
      • attached the servlet

      First, build fop 1.0 from source with ant and deployed fop.war to tomcat6. Had problems, see https://bugs.launchpad.net/ubuntu/+source/fop/+bug/268930. Copying xml-apis-ext.jar to /var/lib/tomcat6/webapps/fop/WEB-INF/lib/ fixed the problem.

      Then, upgrading to fop 1.1rc1, also built from source, keeps saying: Image not available. URI: [file]. Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for [file]

      I feel that this is a build or dependency problem, because all libraries are in place.

      Attachments

        1. console.txt
          4 kB
          Frederik Bosch
        2. FopServlet.java
          11 kB
          Frederik Bosch
        3. fop1.1-svg-test.zip
          11 kB
          Frederik Bosch
        4. FopServlet.java
          10 kB
          Frederik Bosch

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            f.bosch@genkgo.nl Frederik Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: