tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35460] New: - reporting using FOP /SVG
Date Wed, 22 Jun 2005 07:03:41 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35460>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35460

           Summary: reporting using FOP /SVG
           Product: Tomcat 5
           Version: 5.0.28
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: send@stefanomigliarini.it


Hi,
i'm not sure if the problem is a bug or an installation mistake, but in any 
way when i try to send back to browser a pdf stream built on the fly via FOP 
all work well but the document contain a SVG element. If i do the following is 
what the browser display :

HTTP Status 500 - 

-------------------------------------------------------------------------------
-

type Exception report

message 

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception 

javax.servlet.ServletException: Servlet execution threw an exception
	stfn.Filters.BaseFilter.doFilter(BaseFilter.java:52)
	stfn.Filters.BaseFilter.doFilter(BaseFilter.java:52)


root cause 

java.lang.NoClassDefFoundError
	org.apache.batik.dom.svg.SAXSVGDocumentFactory.<init>
(SAXSVGDocumentFactory.java:78)
	org.apache.batik.bridge.DocumentLoader.<init>(DocumentLoader.java:74)
	org.apache.batik.bridge.BridgeContext.<init>(BridgeContext.java:182)
	org.apache.fop.svg.SVGElement.layout(SVGElement.java:217)
	org.apache.fop.fo.flow.InstreamForeignObject.layout
(InstreamForeignObject.java:251)
	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.xalan.transformer.ResultTreeHandler.endElement
(ResultTreeHandler.java:309)
	org.apache.xalan.templates.ElemLiteralResult.execute
(ElemLiteralResult.java:716)
	org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2339)
	org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode
(TransformerImpl.java:2160)
	org.apache.xalan.transformer.TransformerImpl.transformNode
(TransformerImpl.java:1213)
	org.apache.xalan.transformer.TransformerImpl.run
(TransformerImpl.java:3372)
	org.apache.xalan.transformer.TransformerHandlerImpl.endDocument
(TransformerHandlerImpl.java:433)
	org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source)
	org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source)
	org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
	org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
	org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
	org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.di
spatch(Unknown Source)
	org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(Unknown Source)
	org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)
	org.apache.fop.apps.Driver.render(Driver.java:498)
	stfn.stampa.pdf.StampaPdf.renderXML(StampaPdf.java:213)
	stfn.stampa.pdf.StampaPdf.stampa(StampaPdf.java:129)
	stfn.stampa.pdf.StampaPdf.stampa(StampaPdf.java:116)
	devmecoil.stampe.pdf.PDFCertificato.init(PDFCertificato.java:43)
	devmecoil.servlet.commands.Stampa.DisplayOnGet(Stampa.java:20)
	stfn.Servlet.BaseServlet.doGet(BaseServlet.java:45)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	stfn.Filters.BaseFilter.doFilter(BaseFilter.java:52)
	stfn.Filters.BaseFilter.doFilter(BaseFilter.java:52)


note The full stack trace of the root cause is available in the Apache 
Tomcat/5.0.28 logs.


-------------------------------------------------------------------------------
-

Apache Tomcat/5.0.28

Thanks

Stefano Migliarini

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message