tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Log4j logging doesn't work when a web application is moved outside Tomcat/webapps directory
Date Wed, 05 May 2010 08:47:54 GMT
On 05/05/2010 02:24, Caldarale, Charles R wrote:
>> From: Joe Hansen [mailto:joe.hansen.at@gmail.com]
>> Subject: Re: Log4j logging doesn't work when a web application is move=
d
>> outside Tomcat/webapps directory
>>
>> Scenario 1:
>> log4j.jar is in Tomcat/lib directory
>> log4j.jar is NOT in WEB-INF/lib directories
>=20
> Have you added *anything* else to Tomcat's lib directory?
>=20
>> Scenario 3:
>> log4j.jar is in Tomcat/lib directory
>> log4j.jar is in WEB-INF/lib directories
>=20
> You must never have the same classes located in more than one spot in a=
 given branch of the classloader tree, so the above is not a valid config=
uration.

@joe
Have you cleared out the tomcat/work directory?


p

>  - Chuck
>=20
>=20
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETAR=
Y MATERIAL and is thus for use only by the intended recipient. If you rec=
eived this in error, please contact the sender and delete the e-mail and =
its attachments from all computers.
>=20
>=20
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>=20



Mime
View raw message