File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Tomcat  4.0 running slow !!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat  4.0 running slow !!!" Watch "Tomcat  4.0 running slow !!!" New topic
Author

Tomcat 4.0 running slow !!!

Rajeev Ravindran
Ranch Hand

Joined: Aug 27, 2002
Posts: 455
hi all,
Im using Tomcat 4.0 and MS-Access. Im woking on a web application which include abt 150 jsp pages and lots of database manipulation. My problem is that my application runs very slow after 10-15 processing.. I mean, if i close the Tomcat server and restart it, then it works very properly..im using connection pool for database manipulation..Wat cld be the problem ?? I'm follwing MVC architecture for my project.
cld any1 help me ???
Thanks,
raj

SCJP2


SCJP, SCWCD, SCBCD, Oracle Certified Professional (SQL n PL/SQL)
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5
One possibility would be that your application is using an increasing amount of memory and the slowdown is due to the operating system paging memory in and out. Do you see alot of disk activity? Can you watch the memory in use?
Bill
Rajeev Ravindran
Ranch Hand

Joined: Aug 27, 2002
Posts: 455
hi william,
Thanks for ur reply and u were absolutely right !! I checked my system's memory usage and it keeps on increasing after each process.. Cld u tell me how to rectify this situation ??
Thanks,
raj.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5
You are going to have to conduct a very careful review of the code. In particular, make sure you are properly closing and disposing of the JDBC related classes. I have heard that they are frequently the cause of such problems if not properly disposed of.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat 4.0 running slow !!!