Yes.the Servlet is deployed in Tomat 6 /Linux in my own computer.Servlet will connect to the Database and retrieve the records.
We have system.out statements. One
thread is processing the request , again the new thread is trying to execute from the starting.(Catalina.out is having log statements.)
Records will be retrieved based on dates.1 day or 10 day like that. For example if we give to retrieve the records for 1 day ,then the servlet is working properly.But , if we give 10 days to retrieve , the request is processing after some 5 mins , again new thread is started.