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 long; * 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 ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org