File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Problem" Watch "Tomcat Problem" New topic

Tomcat Problem

Ramesh Shanmugam
Ranch Hand

Joined: Sep 13, 2004
Posts: 132
I working on Jakarta Tomcat 4.1 version. When i work on the Tomcat server for more hours it goes to non reponse mode. When i restart the Server it works fine.(It means the server stops automatically)

Do tomcat have any perdefined hours of working or whether it is a installation mistakes...

Ramesh Shanmugam - SCJP 1.5
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
No, of course...

I think, env in you server is mistake...

Java Developer, Thailand
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
Try some debug: GC, connection pools(if any), thread pools.

SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
Ramesh Shanmugam
Ranch Hand

Joined: Sep 13, 2004
Posts: 132
Thanks Somkiat& David

But the server is working fine all the times. This error comes rarely.
It is not happening frequently..
lesley evensen

Joined: Nov 02, 2001
Posts: 14
If you haven't yet, check the log file (under the logs folder of your jakarta-tomcat-4.1 installation) catalina.out - if your error handler is writing to sys out, the messages will be there. See if you've exhausted memory. You may have a memory leak in your application and that may explain why your server seems to run most of the time.

<A HREF="" rel="nofollow"></A>
I agree. Here's the link:
subject: Tomcat Problem
jQuery in Action, 3rd edition