cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Textor <jc.tex...@gmx.de>
Subject Re: 2.1.4-dev --> 2.1.4 release No languages defined!
Date Wed, 03 Mar 2004 15:50:15 GMT
I also had this problem, but it was because I inserted the following 
fragment from the cocoon doc's flowscript tutorial
(http://cocoon.apache.org/2.1/userdocs/flow/tutor.html) into my sitemap:

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

After commenting out the "<map:flow-interpreters>" line it worked fine. I left the 
"<map:flow language="javascript">" declaration untouched. Maybe this might help.

Bertrand Delacretaz wrote:

> Le Mercredi, 3 mars 2004, à 16:00 Europe/Zurich, Peter Lerche a écrit :
>
>> org.apache.avalon.framework.configuration.ConfigurationException: No
>> languages defined!
>
>
> I've seen this recently, the problem was an incorrect javascript flow 
> declaration in sitemap (<map:flow language="javascript">).
>
> You might want to compare your sitemaps with samples from the 2.1.4 
> release.
>
> -Bertrand
>
> ---------------------------------------------------------------------
> 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