AW: Recognize shutdown event in tomcats Realm instance

2018-08-29 Thread Arno Schäfer
> Over-ride RealmBase.stopInternal() and don't forget to call > super.stopInternal() when you do. Thanks a lot Mark for the fast answer! I have overlooked that, sorry. - Arno - To unsubscribe, e-mail: users-unsubscr...@tomcat.ap

Re: Recognize shutdown event in tomcats Realm instance

2018-08-29 Thread Mark Thomas
On 29/08/18 12:43, Arno Schäfer wrote: > Hi all, > > we use our own Realm implementation in our webapps. If tomcat shuts down, we > have to do some clean up > in this instance to speed up the shutdown. > In our web application we do this in the ServletContextListener instance in > 'contextDestro

Recognize shutdown event in tomcats Realm instance

2018-08-29 Thread Arno Schäfer
Hi all, we use our own Realm implementation in our webapps. If tomcat shuts down, we have to do some clean up in this instance to speed up the shutdown. In our web application we do this in the ServletContextListener instance in 'contextDestroyed(...)' method. What is the right place to do this