2009/11/17 Joel SCHAAL <schaal.j...@e-serve.ch>:
>
> Since we want to have more than one of our application in the same server, I
> put our jars in ${catalina.home}/lib/ instead of WEB-INF/lib and I added the
> reference of every sub-folder in ${catalina.home}/lib/ to the server.loader

Tomcat version = ?

Try with common.loader first.

Why do you have sub-folders in /lib/ ?

> put our jars in ${catalina.home}/lib/ instead of WEB-INF/lib

Be sure that you removed duplicate jars from WEB-INF/lib.
(class-loader-howto.html explains why)


> parameter in ${catalina.home}/conf/catalina.properties (using *.jar)
> (tried shared.loader and common.loader as well, with no use)
>
> The problem, I get this exception at server startup :
> GRAVE: Erreur lors du déploiement du répertoire upsm de l'application web
> java.lang.ClassNotFoundException: eserve.framework.EserveContext
>  at
> org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2808)
>  at
>
> I looked in the source code, and found out that the class loader of the
> Digest at that time is the one used at startup time.
> I thought it would be the one from Bootstrap.catalinaLoader.
> What have I done wrong ? Should I specify another classloader in a file ? I
>

I guess that either you misspelled something, or your class depends on
some other libraries that are not available.

> did not find this information in any of the following locations :

Make sure that you have read and understood the following document:
> - http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to