This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hello I have faced a problem and just wondering how could that happened? So i am having a thread which is running continuously till my application runs...
And stop running via flag which is set in ServletContextListener's contextDestroyed method.
Now my application was up for couple of months with server running continuously without shutdown... But recently i discovered that this thread has been stopped... there is no exception because log should have had it. Which lead to belief that contextDestroy method has been called somehow.
Also one baffling thing is in contextInit i again create the thread.... its hard to understand this behavior has any faced this problem before?