I am using a ManagedScheduledExecutorService, to schedule at fixed rate
execution of a couple of methods.

I've noticed that if I remove the application from tomee by deleting it from
the webapps directory, the methods continue to run and the webapp 'leaks'
permgen as the thread that handles the executor retains references to my
webapp.

Is this supposed to happen?  Shouldn't Tomee cancel any scheduled tasks that
are added via  a ManagedScheduledExecutorService on undeploy? Or do I have
to do this myself in a @postDestroy cleanup method?  

Thanks.



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/ManagedScheduledExecutorService-tp4681719.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to