This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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: 12998
    
    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
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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Monitor tomcat, logs
 
It's not a secret anymore!