Hi all,
I'm currently playing with the SIGTERM signal to stop our application properly if we need to. But what I noticed is that we do not pass through @Invalidate methods during the ending process.
So I started to test with a simple app (with 2 maven submodules) and in this case everythings works great. So I was wondering if it was not cause of a too long ending process where the server could be killed before.
I added a Thread.sleep() in one of my @Invalidate methods and I saw that the app end before reach the end of the method.
Is it a normal security process ? If so, is there any best practices we should know when terminate properly our app or a timeout parameter we can configure ?