cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Britton" <co...@freefoto.com>
Subject Re: [c2] can't start cocoon
Date Tue, 06 Mar 2001 22:26:23 GMT
I am working with C2 from CVS (right up to date - just updated to be sure)
and Catalina from the nightly build (jakarta-tomcat-4.0-20010305.zip) and
the only thing I did was add the extra classpath.

My system is Win2k with Sun JDK 1.3

rgds
CB


----- Original Message -----
From: "Donald Ball" <balld@webslingerZ.com>
To: <cocoon-dev@xml.apache.org>
Sent: Tuesday, March 06, 2001 4:21 PM
Subject: Re: [c2] can't start cocoon


> 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/co
coon/www/_/home/balld/src/jakarta_tomcat_4_0/build/webapps/cocoon/sitemap_xm
ap.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.CompiledProgrammingLanguag
e.load(CompiledProgrammingLanguage.java:132)
>         at
>
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:224)
>         at
>
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>


Mime
View raw message