DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31192>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31192

log4j should support delayed appender activation





------- Additional Comments From [EMAIL PROTECTED]  2004-09-13 23:14 -------
The problem is that while the jvm is trying to initialize the static log4j
logger variable of the jboss NamingContext class, that log4j attempts to
activate all the appenders.  Therefore the JMSAppender tries to create an
initial context, which in turn uses the previously loaded, but incomplete
NamingContext class.  The NamingContext was previously loaded therefore the jvm
tries to call methods on the class which try and use fields that have not been
initialized because we have never completed the static variables initialization
when the NamingContext class was first loaded.  

I hope that makes sense.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to