Hi Leo, 

you have to put cocoon.jar in the classpath-variable of the VM. That's because the 
util-class of cocoon uses the ClassLoader.getSystemResource() method 
and can't find these classes when they are stored as jar in a lib-directory. 

I've spend one day to solve this problem.  

I've done it in catalina.sh on line 70. 

rem ----- Set Up The Runtime Classpath ---------------------------------------- 
set 
CP=%CATALINA_HOME%\bin\bootstrap.jar;%CATALINA_HOME%\common\lib\tools.jar;%CATALINA_HOME%\common\lib\xerces_1_2.jar;%CATALINA_
 
HOME%\common\lib\cocoon.jar 

After done cocoon was running. 

But now i have the problem, that the xsp-Pages throw a class cast exception. Can you 
please tell me, if  you have the same problem when cocoon is
running? 

BTW there is no Cocoon.xml file. that's the alias of the servlet configured in the 
web.xml. If that servlet is called without a valid xml-File it produces a standard 
output with some informations about cocoon.

Regards Frank

Am 02.11.01 06:20:02, schrieb Tod Thomas <[EMAIL PROTECTED]>:

>> 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.
>
>
>I get this error when trying the run the Hello.xml sample.  I'm running
>Tomcat standalone from a binary install, and am using a binary install
>of Cocoon 1.8.2.  I've followed all the installation instructions
>(except for the Apache customization parts) and here I am.
>
>Details:
>
>Tomcat 4.0.1 from binary, running standalone.
>Cocoon 1.8.2 from binary
>Java - Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
>Files -  
>   jakarta-tomcat-4.0.1.tar.gz
>   Cocoon-1.8.2.tar.gz
>
>Tomcat lib contents:
>       cocoon.jar    
>       ant_1_1.jar   
>       bsfengines.jar
>       bsf.jar
>       fesi.jar
>       fop_0_15_0.jar
>       sax-bugfix.jar
>       servlet_2_2.jar 
>       stylebook-1.0-b2.jar
>       turbine-pool.jar
>       w3c.jar
>       xalan_1_2_D02.jar
>       xerces_1_2.jar
>       xml.jar
>       xt.jar
>       jasper-compiler.jar
>       naming-factory.jar
>       jasper-runtime.jar
>
>BTW, I can't find Cocoon.xml in either of the install tar.gz's.  I'm
>getting to the Hello.xml file by using 
>http://localhost:8080/cocoon/samples/hello/hello-page.xml.  Is this
>right?  Maybe I have a configuration problem?  Maybe I have a frontal
>lobe problem?  
>
>Thanks for any assistance.
>
>Tod
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to