tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50738] Manager.initInternal not invoked on context reload
Date Wed, 09 Feb 2011 09:40:31 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50738

--- Comment #6 from Martin Grotzke <martin.grotzke@googlemail.com> 2011-02-09 04:40:28
EST ---
I just overwrote destroyInternal and debugged/logged, but it seems to be not
called for me, neither on context reload nor during stop (CTRL-C).

Anyway, so I'll move initialization to startInternal.

One suggestion though: please change the javadoc of
LifecycleMBeanBase.initInternal()
which is inherited/seen by subclasses so that it makes clear that initInternal
is only invoked for initial start, but not during a reload. The current
documentation (of LifecycleMBeanBase.initInternal) is not clear about this:

    /**
     * Sub-classes wishing to perform additional initialization should override
     * this method, ensuring that super.initInternal() is the first call in the
     * overriding method.
     */

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message