tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand HS <>
Subject Installing auto updates for my webapp hosted on Tomcat
Date Tue, 20 Apr 2010 23:26:40 GMT
I have a webapplication deployed in tomcat and have been asked to develop an
auto updater that can grab a new update and apply the updates to my webapp.
I want to ask the community to see if there are 'hooks' tomcat provides to
achieve this.

In essence here is what Im expecting to achieve -

1. A simple agent ( can be a java program inside my web app itself ) senses
there is an update.
2. when an update is available, it stops the tomcat server.
3. Applies the update ( similar to redeploy along with configuration file
changes ) .
4. restarts the tomcat.

Some of the ideas Im after are -

1. Deploy my updater agent outside of tomcat and hence it can stop and start
the tomcat servers.
2. Have the updater agent as part of my webapp itself and with the help of
Tomcat API ( ? ) , restart the application.

I need advice from the community on other approaches as well as any support
tomcat provides out of the box.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message