wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Can you please brief the steps for Tomcat Maintenance? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Can you please brief the steps for Tomcat Maintenance? " Watch "Can you please brief the steps for Tomcat Maintenance? " New topic
Author

Can you please brief the steps for Tomcat Maintenance?

vivek kaliannan
Greenhorn

Joined: Nov 21, 2012
Posts: 1

Please help me with how many types of maintenance Tomcat has…

Also, How to clear the temp file now and then and what will be the impact if tomcat is restarted....


Many thanks,
Vivek
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15665
    
  15

Welcome to the JavaRanch, Vivek!

Tomcat "Just Works". You should not normally have to do anything to it on a routine basis as long as the webapps are well-behaved. And if they aren't, whatever maintenance is required will be determined by what sorts of misbehavior the webapps are indulging in.

The only thing that isn't self-cleaning that isn't up to the applications would be the Tomcat logfiles, but if/when you have to stop Tomcat to clean them out depends on what the applications are sending to console logging. Tomcat does log a few things itself, but if no apps are contributing, it would be a long time before you'd see enough written to the log to warrant stopping Tomcat to clean the logs.


Customer surveys are for companies who didn't pay proper attention to begin with.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12682
    
    5
Personally, I use the Management app once a day to check the various statistics such as number of requests, number of errors, bytes sent and especially the condition of the request handling Threads. If an application is hanging somewhere you will see request threads with very long running times.

Bill

Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can you please brief the steps for Tomcat Maintenance?
 
Similar Threads
Maintenance
How to compile JSP?
development of software
Struts weblogic deployment
How to print all element of List over console?