Redeploying a web app ?
Cantor, Scott
cantor.2 at osu.edu
Wed Mar 11 10:12:42 EDT 2015
On 3/11/15, 12:21 AM, "Tom Zeller" <tzeller at dragonacea.biz> wrote:
>Just curious :
>
>Is there a servlet container API for restarting a web app ?
I suspect they all have them, but nothing portable. It's generally the case that overwriting war files or context files can be used to redeploy but there are usually settings controlling that.
In practice, we have treated it as "not usable", but I have begun to believe that has more to do with IdPv2 bugs than container bugs, as we now know. But that doesn't mean Spring Web Flow doesn't have its own bugs and so forth that would prevent it from working well. It's very hard to pull off in a language with no destructors (grumble).
>Is there a parent-child web app relationship where one web app can reload another ? Like Spring app contexts.
Don't think so.
>I could imagine a thread that starts an embedded Jetty, like the integration tests do. Wondering if web app restarts are possible generically at the container level.
They are, but not portably, and how well they work is very open to question.
-- Scott
More information about the dev
mailing list