Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can you please brief the steps for Tomcat Maintenance?

 
vivek kaliannan
Greenhorn
Posts: 1
Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18304
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic