I've recently deployed a java
application to an shared Apache / Tomcat
server with MySQL as a backend database.
It's a UNIX server.
Tomcat version is 5.5
It uses mod_jk:
The Application is structured with: Struts2 with Spring and Hibernate integration.
Whenever I try to open a page
1) it takes too long (2-3 minutes!) to open a single page (even the most static ones, I mean even the page which is just a Struts
Action execute without anything else)
2) The page stops working with following error appear on the browser screen:
The frequency of happening of the second thing is something like 90%!
I could only access catalina.out and there were not anything related to the runtime error or exception. In access.log the response code, almost everytime, was 200 but it wasn't corresponded to the browsing situation.
I even tested the site in Lynx as well, which the same thing was occured there as well.
I've searched about the above error and had not come to any resolution.
I'd really appreciate if anyone could help me find out what's going on!