Sylvain,

Can you explain the connection between Xalan.jar, the endorsed directory, and the error message below? Unfortunately, I already tried copying xalan-2.4.1.jar, xercesImpl-2.1.0.jar and xml-apis.jar into %TOMCAT_HOME%/lib/endorsed but still got the same error.

Regards,

Chris

Sylvain Wallez wrote:

Christopher Oliver wrote:

Actually I am in the process of trying to do this but got immediately stopped by the below when I first tried to run cocoon (built from today's cvs),

Anyone care to help?

Regards,

Chris

ERROR (2003-02-16) 13:12.15:159 [access] (/cocoon/documents/index.html) Thread-10/CocoonServlet: Problem with Cocoon servlet
org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.CascadingIOException: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property!: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property!
at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:302)


The good old JDK 1.4 "endorsed" bug !

Copy the Xalan jar to [tomcat-dir}/common/endorsed and that should solve the problem.

I think using ParanoidCocoonServlet instead of CocoonServlet should also solve it, thanks to its... paranoid classloader that will load classes from WEB-INF/lib before system classes.

Sylvain



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

Reply via email to