cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <Giacomo.P...@pwr.ch>
Subject Re: DirectoryGenerator on latest CVS build (25-09-00)
Date Mon, 25 Sep 2000 21:11:11 GMT
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?

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)

Giacomo

-- 
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1  856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1  856 2201
Hintereichenstrasse 7                     Mobil: +41 (0)78 759 7703
CH-8166 Niederweningen                    Mailto:Giacomo.Pati@pwr.ch
                                          Web:   http://www.pwr.ch

Mime
View raw message