First we're loading up the latest batik files.. Then the second cfscript bombs out on the transcoder.transcode(input,output); with the duplicate commons.logging.Log error. It seems to not like the /pdf-transcoder.jar - which is the file that converts from SVG to PDF
<cfscript> batik_paths = [ ExpandPath("/store/batik/lib/batik-ext.jar"), ExpandPath("/store/batik/lib/batik-dom.jar"), ExpandPath("/store/batik/lib/batik-bridge.jar"), ExpandPath("/store/batik/lib/batik-css.jar"), ExpandPath("/store/batik/lib/batik-gvt.jar"), ExpandPath("/store/batik/lib/batik-util.jar"), ExpandPath("/store/batik/lib/batik-svg-dom.jar"), ExpandPath("/store/batik/lib/batik-parser.jar"), ExpandPath("/store/batik/lib/xml-apis-ext.jar"), ExpandPath("/store/batik/lib/xml-apis-ext.jar"), ExpandPath("/store/batik/lib/xerces_2_5_0.jar"), ExpandPath("/store/batik/lib/batik-xml.jar"), ExpandPath("/store/batik/lib/batik-anim.jar"), ExpandPath("/store/batik/lib/batik-script.jar"), ExpandPath("/store/batik/lib/batik-awt-util.jar"), ExpandPath("/store/batik/lib/batik-codec.jar"), ExpandPath("/store/batik/lib/batik-transcoder.jar"), ExpandPath("/store/batik/lib/pdf-transcoder.jar") ]; application.loader = createObject("component", "store.javaloader.JavaLoader").init(batik_paths); </cfscript> <cfscript> transcoder = application.loader.create("org.apache.fop.svg.PDFTranscoder"); inputStream = application.loader.create("java.io.StringBufferInputStream").init(svg); input = application.loader.create("org.apache.batik.transcoder.TranscoderInput").init(inputStream); outputStream = application.loader.create("java.io.FileOutputStream").init(pdfPath); output = application.loader.create("org.apache.batik.transcoder.TranscoderOutput").init(outputStream); transcoder.transcode(input, output); outputStream.flush(); outputStream.close(); </cfscript> On Thu, Sep 29, 2011 at 6:25 PM, Paul Giesenhagen <p...@quilldesign.com> wrote: > > SO there was a directory that had the commons logging files in it .. removed > those - restarted the CF Service and still have the same error - so at this > time, it "I" believe is just loading the CF defaults. Do you have a piece of code that demonstrates the problem ? -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347843 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm