[EMAIL PROTECTED] wrote:
remm 2003/03/12 13:32:50
Modified: catalina/src/share/org/apache/catalina/core StandardContext.java Log: - If init needs guards against being invoked twice, this also needs it. - Any explanation why, BTW ?
The general idea is simple: components shouldn't assume a perfect world where everything is consistent and loaded in a certain order.
In this particular case - I assume the mbean for the context couldn't find the parent to register itself - when it adds itself to the host, the host will call setParent(). On destroy - I don't think this is a problem.
Well, I was getting a NPE, and the logs seemed to indicate that destroy had already been called.
Remy
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]