Hi all!
 
   I am new to Cocoon, step by step following  the "Java and XML" book.
I was using Cocoon 1.8 , It seems OK except the JSP compilation error (will be discussed in another mail).
All XML and XSLT files seems works. But after I upgrade my Cocoon 1.8 to 1.8.2, I can't start Cocoon.
The error message is as follows:
------------------------------------<error_message>---------------------------------------------------------------
Publishing Engine could not be initialized.
java.lang.RuntimeException: Error loading logicsheet at resource://org/apache/cocoon/processor/xsp/library/java/util.xsl due to java.lang.Exception: Resource not found or retrieving error.
 at org.apache.cocoon.processor.xsp.XSPProcessor.init(XSPProcessor.java:302)
------------------------------------</error_message>-----------------------------------------------------------
I carefully checked the classpath and included jar filename (the jar difference is FOP 0.13-> 0.15 , I updated too)
I am using Linux 7.1 , Resin 1.2.7
The resin.conf about Cocoon is as follows:
(I am sure all the .jar files are located correctly)
-------------------------------------<resin.conf>----------------------------------------------------------------------
    <web-app id="/cocoon" app-dir="/usr/local/cocoon">
      <classpath id='bin/cocoon.jar' />
      <classpath id='lib/xerces_1_2.jar' />
      <classpath id='lib/xalan_1_2_D02.jar' />
      <classpath id='lib/fop_0_15_0.jar' />
      <classpath id='lib/turbine-pool.jar' />
      <servlet>
        <servlet-name>org.apache.cocoon.Cocoon</servlet-name>
          <servlet-class>org.apache.cocoon.Cocoon</servlet-class>
          <init-param>
            <param-name>properties</param-name>
            <param-value>conf/cocoon.properties</param-value>
          </init-param>
      </servlet>
      <servlet-mapping servlet-name="org.apache.cocoon.Cocoon" url-pattern="*.xml" />
    </web-app>

--------------------------------------</resin.conf>-----------------------------------------------------------------
Thank you all in advance!

 

Reply via email to