The sitemap appears to be in good order. I spent most of the day trying
alternate configurations of Tomcat and Cocoon with no success. However, I
encountered more information, in what appears to be the same error
message, after installing a different version of Tomcat. I understand that
previous versions of Cocoon required an X11 server (or virtual
framebuffer) to be running in order for FOP to function - is this still
true?

Thanks,
        James

Here are the interesting segments of the latest error message:

2003-04-06 00:47:29 StandardWrapperValve[Cocoon2]: Servlet.service() for
servlet Cocoon2 threw exception
javax.servlet.ServletException: Servlet execution threw an exception
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[snip]
----- Root Cause -----
java.lang.NoClassDefFoundError: org/apache/batik/bridge/UserAgent
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:115)
        at
org.apache.cocoon.components.renderer.ExtendableRendererFactory.class$(ExtendableRendererFactory.java:69)
        at
org.apache.cocoon.components.renderer.ExtendableRendererFactory.<init>(ExtendableRendererFactory.java:77)
        at
org.apache.cocoon.components.renderer.ExtendableRendererFactory.<clinit>(ExtendableRendererFactory.java:73)
        at
org.apache.cocoon.serialization.FOPSerializer.<clinit>(FOPSerializer.java:92)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:232)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:163)
[snip]

[EMAIL PROTECTED] writes:
>To my mind, the crucial bit:
>
>> ----- Root Cause -----
>> java.lang.NoClassDefFoundError
>>         at java.lang.Class.newInstance0(Native Method)
>>         at java.lang.Class.newInstance(Class.java:232)
>>         at
>> org.apache.avalon.excalibur.component.DefaultComponentFactory.newInsta
>> nce(DefaultComponentFactory.java:163)
>>         at
>
>There's a component that Cocoon can't find. Make sure that you've got an
>entry 
>something like:
>
>    <map:serializer name="fo2pdf" 
>src="org.apache.cocoon.serialization.FOPSerializer" ...
>
>in your sitemap. If not, get that line from the sitemap in the original
>package and try 
>again.
>
>HTH. 
>
>Upayavira


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

Reply via email to