I am running the application under root (uid 0). I tested it a minute ago with a newly created non-root user in its own newly created group, but it got the same result. The log files also reported no different messages.
Your hint about batik-all-1.7.jar I tried also. I formerly used batik-1.7 already, but then with all included Batik libraries one by one in my IDE (Eclipse). Now I use the all-in-one library, but with no changes in result. I tried this before and after the change of the user id under which the application is running. I already used xmlgraphics-commons-1.4.jar, so that's already right. Regards, Dennis Glenn Adams-2 wrote: > > would you happen to be running as root user (uid 0), or non-root? i > recently > encountered a similar problem on 1.0 when running junit tests as root; the > other thing to check is verify you are using xmlgraphics-commons-1.4.jar > and > batik-all-1.7.jar; > > On Thu, Sep 16, 2010 at 3:42 PM, dvzoerlandt > <[email protected]>wrote: > >> >> Hello, >> >> Since the migration from Apache FOP 0.95 to FOP 1.00 in our Java >> application >> images fail to render. The interesting part of the logging is as follows: >> >> --- >> Image not available. URI: >> file:/u/vbs/stylesheets/images/compas_vbfooter.bmp. Reason: >> org.apache.xmlgraphics.image.loader.ImageException: The file format is >> not >> supported. No ImagePreloader found for >> file:/u/vbs/stylesheets/images/compas_vbfooter.bmp (No context info >> available) >> --- >> >> I also had to upgrade Apache XML Graphics Commons from 1.3.1 to 1.4. When >> reverting back to FOP 0.95 (and to XML Graphics Commons 1.3.1) images are >> working again. The combination FOP 0.95 with XML Graphics Commons 1.4 >> also >> results in working images. >> >> As well as BMP files as JPEG files are failing to render. With both file >> types the same message is reported. >> >> I enabled finest logging for org.apache.fop and org.apache.xmlgraphics >> but >> I >> didn't find no corresponding messages about an ImagePreloader. >> >> I also installed JAI Image I/O Tools and the corresponding JAI (according >> to >> http://xmlgraphics.apache.org/fop/1.0/graphics.html#imageio ) but to no >> success regarding to this problem. >> >> Can anyone give me a pointer in the right direction? >> >> Regards, >> Dennis >> -- >> View this message in context: >> http://old.nabble.com/FOP-1.0%3A-images-fail-to-render-tp29725748p29725748.html >> Sent from the FOP - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > -- View this message in context: http://old.nabble.com/FOP-1.0%3A-images-fail-to-render-tp29725748p29726249.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
