-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Derek,

Derek Alexander wrote:
> Have been looking at the source, although not documented (for TC5.5), it
> seems that it is possible to nest a Listener element
> (org.apache.catalina.LifecycleListener) under the Server element as 
> http://tomcat.apache.org/tomcat-5.5-doc/config/context.html described here
> for nesting within Context elements.

I don't think you want this on a Context... you'd be getting events when
the webapp was taken out of service (even during a re-reploy) rather
than when the server was going down.

> This could be used to provide a more elegant way of receiving notification
> of when the server has stopped.

If it can really notify you as TC is going down, that would be good: you
could touch a file or something like that.

> However, still not synchronous, looking at JMX for that, seems like I just
> need to invoke StandardServer.stop()

Not synchronous? Aren't notifications almost always synchronous?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG4XK49CaO5/Lv0PARAtESAJwP+Gf+RoGjLVGI7JiwTaEPCK5GmwCglbHF
G45V5/IVG+K4ofeHdc5F2yw=
=8eI6
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to