I used Timertask and Timer. But when I am using scheduleAtFixedRate(TimerTask task, long delay, long period) and implemented run method in Task class. I call this method in init of my servlet. But after some time the task starts running in more than one threads. Is there any way to avoid that.