This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have an application which is running in Tomcat 5.5. It is developed with the heavy use of Spring/Hibernate. It runs well for 1-2 hrs but then just hangs. Tomcat does not show any error (out of memory or some other) in the logs but does not respond to any request. I can only see the app's login page once it hangs.
In my application, a set of 10 jobs (Quartz API) get fired after every 5 minutes. I checked the logs and these jobs tohether take just 3 seconds to finish when the server is running normally. I have checked my code many a times but I doubt its my code's problem.
I have also tried increasing the heap size but it did not help either.
I am really confused as to what can be the issue. Is it some problem with Spring/Hibernate configuration, Memory leaks?
Please suggest me how can i really diagnose the problem and fix it.
P.S. I am duplicating this post in this forum as well since I am looking for this solution really fast.