You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Tim Myers <ph...@pirouline.sts.jhu.edu> on 2003/03/04 23:36:11 UTC

broken flow samples

after copying the documentation directory into the webapp so that the samples
mostly work--

when accessing
http://localhost:8888/samples/flow/examples/calc/

i get "No pipeline matched request: samples/flow/examples/calc/getNumberA.html"

I would just chalk that up as a configuration error-- but

http://localhost:8888/samples/flow/examples/calc/getNumberA.html
works fine when accessed directly (i.e. not through the flow)

One thing to not is that the .html matcher is in the /flow/ sitemap,
not the /calc/ sitemap.

an excerpt from the exception:

FWD:org.mozilla.javascript.NativeObject
org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: samples/flow/examples/calc/getNumberA.html
  at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:157)
  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.environment.ForwardRedirector.cocoonRedirect(ForwardRedirector.java:201)
  at org.apache.cocoon.environment.ForwardRedirector.redirect(ForwardRedirector.java:113)
  at org.apache.cocoon.components.flow.AbstractInterpreter.forwardTo(AbstractInterpreter.java:226)

Notice that that there is no MountNode in the stack trace.  Is this fallout from
Carsten's recent environment cleanups?  I suspect that the wrong treeprocessor 
is being invoked.

Tim