This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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: 16901

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: 12982
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.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Can you please brief the steps for Tomcat Maintenance?
It's not a secret anymore!