Hello List

I Use FOP to generate a PDF File from a SVG Grafik

When I Use the Servlet Code from a Standalone Appication everything woks
fine.

But when the Code is called from the Servlet Container (Tomcat) I got this
strange Error

java.lang.NoSuchMethodError:
org.apache.batik.bridge.UnitProcessor.createContext(Lorg/apache/batik/bridge/BridgeContext;Lorg/w3c/dom/Element;)Lorg/apache/batik/util/UnitProcessor$Context;

      org.apache.fop.image.analyser.SVGReader.loadImage(SVGReader.java:107)
      org.apache.fop.image.analyser.SVGReader.verifySignature(SVGReader.java:85)
      
org.apache.fop.image.analyser.ImageReaderFactory.Make(ImageReaderFactory.java:129)
      org.apache.fop.image.FopImageFactory.Make(FopImageFactory.java:181)
      org.apache.fop.fo.flow.ExternalGraphic.layout(ExternalGraphic.java:188)
      org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154)
      org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110)
      org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:400)
      org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338)
      org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262)
      org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223)
      org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      org.apache.xerces.impl.dtd.XMLNSDTDValidator.endNamespaceScope(Unknown 
Source)
      org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown 
Source)
      org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
      org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown 
Source)
      
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
      
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
      org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      org.apache.fop.apps.Driver.render(Driver.java:498)
      org.apache.fop.apps.Driver.run(Driver.java:565)
      schedule.FOPrintRenderer.render(FOPrintRenderer.java:36)
      servlets.BauplanAction.doGet(BauplanAction.java:195)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      kampf.filter.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:212)

I think it could be a correlation with Sax Parser implementation and Tomcat ?

I'm very happy If someone can help me

Best Regards Joern






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to