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

about tomcat

fang eve

Joined: Jun 22, 2006
Posts: 26
My tomcat is install in linux, but it will down very often, how can i check the time that it is down, and also find out what error causes it. Just want to check will logging failed cause the tomcat server to be down?
Mike Noel
Ranch Hand

Joined: Dec 15, 2005
Posts: 108
You'll get a much better response by posting this in the Apache/Tomcat forum or the tomcat-users mailing list (see the apache site for this info).


Mike Noel
marc weber

Joined: Aug 31, 2004
Posts: 11343

Moving to the Tomcat forum.

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Have you read the logs under {tomcat install}/logs?
It's rare that Tomcat will die without logging something.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
fang eve

Joined: Jun 22, 2006
Posts: 26
Ya i read through all the logs, but don't seem to have any problem. I look through catalina.out also, but cant seem to find the problem.
I also have read through server.xml to check the connection timeout, it was set correctly.

I was puzzled why the tomcat is down so often, is like 1 hour will down once. This there any java functions that can trace the tomcat connection time.
I agree. Here's the link:
subject: about tomcat
It's not a secret anymore!