Re: how to shutdown an EventBridge

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Dec 06 2004 - 13:04:20 EST

  • Next message: Joaquin Arias Buendia: "Re: Problem with FK in snapshot"

    Chris,

    Cayenne access stack has cascading shutdown functionality. So I guess the
    easiest way to do this is:

    Configuration.getSharedConfiguration().shutdown();

    Andrus

    > I'm using cayenne inside a Tapestry webapp and also a standalone server
    > app which keep their caches coherent using JGroups.
    >
    > This is fine so long as I don't try to reload the webapp. This doesn't
    > work because the JChannel isn't told to close down by anything and then
    > it gets lots of ThreadDeath exceptions.
    >
    > Is there any way of getting at the jgroups event bridge from my
    > ServletContextListener so that I can close it when the servlet is
    > stopped/reloaded?
    >
    > Chris Dawes.



    This archive was generated by hypermail 2.0.0 : Mon Dec 06 2004 - 13:04:22 EST