At 05:13 PM 18/07/01, you wrote:
> > Alright, I'm out of my depth here ;) Is the compile done at runtime?
> > Besides which, I think you already have the solution. Include the jars in
> > $TOMCAT_HOME/lib...
> >
> > (And which jars are we talking about here? The cocoon/servlet ones,
> > presumably?)
> >
>
>While checking the source I found that the compile process and the
>execution of the generated code is done in the same servlet.
>
>I know that $TOMCAT_HOME/lib would be a solution but we have a lot of
>them and they change quite often. They are all written by ourselves and
>have nothing to do with cocoon or tomcat.
>
>Its funny I think its a classpath issue of tomcat.
OK, I'm going to have to bail at this point - I really don't have the
expertise to be able to answer this... (Out of interest, is there a cocoon
mailing list & have you tried it?)
Ideas that may or may not (probably the latter) be of use:
* Automate the build process with ant to add the jars to tomcat/lib (A
hack, but...)
* Try expanding the jars into WEB-INF/classes
* Implement a seperate class loader - I'm using a URL classloader which
works fine...
* Add the classes to a seperate system classpath entry.
Sorry I can't be of more help!
Jim
--
* Jim Cheesman *
Trabajo:
[EMAIL PROTECTED] - (34)(91) 724 9200 x 2360
One should
never generalize.