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 Monitor tomcat, logs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Monitor tomcat, logs" Watch "Monitor tomcat, logs" New topic
Author

Monitor tomcat, logs

varun bihani
Ranch Hand

Joined: Aug 11, 2003
Posts: 96
How can I monitor tomcat? where are the logs stored on debian/linux server ? I want to know when and why does tomcat stops ?


<a href="http://www.galaxyweblinks.com" target="_blank" rel="nofollow">www.galaxyweblinks.com</a><br /><a href="http://www.freechatcode.com" target="_blank" rel="nofollow">www.freechatcode.com</a><br /><a href="http://www.onlinefamilytreemaker.com" target="_blank" rel="nofollow">www.onlinefamilytreemaker.com</a>
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12678
    
    5
Recent Tomcat versions have included the "Management" application - thoroughly discussed in your tomcat installation in web-apps/tomcat-docs/manager-howto.html - this lets you monitor all sorts of useful things such as the number of threads, memory settings, active requests, etc.
(I have no idea about the log location but it should be relative to the Tomcat installation location)
Bill


Java Resources at www.wbrogden.com
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by varun bihani:
How can I monitor tomcat? where are the logs stored on debian/linux server ? I want to know when and why does tomcat stops ?


Look under {tomcat install}/logs.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
Don't get me started about those stupid light bulbs.
 
subject: Monitor tomcat, logs
 
Similar Threads
Deploying WAR - Getting 404 Error
Problem connecting to Server
Tomcat 5.0 console monitor
servlet prinln stmt query
$CATALINA_HOME/conf, $CATALINA_HOME/work, $CATALINA_HOME/logs