Hi all,...

perhaps someone on the list maybe able to help me...
when i deplpoy my fop servlet from jbuilder 5 enterprise to tomcat 4.0.2 in
a war file that includes all required (hope so!) the tomcat server throws
the following exception:

Apache Tomcat/4.0.2 - HTTP Status 500 - Internal Server Error

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

type Exception report

message Internal Server Error

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

exception

javax.servlet.ServletException: Servlet execution threw an exception
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:269)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1012)
        at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107
)
        at java.lang.Thread.run(Thread.java:484)


root cause

java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocument
        at
org.apache.fop.image.analyser.ImageReaderFactory.Make(ImageReaderFactory.jav
a:45)
        at org.apache.fop.image.FopImageFactory.Make(FopImageFactory.java:100)
        at 
org.apache.fop.fo.flow.ExternalGraphic.layout(ExternalGraphic.java:125)
        at org.apache.fop.fo.flow.Block.layout(Block.java:259)
        at org.apache.fop.fo.flow.TableCell.layout(TableCell.java:263)
        at org.apache.fop.fo.flow.TableRow.layout(TableRow.java:344)
        at org.apache.fop.fo.flow.TableBody.layout(TableBody.java:172)
        at org.apache.fop.fo.flow.Table.layout(Table.java:226)
        at org.apache.fop.fo.flow.Block.layout(Block.java:259)
        at org.apache.fop.fo.flow.StaticContent.layout(StaticContent.java:78)
        at
org.apache.fop.fo.pagination.PageSequence.layoutStaticContent(PageSequence.j
ava:413)
        at
org.apache.fop.fo.pagination.PageSequence.formatStaticContent(PageSequence.j
ava:362)
        at 
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:302)
        at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:191)
        at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:178)
        at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1398)
        at
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator
.java:1007)
        at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1255)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:380)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:908)
        at org.apache.fop.apps.Driver.render(Driver.java:459)
        at org.apache.fop.apps.Driver.run(Driver.java:542)
        at
formdirekt.pdfgen.POSTReceiveServlet.renderFO(POSTReceiveServlet.java:145)
        at 
formdirekt.pdfgen.POSTReceiveServlet.doPost(POSTReceiveServlet.java:71)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1012)
        at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107
)
        at java.lang.Thread.run(Thread.java:484)



the main problem os contained in the root cause section:
"java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocument".

this class is part of the BATIK.JAR archive which is also included in the
deploy list for the tomcat war file.
i also added an explicit export flag to the org/w3c/dom/svg package but that
does not help.
the project runs perfectly in the development environment with the build in
tomcat 3.2 server of jbuilder.

every help is appreciated... thanks in advance.

Michael
BEGIN:VCARD
VERSION:2.1
N:Schifferdecker;Michael
FN:Schifferdecker, Michael
TEL;CELL;VOICE:+49 178 4581747
ADR;HOME:;;S2,2;Mannheim;;68161
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:S2,2=0D=0AMannheim 68161
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
REV:20011119T170929Z
END:VCARD

Reply via email to