tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: [OT] Weblogic library and Tomcat
Date Sat, 14 Feb 2009 01:13:16 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chuck,

On 2/12/2009 10:12 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:chris@christopherschultz.net]
>> Subject: Re: Weblogic library and Tomcat
>>
>> log4j:ERROR LogMananger.repositorySelector was null likely
>> due to error in class reloading, using NOPLoggerRepository.
>>
>> I'm a little unclear as to whether that log4j error message is coming
>> from Tomcat trying to shut down log4j or what. log4j.jar is only
>> available in my webapp's WEB-INF/lib directory.
> 
> It's likely from having this system property:
>   org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES
> set to true (the default).
>
> [http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html#Other]

Heh. From the docs:

"
There have been some issues reported with log4j when this option is true.
"

There is hope, though:

"
Applications without memory leaks using recent JVMs should operate
correctly with this option set to false.
"

Just like every other member of the list, my webapp absolutely
positively without a question has no memory leaks at all. No, sir-ee!
Not me! :)

> https://issues.apache.org/bugzilla/show_bug.cgi?id=41939

I think this guy has the problem nailed:
https://issues.apache.org/bugzilla/show_bug.cgi?id=43867#c39

I am also using struts-validator which is why I'm getting the message he
outlines.

It's odd that the class appears to be re-initialized, though. I'll have
to do some more reading

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmWGqwACgkQ9CaO5/Lv0PD34gCfaqPJ1uNsbwOVspUw8K/MHLlf
psgAn2Sm8XjPWCa8G8lXMdgY44Xw805m
=fDD7
-----END PGP SIGNATURE-----

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


Mime
View raw message