"johnrock" <johnpi...@yahoo.com> wrote in message 
news:23787784.p...@talk.nabble.com...
>
> Running tomcat 6.0.18 server.xml has the following listener's enabled by
> default:
>
>
>  <!--APR library loader. Documentation at /docs/apr.html -->
>  <Listener className="org.apache.catalina.core.AprLifecycleListener"
> SSLEngine="on" />
>

If you are not using APR, than you don't need this (and removing it gets rid 
of a message at startup).

>  <!--Initialize Jasper prior to webapps are loaded. Documentation at
> /docs/jasper-howto.html -->
>  <Listener className="org.apache.catalina.core.JasperListener" />
>

If you are never going to use JSP pages, can probably remove it.  However, 
it's pretty light-weight so would leave it in just so that I don't have to 
spend time with any weird errors.

>  <!-- 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.

>  <Listener
> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
>

Also left over from the admin webapp (RIP).  This one really doesn't do 
anything particularly useful anymore, so it is safe to remove.  It should 
probably be removed from the distribution as well (at least for TC 7), since 
it was a bad idea in the first place.

> I am using standalone tomcat (no apache) without SSL, without APR, I am 
> not
> using any manager or host-manager applications ..
>
> Do I need these listeners or can I remove some/all of them?
>
> -- 
> View this message in context: 
> http://www.nabble.com/Which-listeners-required-in-server.xml--tp23787784p23787784.html
> Sent from the Tomcat - User mailing list archive at Nabble.com. 




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

Reply via email to