users@glassfish.java.net

Re: web.xml redeploy required?

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Tue, 18 Aug 2009 09:50:09 -0400

> But it would be very inconvenient. Adding a servlet is a very common
> thing. Will the redeployment cause a long down time on the server?
>
No, the redeployment should not take too long (a few seconds for a
simple web application).

And you can use directory (re)deployment so you don't have to repackage
your application after you make changes.

> On Mon, Aug 17, 2009 at 1:15 PM, Ludovic Champenois
> <Ludovic.Champenois_at_sun.com <mailto:Ludovic.Champenois_at_sun.com>> wrote:
>
> On 8/17/09 10:11 AM, Hu Zhang wrote:
>
> Hi,
>
> If I changed web.xml file, do I have to redeploy the .war
> file again? (glassfish v2)
>
> Yes..Critical info changes there would need a redeploy...For ex,
> adding/removing/renaming a servlet or a resource or whatever....
> Ludo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> <mailto:users-unsubscribe_at_glassfish.dev.java.net>
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> <mailto:users-help_at_glassfish.dev.java.net>
>
>