Ok I have solved my batik issue, apparently you cannot use one-jar to create a standalone jar as it cannot get the default CSS and XSD files from the library batik jars.
So changing to using maven assembly plugin it now puts the jars in unpacked, so the classes and files are available. Now the images are not working.. 2012-02-02 11:43:22,638 [pool-1-thread-2] ERROR org.apache.fop.apps.FOUserAgent - Image not found. URI: \InBrand\preprocessor\filestore\img3980813249191582957.jpg. (No context info available) 2012-02-02 11:43:22,638 [pool-1-thread-2] ERROR org.apache.fop.apps.FOUserAgent - Image not found. URI: \InBrand\preprocessor\filestore\img3980813249191582957.jpg. (No context info available) I have the BASEURL set in the fopconfig.xml file as "/" I also tried accessing them as explicit paths 2012-02-02 11:56:54,428 [pool-1-thread-4] ERROR org.apache.fop.apps.FOUserAgent - Image not found. URI: C:\InBrand\preprocessor\filestore\img4930914128352311319.jpg. (No context info available) 2012-02-02 11:56:54,428 [pool-1-thread-4] ERROR org.apache.fop.apps.FOUserAgent - Image not found. URI: C:\InBrand\preprocessor\filestore\img4930914128352311319.jpg. (No context info available) I just saw the following in the logs. Why is it trying to load a jpg as an SVG? 2012-02-02 11:48:19,973 [pool-1-thread-2] DEBUG org.apache.fop.image.loader.batik.PreloaderSVG - Error while trying to load stream as an SVG file: Invalid byte 1 of 1-byte UTF-8 sequence. 2012-02-02 11:48:19,973 [pool-1-thread-2] DEBUG org.apache.fop.image.loader.batik.PreloaderSVG - Error while trying to load stream as an SVG file: Invalid byte 1 of 1-byte UTF-8 sequence. 2012-02-02 11:48:19,974 [pool-1-thread-2] ERROR org.apache.fop.apps.FOUserAgent - Image not available. URI: \InBrand\preprocessor\filestore\img3970845222913192771.jpg. Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for \InBrand\preprocessor\filestore\img3970845222913192771.jpg (See position 1296:195) 2012-02-02 11:48:19,974 [pool-1-thread-2] ERROR org.apache.fop.apps.FOUserAgent - Image not available. URI: \InBrand\preprocessor\filestore\img3970845222913192771.jpg. Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for \InBrand\preprocessor\filestore\img3970845222913192771.jpg (See position 1296:195) Can anyone suggest why this was working and now is not? Kindest regards Theresa Forster Senior Software Developer
