cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: DirectoryGenerator on latest CVS build (25-09-00)
Date Mon, 25 Sep 2000 22:48:28 GMT
Giacomo Pati wrote:
> 
> Stefano Mazzocchi wrote:
> >
> > Giacomo Pati wrote:
> > >
> > > --- WAS Online <was@ndrmobil.de> wrote:
> > > > Hi there,
> > > >
> > > > finally i got C2 to work with catalina... (phew) which cost me a lot
> > > > of
> > > > nerves, since the repositories do not seem to be in a 'synchronized'
> > > > state at all, as i had to edit a lot of files to get all that
> > > > components
> > > > to work whith each other. Anyway, may problem is of another kind:
> > >
> > > Can you explain your problems? I usually compile Tomcat-4.0 with 'build
> > > dist', put all jars from [cocoon2]/lib (except ant and stylebook I
> > > think) into dist/tomcat-4.0/lib and put the cocoon.war file into
> > > dist/tomcat-4.0/webapps (I remember having expanded the cocoon.war
> > > manualy into a cocoon directory)
> >
> > Please, stop doing this.
> >
> > The Catalina ./lib directory _MUST_ remain clean... you should not put
> > the C2 libraries there...otherwise how can we have feedback on Servlet
> > 2.2 application behavior?
> >
> > The "right way" of installing C2 on catalina should be
> >
> > ./build.sh -Dinstall.war=../build/tomcat-4.0/webapps
> > -Dinclude.webapp.libs=yes install
> 
> Yes, I know how it should be, but at the moment it seems not to run that
> way (almost not for me) because of a ClassLoader problem in catalina.
> Have you got it running?

Yes, fresh cocoon2 and catalina out of CVS
 
> javax.servlet.ServletException: Wrapper cannot find servlet class
> org.apache.cocoon.servlet.CocoonServlet or a class it depends on
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java,
> Compiled Code)
>         at
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:539)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:223)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java,
> Compiled Code)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java,
> Compiled Code)
>         at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:1636)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
>         at
> org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:343)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java,
> Compiled Code)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java,
> Compiled Code)
>         at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:787)
>         at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:904)
>         at java.lang.Thread.run(Thread.java, Compiled Code)

I patched the build.xml file that didn't place the servlet jar in the
war file.

Have you updated your build file?

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message