ScheduledThreadPool Executor Problem
I have used ScheduledThreadPool Executor class to perform some task on a database and this task has to be done every minute and it should go on for ever.
The main thread created will create child threads and the actual work is done by these worker threads.
The problem that i'm facing is the whole process runs properly for around 4 days and after that the programs stops executing without any errors.
The logs show that the control is stuck with the worker thread but the thread is not throwing any error.
Can someone tell me if this is a problem with threads?