cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Oliver <res1c...@verizon.net>
Subject Re: Flow problems
Date Thu, 26 Feb 2004 16:20:22 GMT
See the correction in my last message: use <map:flow 
language="javascript"> in your sitemap (not type="javascript"). Sorry 
about that.

--
Chris

Rafael Alvarado wrote:

>Thanks -- the lowercase attribute value is, in fact, in the tutorial.  I
>changed it to camel case, then deleted to see if it would work.  It fails in
>all three cases.  Here is the error (without the stack traces):
>
><error-message>
>An Error Occurred
>Failed to load sitemap from
>file:/var/local/textgarden/jakarta-tomcat-5.0.16/webapps/cocoon/game/sitemap
>.xmap
>
>org.apache.cocoon.ProcessingException: Failed to load sitemap from
>file:/var/local/textgarden/jakarta-tomcat-5.0.16/webapps/cocoon/game/sitemap
>.xmap: org.apache.avalon.framework.component.ComponentException: ScriptNode:
>Couldn't obtain a flow interpreter for JavaScript:
>org.apache.avalon.framework.component.ComponentException: flow-interpreters:
>ComponentSelector could not find the component for hint [JavaScript] (key
>[JavaScript]) (key [JavaScript])
>
>cause: org.apache.avalon.framework.component.ComponentException: ScriptNode:
>Couldn't obtain a flow interpreter for JavaScript:
>org.apache.avalon.framework.component.ComponentException: flow-interpreters:
>ComponentSelector could not find the component for hint [JavaScript] (key
>[JavaScript]) (key [JavaScript])
> </error-message>
>
>And here is my sitemap:
>
><?xml version="1.0" encoding="UTF-8"?>
><map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
>
><map:components>
>  <map:generators default="file">
>    <!-- in this example we use JXTemplateGenerator to insert
>         Flow variables in page content -->
>    <map:generator label="content,data" logger="sitemap.generator.jx"
>                   name="jx"
>src="org.apache.cocoon.generation.JXTemplateGenerator"/>
>  </map:generators>
>  <!--<map:flow-interpreters default="JavaScript"/>-->
>  <map:transformers default="xslt"/>
>  <map:serializers default="html"/>
>  <map:matchers default="wildcard"/>
>  <map:selectors default="browser">
>    <map:selector name="exception"
>src="org.apache.cocoon.selection.XPathExceptionSelector">
>      <exception name="invalid-continuation"
> 
>class="org.apache.cocoon.components.flow.InvalidContinuationException"/>
>      <exception class="java.lang.Throwable" unroll="true"/>
>    </map:selector>
>  </map:selectors>
>  <map:actions/>
>  <map:pipes default="caching"/>
></map:components>
>
><map:views/>
><map:resources/>
><map:action-sets/>
>
><map:flow type="javascript">
>  <!-- Flow will use the javascript functions defined in game.js -->
>  <map:script src="flow/game.js"/>
></map:flow>
>
><map:pipelines>
>  <map:component-configurations>
>    <global-variables/>
>  </map:component-configurations>
>
>  <map:pipeline>
>    <!-- no filename: call main() in game.js -->
>    <map:match pattern="">
>      <map:call function="main"/>
>    </map:match>
>
>    <!-- use JXtemplate to generate page content -->
>    <map:match pattern="*.jx">
>      <map:generate type="jx" src="documents/{1}.jx"/>
>      <map:serialize type="xhtml"/>
>    </map:match>
>
>    <!-- .kont URLs are generated by the Flow system for continuations -->
>    <map:match pattern="*.kont">
>      <map:call continuation="{1}"/>
>    </map:match>
>
>    <!-- handle invalid continuations -->
>
>    <!-- this style of handling invalidContinuation is now deprecated: -->
>    <!-- this URI will never be called automatically anymore. -->
>    <!-- see handle-errors below -->
>    <map:match pattern="invalidContinuation">
>      <map:generate src="documents/invalidContinuation.xml"/>
>      <map:serialize type="xml"/>
>    </map:match>
>
>    <!-- the new non-hardcoded way of handling invalidContinuation -->
>    <map:handle-errors>
>      <map:select type="exception">
>        <map:when test="invalid-continuation">
>          <map:generate src="documents/invalidContinuation.html"/>
>          <map:serialize type="xhtml"/>
>        </map:when>
>      </map:select>
>    </map:handle-errors>
>  </map:pipeline>
>
></map:pipelines>
>
></map:sitemap>
>
>
>
>Rafael C. Alvarado
>Manager of Humanities Computing Research Applications
>316 87 Prospect | Princeton University
>
>
>-----Original Message-----
>From: Christopher Oliver [mailto:res1cf5x@verizon.net] 
>Sent: Thursday, February 26, 2004 10:14 AM
>To: users@cocoon.apache.org
>Subject: Re: Flow problems
>
>Try
>
><map: flow type="javascript">
>...
></map:flow>
>
>
>Note the case of "javascript". I'll try to fix the tutorial when I get a
>chance.
>
>--
>Chris
>
>Rafael Alvarado wrote:
>
>  
>
>>Thanks for the quick rsponse on this.  Unfortunately, removing that 
>>line doesn't help.  The 2.1.3 installation (that comes with eXist) 
>>still shows a blank page, and the default 2.1.4 installation throws a 
>>new error (see below).  Regarding the former, when I remove the 
>>map:flow element from the sitemap, the blank page goes away, but of course
>>    
>>
>the flow is then disabled.
>  
>
>><error-message from="cocoon-2.1.4">
>>
>>An Error Occurred
>>Failed to load sitemap from
>>file:/var/local/textgarden/jakarta-tomcat-5.0.16/webapps/cocoon/game/si
>>temap
>>.xmap
>>
>>org.apache.cocoon.ProcessingException: Failed to load sitemap from 
>>file:/var/local/textgarden/jakarta-tomcat-5.0.16/webapps/cocoon/game/si
>>temap
>>.xmap: org.apache.avalon.framework.component.ComponentException:
>>    
>>
>ScriptNode:
>  
>
>>Couldn't obtain a flow interpreter for JavaScript:
>>org.apache.avalon.framework.component.ComponentException:
>>    
>>
>flow-interpreters:
>  
>
>>ComponentSelector could not find the component for hint [JavaScript] 
>>(key
>>[JavaScript]) (key [JavaScript])
>>
>>cause: org.apache.avalon.framework.component.ComponentException:
>>    
>>
>ScriptNode:
>  
>
>>Couldn't obtain a flow interpreter for JavaScript:
>>org.apache.avalon.framework.component.ComponentException:
>>    
>>
>flow-interpreters:
>  
>
>>ComponentSelector could not find the component for hint [JavaScript] 
>>(key
>>[JavaScript]) (key [JavaScript])
>>
>>full exception chain stacktrace[hide]
>>
>>Original Exception:
>>org.apache.avalon.framework.component.ComponentException: ScriptNode:
>>Couldn't obtain a flow interpreter for JavaScript:
>>org.apache.avalon.framework.component.ComponentException:
>>    
>>
>flow-interpreters:
>  
>
>>ComponentSelector could not find the component for hint [JavaScript] 
>>(key
>>[JavaScript]) (key [JavaScript])
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.FlowNode.compose(Flo
>>wNode
>>.java:116)
>>	at
>>org.apache.cocoon.components.LifecycleHelper.setupComponent(LifecycleHelper
>>    
>>
>.
>  
>
>>java:328)
>>	at
>>org.apache.cocoon.components.LifecycleHelper.setupComponent(LifecycleHelper
>>    
>>
>.
>  
>
>>java:209)
>>	at
>>org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.setupNode
>>(Defa
>>ultTreeBuilder.java:479)
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.FlowNodeBuilder.buil
>>dNode
>>(FlowNodeBuilder.java:70)
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.SitemapNodeBuilder.b
>>uildN
>>ode(SitemapNodeBuilder.java:105)
>>	at
>>org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.createTre
>>e(Def
>>aultTreeBuilder.java:362)
>>	at
>>org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(Def
>>aultT
>>reeBuilder.java:432)
>>	at
>>org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(Def
>>aultT
>>reeBuilder.java:394)
>>	at
>>org.apache.cocoon.components.treeprocessor.TreeProcessor.setupRootNode(
>>TreeP
>>rocessor.java:516)
>>	at
>>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePr
>>ocess
>>or.java:353)
>>	at
>>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePr
>>ocess
>>or.java:312)
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(Mou
>>ntNod
>>e.java:133)
>>	at
>>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
>>.invo
>>keNodes(AbstractParentProcessingNode.java:84)
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.
>>invok
>>e(PreparableMatchNode.java:165)
>>	at
>>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
>>.invo
>>keNodes(AbstractParentProcessingNode.java:107)
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(
>>Pipel
>>ineNode.java:162)
>>	at
>>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
>>.invo
>>keNodes(AbstractParentProcessingNode.java:107)
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
>>(Pipe
>>linesNode.java:136)
>>	at
>>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePr
>>ocess
>>or.java:371)
>>	at
>>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePr
>>ocess
>>or.java:312)
>>	at org.apache.cocoon.Cocoon.process(Cocoon.java:656)
>>	at
>>org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1112)
>>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>>	at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>>ation
>>FilterChain.java:284)
>>	at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>>terCh
>>ain.java:204)
>>	at
>>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
>>ve.ja
>>va:256)
>>	at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
>>ontex
>>t.java:151)
>>	at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
>>	at
>>org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCo
>>ntext
>>Valve.java:245)
>>	at
>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
>>ve.ja
>>va:199)
>>	at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
>>ontex
>>t.java:151)
>>	at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
>>	at
>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
>>a:195
>>)
>>	at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
>>ontex
>>t.java:151)
>>	at
>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
>>a:164
>>)
>>	at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
>>ontex
>>t.java:149)
>>	at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
>>	at
>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
>>.java
>>:156)
>>	at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
>>ontex
>>t.java:151)
>>	at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
>>	at
>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
>>	at
>>org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
>>	at
>>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:805)
>>	at
>>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
>>Conne
>>ction(Http11Protocol.java:696)
>>	at
>>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
>>	at
>>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
>>l.jav
>>a:677)
>>	at java.lang.Thread.run(Thread.java:536)
>>
>>
>>stacktrace[hide]
>>
>>org.apache.cocoon.ProcessingException: Failed to load sitemap from 
>>file:/var/local/textgarden/jakarta-tomcat-5.0.16/webapps/cocoon/game/si
>>temap
>>.xmap: org.apache.avalon.framework.component.ComponentException:
>>    
>>
>ScriptNode:
>  
>
>>Couldn't obtain a flow interpreter for JavaScript:
>>org.apache.avalon.framework.component.ComponentException:
>>    
>>
>flow-interpreters:
>  
>
>>ComponentSelector could not find the component for hint [JavaScript] 
>>(key
>>[JavaScript]) (key [JavaScript])
>>	at
>>org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(Def
>>aultT
>>reeBuilder.java:398)
>>	at
>>org.apache.cocoon.components.treeprocessor.TreeProcessor.setupRootNode(
>>TreeP
>>rocessor.java:516)
>>	at
>>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePr
>>ocess
>>or.java:353)
>>	at
>>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePr
>>ocess
>>or.java:312)
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(Mou
>>ntNod
>>e.java:133)
>>	at
>>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
>>.invo
>>keNodes(AbstractParentProcessingNode.java:84)
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.
>>invok
>>e(PreparableMatchNode.java:165)
>>	at
>>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
>>.invo
>>keNodes(AbstractParentProcessingNode.java:107)
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(
>>Pipel
>>ineNode.java:162)
>>	at
>>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
>>.invo
>>keNodes(AbstractParentProcessingNode.java:107)
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
>>(Pipe
>>linesNode.java:136)
>>	at
>>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePr
>>ocess
>>or.java:371)
>>	at
>>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePr
>>ocess
>>or.java:312)
>>	at org.apache.cocoon.Cocoon.process(Cocoon.java:656)
>>	at
>>org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1112)
>>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>>	at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>>ation
>>FilterChain.java:284)
>>	at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>>terCh
>>ain.java:204)
>>	at
>>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
>>ve.ja
>>va:256)
>>	at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
>>ontex
>>t.java:151)
>>	at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
>>	at
>>org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCo
>>ntext
>>Valve.java:245)
>>	at
>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
>>ve.ja
>>va:199)
>>	at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
>>ontex
>>t.java:151)
>>	at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
>>	at
>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
>>a:195
>>)
>>	at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
>>ontex
>>t.java:151)
>>	at
>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
>>a:164
>>)
>>	at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
>>ontex
>>t.java:149)
>>	at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
>>	at
>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
>>.java
>>:156)
>>	at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
>>ontex
>>t.java:151)
>>	at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
>>	at
>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
>>	at
>>org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
>>	at
>>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:805)
>>	at
>>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
>>Conne
>>ction(Http11Protocol.java:696)
>>	at
>>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
>>	at
>>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
>>l.jav
>>a:677)
>>	at java.lang.Thread.run(Thread.java:536)
>>Caused by: org.apache.avalon.framework.component.ComponentException:
>>ScriptNode: Couldn't obtain a flow interpreter for JavaScript:
>>org.apache.avalon.framework.component.ComponentException:
>>    
>>
>flow-interpreters:
>  
>
>>ComponentSelector could not find the component for hint [JavaScript] 
>>(key
>>[JavaScript]) (key [JavaScript])
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.FlowNode.compose(Flo
>>wNode
>>.java:116)
>>	at
>>org.apache.cocoon.components.LifecycleHelper.setupComponent(LifecycleHelper
>>    
>>
>.
>  
>
>>java:328)
>>	at
>>org.apache.cocoon.components.LifecycleHelper.setupComponent(LifecycleHelper
>>    
>>
>.
>  
>
>>java:209)
>>	at
>>org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.setupNode
>>(Defa
>>ultTreeBuilder.java:479)
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.FlowNodeBuilder.buil
>>dNode
>>(FlowNodeBuilder.java:70)
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.SitemapNodeBuilder.b
>>uildN
>>ode(SitemapNodeBuilder.java:105)
>>	at
>>org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.createTre
>>e(Def
>>aultTreeBuilder.java:362)
>>	at
>>org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(Def
>>aultT
>>reeBuilder.java:432)
>>	at
>>org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(Def
>>aultT
>>reeBuilder.java:394)
>>	... 39 more
>>org.apache.avalon.framework.component.ComponentException: ScriptNode:
>>Couldn't obtain a flow interpreter for JavaScript:
>>org.apache.avalon.framework.component.ComponentException:
>>    
>>
>flow-interpreters:
>  
>
>>ComponentSelector could not find the component for hint [JavaScript] 
>>(key
>>[JavaScript]) (key [JavaScript])
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.FlowNode.compose(Flo
>>wNode
>>.java:116)
>>	at
>>org.apache.cocoon.components.LifecycleHelper.setupComponent(LifecycleHelper
>>    
>>
>.
>  
>
>>java:328)
>>	at
>>org.apache.cocoon.components.LifecycleHelper.setupComponent(LifecycleHelper
>>    
>>
>.
>  
>
>>java:209)
>>	at
>>org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.setupNode
>>(Defa
>>ultTreeBuilder.java:479)
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.FlowNodeBuilder.buil
>>dNode
>>(FlowNodeBuilder.java:70)
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.SitemapNodeBuilder.b
>>uildN
>>ode(SitemapNodeBuilder.java:105)
>>	at
>>org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.createTre
>>e(Def
>>aultTreeBuilder.java:362)
>>	at
>>org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(Def
>>aultT
>>reeBuilder.java:432)
>>	at
>>org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(Def
>>aultT
>>reeBuilder.java:394)
>>	at
>>org.apache.cocoon.components.treeprocessor.TreeProcessor.setupRootNode(
>>TreeP
>>rocessor.java:516)
>>	at
>>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePr
>>ocess
>>or.java:353)
>>	at
>>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePr
>>ocess
>>or.java:312)
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(Mou
>>ntNod
>>e.java:133)
>>	at
>>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
>>.invo
>>keNodes(AbstractParentProcessingNode.java:84)
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.
>>invok
>>e(PreparableMatchNode.java:165)
>>	at
>>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
>>.invo
>>keNodes(AbstractParentProcessingNode.java:107)
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(
>>Pipel
>>ineNode.java:162)
>>	at
>>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
>>.invo
>>keNodes(AbstractParentProcessingNode.java:107)
>>	at
>>org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
>>(Pipe
>>linesNode.java:136)
>>	at
>>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePr
>>ocess
>>or.java:371)
>>	at
>>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePr
>>ocess
>>or.java:312)
>>	at org.apache.cocoon.Cocoon.process(Cocoon.java:656)
>>	at
>>org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1112)
>>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>>	at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>>ation
>>FilterChain.java:284)
>>	at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>>terCh
>>ain.java:204)
>>	at
>>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
>>ve.ja
>>va:256)
>>	at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
>>ontex
>>t.java:151)
>>	at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
>>	at
>>org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCo
>>ntext
>>Valve.java:245)
>>	at
>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
>>ve.ja
>>va:199)
>>	at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
>>ontex
>>t.java:151)
>>	at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
>>	at
>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
>>a:195
>>)
>>	at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
>>ontex
>>t.java:151)
>>	at
>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
>>a:164
>>)
>>	at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
>>ontex
>>t.java:149)
>>	at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
>>	at
>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
>>.java
>>:156)
>>	at
>>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
>>ontex
>>t.java:151)
>>	at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
>>	at
>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
>>	at
>>org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
>>	at
>>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:805)
>>	at
>>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
>>Conne
>>ction(Http11Protocol.java:696)
>>	at
>>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
>>	at
>>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
>>l.jav
>>a:677)
>>	at java.lang.Thread.run(Thread.java:536)
>>
>>If you need help and this information is not enough, you are invited to 
>>read the Cocoon FAQ.
>>If you still don't find the answers you need, can send a mail to the 
>>Cocoon mailing lists, remembering to:
>>
>>specify the version of Cocoon you're using, or we'll assume that you 
>>are talking about the latest released version; specify the 
>>platform-operating system-version-servlet container version; send any 
>>pertinent error message; send pertinent log snippets; send pertinent 
>>sitemap snippets; send pertinent parts of the page that give you 
>>problems.
>>For more detailed technical information, take a look at the log files 
>>in the log directory of Cocoon, which is placed by default in the 
>>WEB-INF/logs/ folder of your cocoon webapp context.
>>If the logs don't give you enough information, you might want to 
>>increase the log level by changing the Logging configuration which is 
>>by default the WEB-INF/logkit.xconf file.
>>
>>If you think you found a bug, please report it to Apache's Bugzilla; a 
>>message will automatically be sent to the developer mailing list and 
>>you'll be kept in contact automatically with the further progress on that
>>    
>>
>bug.
>  
>
>>Thanks, and sorry for the trouble if this is our fault. 
>>
>>The Apache Cocoon Project
>></error-message>
>>
>>
>>Rafael C. Alvarado
>>Manager of Humanities Computing Research Applications
>>316 87 Prospect | Princeton University
>>
>>
>>-----Original Message-----
>>From: Christopher Oliver [mailto:res1cf5x@verizon.net]
>>Sent: Wednesday, February 25, 2004 7:57 PM
>>To: users@cocoon.apache.org
>>Cc: dev@cocoon.apache.org
>>Subject: Re: Flow problems
>>
>>I'm not sure how this got broken in 2.1.4 but one way to fix it is to 
>>simply remove the flow-interpreters line from components:
>>
>><map:components>
>> <map:generators default="file">
>>   <!-- in this example we use JXTemplateGenerator to insert
>>        Flow variables in page content -->
>>   <map:generator label="content,data" logger="sitemap.generator.jx"
>>                  name="jx"
>>src="org.apache.cocoon.generation.JXTemplateGenerator"/>
>> </map:generators>
>> <map:flow-interpreters default="JavaScript"/>  <<== REMOVE THIS LINE
>> <map:transformers default="xslt"/>
>> <map:serializers default="html"/>
>> <map:matchers default="wildcard"/>
>> <map:selectors default="browser">
>>   <map:selector name="exception"
>>src="org.apache.cocoon.selection.XPathExceptionSelector">
>>     <exception name="invalid-continuation"
>>
>>class="org.apache.cocoon.components.flow.InvalidContinuationException"/>
>>     <exception class="java.lang.Throwable" unroll="true"/>
>>   </map:selector>
>> </map:selectors>
>> <map:actions/>
>> <map:pipes default="caching"/>
>></map:components>
>>
>>CC-ing dev in case somebody there can explain what happened.
>>
>>HTH,
>>
>>Chris
>>
>>
>>
>>Rafael Alvarado wrote:
>>
>> 
>>
>>    
>>
>>>I am trying to set up a flow application, but I am unable to get the 
>>>sample "game" application running -- the one found in the tutorial 
>>>(http://cocoon.apache.org/2.1/userdocs/flow/tutor.html).  I am running 
>>>Tomcat 5.0.16 on Redhat 9.  I have tried to deploy the subsite in two 
>>>instances of cocoon (both of which run fine): (1) the one that comes 
>>>with the latest eXist, and (2) the latest version of Cocoon (2.1.4) , 
>>>with everything installed (I did not edit any of the .properties files).
>>>
>>>In the eXist case, the URL http://myserver:8080/exist/mount/game/
>>>returns a blank page.  In the Cocoon case, I get an error message 
>>>saying there a no languages defined -- and yet the flow examples work.
>>>
>>>Help -- flow is way cool, and it is what I have looking for for some 
>>>time ...
>>>
>>>Rafael
>>>
>>>Rafael C. Alvarado
>>>Manager of Humanities Computing Research Applications
>>>316 87 Prospect | Princeton University
>>>   
>>>
>>>      
>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>> 
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>  
>


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


Mime
View raw message