Can someone help this problem!

2003-02-07 Thread Rice Yeh
Hi, 
  I posted this problem few days ago. Someone also has
the same problem. But it seems no solution util now.
This should be a easy for you gurus but frustrate me a
lot. My jvm is 1.4.1. I repeated my problem as follows

I checked out cocoon2 from cvs and build a webapp
 with the folloing command 
 
 .\build.bat -Dinclude.webapp.libs=yes
 -Dexclude.webapp.javadocs=yes
 webapp
 
 I installed the web ap on tomcat 4.1.18 and access
 the firt page with url
http://localhost:8080/cocoon/,
 then the error responed as shown in the following, 
 what is wrong?

type fatal

message Failed to execute pipeline.

description 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!

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

cause

org.apache.xml.utils.WrappedRuntimeException: The
output format must have a
'{http://xml.apache.org/xslt}content-handler'
property!

request-uri

/cocoon/documents/index.html

full exception chain stacktrace

Original exception :
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.serialization.HTMLSerializer.setOutputStream(HTMLSerializer.java:92)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:277)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:485)
at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:145)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:317)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:299)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:131)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:317)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:299)
at org.apache.cocoon.Cocoon.process(Cocoon.java:600)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1074)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
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)
at

Re: Can someone help this problem!

2003-02-07 Thread Tony Collen
On Fri, 7 Feb 2003, Rice Yeh wrote:

 Hi,
   I posted this problem few days ago. Someone also has
 the same problem. But it seems no solution util now.
 This should be a easy for you gurus but frustrate me a
 lot. My jvm is 1.4.1. I repeated my problem as follows

Hello,

Your problem can be solved by taking the stuff from cocoon's lib/endorsed/
dir and replace the contents of tomcat's common/endorsed/ directory... I
run into this problem when installing Tomat and Cocoon from scratch
lately.. this should help.

tony


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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