wyona / yanel

http://www.yanel.org
Apache License 2.0
10 stars 5 forks source link

Stop scheduler threads at shutdown of Yanel #52

Open michaelwechner opened 11 years ago

michaelwechner commented 11 years ago

Tomcat is currently logging the following severe message:

"SCHWERWIEGEND: The web application [/yanel] appears to have started a thread named [MyScheduler_Worker-1] but has failed to stop it. This is very likely t o create a memory leak."

we should stop these threads properly.

Also see

http://stackoverflow.com/questions/12176861/i-am-getting-the-memory-leak-exception-in-tomcat-console http://wiki.apache.org/tomcat/MemoryLeakProtection