This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat Restarts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Restarts" Watch "Tomcat Restarts" New topic
Author

Tomcat Restarts

Ben Lim
Greenhorn

Joined: Apr 04, 2005
Posts: 9
how can i have the Tomcat to do a restart in every 1 hour?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60811
    
  65

Why would you want to do that?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ben Lim
Greenhorn

Joined: Apr 04, 2005
Posts: 9
because always happen to have an error i need to restart the tomcat. as tge tomcat will do a URL correction than if lost connection, i want to restart the tomcat.
Ben Lim
Greenhorn

Joined: Apr 04, 2005
Posts: 9
or is there a way to create a bat file to read the log file to restart tomcat
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60811
    
  65

Do you not think it would be a better idea to find and fix the error?
Ben Lim
Greenhorn

Joined: Apr 04, 2005
Posts: 9
because sometimes it is network got disconnected that causes the error being thrown.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Restarts
 
Similar Threads
Tech Word Game
Form Based secruity...
WA #1.....word association
Apache tomcat and Jakarta tomcat
How to deploy a web application ?