tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Which listeners required in server.xml?
Date Tue, 02 Jun 2009 11:50:04 GMT
Bill Barker wrote:
>>  <!-- JMX Support for the Tomcat server. Documentation at
>> /docs/non-existent.html -->
>>  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
>> />
> 
> This looks like it is left over from the admin webapp (RIP).  It doesn't 
> look like it does anything particularly useful anymore, but again the 
> warning about weird errors.

There is almost certainly some code in there that is now redundant.
However, this listener is currently where we make sure all of the mbeans
are destroyed when a server stops. Only an issue when embedding and
starting/stopping the server.

So, scope for clean-up but at least some code needs to remain here or
elsewhere.

Mark



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


Mime
View raw message