tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrés Glez. <andres.gonza...@publicinet.net>
Subject Re: Shared/WebApp ClassLoaders
Date Fri, 18 Nov 2005 12:38:52 GMT
OK, the problem was exatly the reverse, the classes (jars) of shared/lib 
didn't find log4j and the ClassNotFoundExcepcion was caused by that.


----- Original Message ----- 
From: "Andrés Glez." <andres.gonzalez@publicinet.net>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Friday, November 18, 2005 11:04 AM
Subject: Shared/WebApp ClassLoaders


> Something strange happened to my tomcat yesterday:
>
> I have two webApps which use some shared jars that i put in 
> $TOMCAT_HOME/shared/lib
>
> Yesterday i decided to remove the log4j.jar from shared/lib and put it on 
> each webApp WEB-INF/lib dir.
>
> Log4j works great now, and one of the WebApps also runs fine. But the 
> other can not find any of the classes of the jars that remain in 
> $TOMCAT_HOME/shared/lib
>
> I had to put ALL the jars of shared/lib in this WebApp WEB-INF/lib/ dir to 
> make it work.
>
> Any suggestions to try to find why this is happening?
>
> OS: Debian 3.0
> Tomcat: 5.0.28
> JDK: 1.4.2_09
>
> Thanks
>
> --
> Andrés González Rodríguez
> andres.gonzalez@publicinet.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> 


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


Mime
View raw message