cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: war file classpath
Date Fri, 14 Jun 2002 08:05:59 GMT
Thanks for the reply.

I am also using a library of other files. If I unzip them into WEB-INF/classes then they are
found ok (but not a practical approach). But when I put the jar in WEB-INF/lib then I get
the dreaded a jar file it just isn't found.

Could this be symptomatic of having cocoon deployed in a war in an ear?
I just thought I could drop any jar into WEB-INF/lib and automatically have access to the



> From: []
> Hi,
> I'm deploying Cocoon as a war file (within an ear file).
> My own sitemap.xmap file contains references to self-written
generators but
> when I try and access my files through a browser the sitemap cannot
find them,
> therefore cannot be compiled, and throws  the following error:

Make sure you have your generator in the WEB-INF/classes or in the jar
file in WEB-INF/lib of the Cocoon webapp.


> I tried jarring up my files into WEB-INF/lib - this didn't make a
> I tried also adding an extra-classpath reference in web.xml pointing
to this
> jar file - again, this didn't make a difference
> I tried just unjarring the files into WEB-INF/classes - and again,
this made
> no difference
> How can I tell Cocoon where to find my generator (and other) files?
> C.
> --
> __________________________________________________________________

Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience
of buying online with Shop@Netscape!

Get your own FREE, personal Netscape Mail account today at

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message