cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: [C2] more classloader issues
Date Tue, 13 Feb 2001 13:25:40 GMT
Paul Lamb wrote:
> 
> >
> > Paul Lamb wrote:
> > >
> > > I just updated to the lastest cvs of c2 and tomcat-4.0
> > (catalina) and
> > > I've started having a problem with cocoon not finding the correct
> > > classpath.
> > >
> > > >From the logs I get the following:
> > >
> > > DEBUG   130     [cocoon  ] (HttpProcessor[8080][4]): Classpath =
> > >
> > D:\working\t4\webapps\cocoon\WEB-INF\classes;.\bin\bootstrap.j
> > ar;d:\java
> > > soft\jdk1.3\lib\tools.jar
> > >
> > >
> > Are your other libraries installed in "WEB-INF/lib"?  That is where
> > they need to be installed.
> >
> Ok, I moved them from the catalina ./lib over to WEB-INF/lib. Which
> solves that problem. But now the sitemap won't compile since servlet.jar
> isn't in the classpath; and if you put servlet.jar in WEB-INF/lib cocoon
> won't load at all because it says that cocoon isn't a servlet. I even
> made sure to re-compile cocoon with the servlet_2_3.jar present in the
> xml-cocoon/lib.

Ugh.  Ok.  We will add in a classpath attribute for the web.xml file
so that you can put the path to the jar there.

The short term solution is to place the servlet_2_3.jar in the system
classpath--that way Cocoon will see it.

Mime
View raw message