cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: [c2] can't start cocoon
Date Tue, 06 Mar 2001 21:21:23 GMT
On Tue, 6 Mar 2001, Colin Britton wrote:

> To make C2 work with Catalina (current CVS not B1) you need to add the
> following to the cocoon web.xml
>
>   <init-param>
>        <!-- change param value to path to Catalina's servlet.jar -->
>       <param-name>extra-classpath</param-name>
>
> <param-value>D:\xml_technology\jakarta-tomcat-4.0\common\lib\servlet.jar</pa
> ram-value>
>     </init-param>

unfortunately, it didn't work ;(. i still get this:

2001-03-06 15:45:20 ERROR   24043   [cocoon  ] (Thread-6): Error compiling
sitemap
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap:
Line 0, column 0:
/home/balld/src/jakarta-tomcat-4.0/build/work/localhost/cocoon/org/apache/cocoon/www/_/home/balld/src/jakarta_tomcat_4_0/build/webapps/cocoon/sitemap_xmap.java:21:
Class javax.servlet.http.HttpServletRequest not found in import.
import javax.servlet.http.HttpServletRequest;
       ^

        at
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(JavaLanguage.java:201)
        at
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:132)
        at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:224)
        at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:194)
        at org.apache.cocoon.sitemap.Handler.run(Handler.java:174)
        at java.lang.Thread.run(Thread.java:484)

even though i edited $cocoon/WEB-INF/web.xml and added the extra-classpath
and set its value to my servlet.jar's location. just double checked and
yes, the path is valid, the jar is readable, and it contains
javax.servlet.http.HttpServletRequest.

- donald


Mime
View raw message