• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat Restarts

 
Ben Lim
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i have the Tomcat to do a restart in every 1 hour?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you want to do that?
 
Ben Lim
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
or is there a way to create a bat file to read the log file to restart tomcat
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you not think it would be a better idea to find and fix the error?
 
Ben Lim
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
because sometimes it is network got disconnected that causes the error being thrown.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic