Hi folks, I'd like to know how I could trigger an automatic undeploy of a context after it has been fully loaded. The thing is that I'd be able to deploy some code whenever I want (in order to cleanup my database, clear the caches, etc), and be sure this webapp will not be reloaded next time I restart the server. I could undeploy it manually, but I'd like it to be automatic. So I deploy the webapp, it does the job, then undeploy itself.
Thanks a lot for your answers Regards, Alex