• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Application down due to Tomcast server not restarted

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends,

My application requires that the Tomcat server is up and running. Di weekend our server team reboots the windows server where tomcat is running. They have to manually restart tomcat server after they reboot the windows server, but many a times the support personnel who is performing the maintenance forgets this and our application will be unavailable to the users.

As a permanent solution, I am considering the approach to add the restart commands in the reboot script that the support team will run on the windows server. Is this a good approach?
How we can avoid the manual Tomcat restart and at the same time make sure that the application hosted on Tomcat is always up.
What are the common methods to get notification to our support team if Tomcat server is not up and running.

Appreciate your help. Thanks!
 
Saloon Keeper
Posts: 24294
167
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Sumesh!

I could say unkind things about Windows and its need for weekly reboots (presumably because some "patch Tuesday" fixes demand it), but to each his own poison.

Tomcat is available (from the Tomcat download web page) in a special Windows configuration that supports its execution as a Windows system Service. If you install that version of Tomcat it can be controlled via the Windows Service Manager, which has the ability to automatically startup Tomcat when the machine is rebooted and to cleanly shut it down as part of the Windows Shutdown process.
 
reply
    Bookmark Topic Watch Topic
  • New Topic