-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Xavier,
On 1/28/13 12:20 PM, Xavier Dury wrote: > I'm using Tomcat 7.0.x and made a custom > javax.naming.spi.ObjectFactory to create a Ehcache manager, > exposing a configured CacheManager to an application through > (local) JNDI. My question is: how/where can I call the > CacheManager.shutdown() method when my application is > (re|un)deployed? I tried adding a NamespaceChangerListener to the > (Event)Context passed to the ObjectFactory.getObjectInstance() > method without luck. What does your configuration look like? Are you using <Resource> in server.xml/context.xml? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEAREIAAYFAlEGvlMACgkQ9CaO5/Lv0PAmawCfS5ZP+1RzKbQJzZBtwo6vrPj1 Z6YAn3NHTr/oiR7RUVgzZgMcs5NDNlCq =iX5J -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org