Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 Murach's Java Servlets and JSP this week in the Servlets 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

Can you please brief the steps for Tomcat Maintenance?

vivek kaliannan

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,
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15951

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

Joined: Mar 22, 2000
Posts: 12759
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.

jQuery in Action, 2nd edition
subject: Can you please brief the steps for Tomcat Maintenance?
Similar Threads
How to compile JSP?
Struts weblogic deployment
development of software
How to print all element of List over console?