0

Hi All,

I am designing a web page using JSP / JDBC / JavaScript and apache tomcat 5.5. There seems to have a major issue after few page request. Initially, all pages respond was excellent but after few ( 10 - 15 ) requests, the respond time drops to minutes ( sometime 2- 3 minutes ).

Now. if I restart the tomcat this problem goes off for again say 10 new request but again the situation remains the same. As I am suspecting some memory leak as I am more of C++ coder, but Java / JSP being a auto garbage collector, How can this happen at all? 

 I know that the number of requst I am making is huge ( may be 3 per page refresh as I am connected pages ) but still, I am not okey with this ..  Request you all to kindly address me any sort of help to resolve this matter.. As I am completely stucked in here..

 With Thanks in Advance
2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by harinath_2007
0

I am designing a web page using JSP / JDBC / JavaScript and apache tomcat 5.5. There seems to have a major issue after few page request. Initially, all pages respond was excellent but after few ( 10 - 15 ) requests, the respond time drops to minutes ( sometime 2- 3 minutes ).

The response also depends on the content of your page. What is your output page consists of ? and Also Make sure your code is logically correct. (i mean is database connected for every request or only for first request if at all you are using jdbc...etc..)

I dont think there might be a problem in tomcat server . Anyway its' a temporary issue ....try re-installing the server

Edited by harinath_2007

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.