Werner Guttmann wrote:

>Hi,
>
>I am just in the process of upgrading an existing web application to use
>Cocoon 2.0.3 rather than 2.0.1 (running on Solaris 8, JDK 1.3.1). When
>starting Tomcat 4.0.1, I am getting the following ComponentException in
>e.g. core.log:
>
>I have searched the logs already (incl. the FAQ), but most entries seem
>to relate to missing components within the sitemap, such as custom
>actions, etc.
>
>All I have done is to copy sitemap, cocoon.xconf and logkit.xconf from
>the Cocoon webapp shipped with the binaries, and mades ome minor chnages
>in the pipeline section that are application specific.
>
>Any idea what might be going wrong ?
>
>W..
>
>ERROR   (2002-08-15) 10:34.14:581   [core.manager] (Unknown-URI)
>Unknown-thread/ExcaliburComponentSelector: Could not set up Component
>for hint: java
>org.apache.avalon.framework.parameters.ParameterException: The parameter
>'compiler' does not contain a value
>        at
>org.apache.avalon.framework.parameters.Parameters.getParameter(Parameters.java:157)
>

It's (almost) clear. You don't have required parameter in the 
cocoon.xconf. Check that your cocoon.xconf have something like this:

  <!-- Programming Languages: -->
  <programming-languages>
    <java-language logger="core.language.java" name="java">
      <!-- Specifies which formatter to use to format source code.
           This parameter is optional.
           It is commented out because of bug #5689: Java 
"code-formatter" incorrectly formats double values
      <parameter name="code-formatter" 
value="org.apache.cocoon.components.language.programming.java.JstyleFormatter"/>
      -->
      <!-- A singleton-like implementation of a ClassLoader -->
      <parameter name="class-loader" 
value="org.apache.cocoon.components.classloader.ClassLoaderManagerImpl"/>
   
      <!-- Compiler parameter specifies which class to use to compile Java.
           Possible variants are:
             Javac. Requires javac.jar (included with JDK as 
lib/toools.jar).
             Pizza. Requires pizza.jar (included with Cocoon distribution).
             Jikes. Requires IBM jikes compiler to be present in the 
PATH  -->
      <parameter name="compiler" 
value="org.apache.cocoon.components.language.programming.java.Pizza"/>
</java-language>


Vadim



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

Reply via email to