Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 30422 invoked by uid 500); 9 Jun 2003 14:35:20 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 30406 invoked from network); 9 Jun 2003 14:35:19 -0000 Received: from mail.datazug.ch (212.4.65.100) by daedalus.apache.org with SMTP; 9 Jun 2003 14:35:19 -0000 Received: from yahoo.de [212.4.88.68] by mail.datazug.ch with ESMTP (SMTPD32-8.00) id AB2792980072; Mon, 09 Jun 2003 16:35:19 +0200 Message-ID: <3EE49B25.4090400@yahoo.de> Date: Mon, 09 Jun 2003 16:35:17 +0200 From: "J.Pietschmann" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: FOP problems with 2.1m2 References: <005d01c32b99$b6e77a80$080aa8c0@PAVILION> In-Reply-To: <005d01c32b99$b6e77a80$080aa8c0@PAVILION> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Spectron International, Inc. wrote: > I'm having some problems with FOP in Cocoon 2.1m2. I have a pipeline that > creates the xsl-fo document and then I convert it to PDF. If I save the > xsl-fo and run it directly through FOP it works ok. When run from Cocoon it > gives me the following exception: > > 15:29:10.698 WARN!! Error for > /msim/pdf/DiscrepancyAnalysis?batDate=2003-06-05&endDate=2003-01-05 > java.lang.NoSuchMethodError: > org.apache.batik.bridge.UnitProcessor.createContext(Lorg/apache/batik/bridge > /BridgeContext;Lorg/w3c/dom/Element;)Lorg/apache/batik/util/UnitProcessor$Co This typically happens if there is a mismatched version of Batik in the classpath. Unfortunately, some Cocoon distributions are distributed with a Batik jar which does not match the interfaces the FOP jar from the same distribution uses. You can fix this by grabbing a recfent FOP distribution and replace the fop and batik jars in the Cocoon lib by the FOP and Batik jars from the FOP distribution. This may have negative impacts on Cocoons SVG serializer though, so you should not use a PDF generating pipeline which uses embedded or referenced SVGs and a SVG generating pipeline at the same time. J.Pietschmann --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org