You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2002/09/18 13:29:02 UTC

DO NOT REPLY [Bug 12764] New: - Flow examples not working i in current CVS

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12764>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12764

Flow examples not working i in current CVS

           Summary: Flow examples not working i in current CVS
           Product: Cocoon 2
           Version: Current CVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: pelle@alma.nu


Sitemap snippet:
...
 <map:pipelines default="caching">
    <map:pipeline name="caching"
src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline">
   <parameter name="outputBufferSize" value="0"/>
    </map:pipeline>
   ...

With outputBufferSize -1 (default) or without outputBufferSize declared, output
is a blank page containing just html/head/empty body. Error is not shown

When outputBufferSize = 0 one gets the following error:

http listening to *:8080
srun listening to 127.0.0.1:6802
Reading scripts
org.mozilla.javascript.JavaScriptException:
org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: sa
mples/flow/examples/calc/getNumberA.html
       at
org.mozilla.javascript.JavaScriptException.wrapException(JavaScriptException.java:69)
       at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:443)
       at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
       at
org.mozilla.javascript.continuations.ContinuationInterpreter._interpret(ContinuationInterpreter.java:1592)
       at
org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:677)
       at
org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:650)
       at
org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:598)
       at
org.mozilla.javascript.continuations.InterpretedFunctionImpl.call(InterpretedFunctionImpl.java:121)
       at
org.apache.cocoon.components.flow.javascript.JavaScriptInterpreter.callFunction(JavaScriptInterpreter.java:39
8)
       at
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:193)
       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingN
ode.java:83)
       at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:162)
       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingN
ode.java:107)
       at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)
       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingN
ode.java:107)
       at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:150)
       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:326)
       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:308)
       at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:131)
       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingN
ode.java:83)
       at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:162)
       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingN
ode.java:107)
       at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)
       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingN
ode.java:107)
       at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:150)
       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:326)
       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:308)
       at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:131)
       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingN
ode.java:83)
       at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:162)
       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingN
ode.java:107)
       at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)
       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingN
ode.java:107)
       at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:150)
       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:326)
       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:308)
       at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:131)
       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingN
ode.java:83)
       at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:162)
       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingN
ode.java:107)
       at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)
       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingN
ode.java:107)
       at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:150)
       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:326)
       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:308)
       at org.apache.cocoon.Cocoon.process(Cocoon.java:595)
       at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1016)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
       at
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
       at com.caucho.server.http.Invocation.service(Invocation.java:312)
       at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
       at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:221)
       at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163)
       at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
       at java.lang.Thread.run(Thread.java:479) 



We have tried a checkout of head before Carsten�s changes to error handling
(2002-09-11) and it was working. So I�d like to call on carsten�s/sylvain�s
experise on this :)

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org