tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis GALIEGUE <>
Subject Feature request: "fullstart" command
Date Wed, 15 Jun 2011 20:00:59 GMT
Tomcat has many abilities to deploy applications at run time (war,
tree, context, you name it). However, when used in production, these
abilities are used cautiously, if they are used at all.

In many scenarios, Tomcat just starts, spends its life, and stops,
with a defined set of webapps, and has no automatic deployment
capabilities configured in at all. But the builtin startup scripts,
and in fact, the Java code itself, lack at least two critical inputs
for such scenarios:

* Bootstrap will return (and therefore the startup scripts too) before
webapps configured at startup time are deployed, and while
bootstrapping is fast, deploying applications at startup can be very
* even with a hackish way (watch the log file to account for complete
server startup) in order to wait for webapps to be deployed, there is
no status about these deployments at all (has this and that webapp
been deployed successfully?).

Proposal: implement a fullstart command to Bootstrap which:

* does NOT return until ALL webapps configured at start time are
(attempted to be) deployed;
* exits with a positive error code representing the number of webapps
NOT correctly deployed (or 1 - I don't care as long as it's not 0, but
please not -1, think WIFSIGNALED()).

Francis Galiegue
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
40 avenue Raymond Poincaré
75116 Paris

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message