This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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: 17039

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.

An IDE is no substitute for an Intelligent Developer.
William Brogden
Author and all-around good cowpoke

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

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Can you please brief the steps for Tomcat Maintenance?
It's not a secret anymore!