tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core StandardContext.java
Date Wed, 12 Mar 2003 22:10:52 GMT
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


Mime
View raw message