Costin Manolache wrote:
> remm@apache.org 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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
|