dev@glassfish.java.net

Re: V3 redeploy does not work

From: vince kraemer <Vince.Kraemer_at_Sun.COM>
Date: Mon, 17 Mar 2008 09:05:38 -0700

Jane Young wrote:
> Hi,
>
> I've reverted the functionality in redeploy command. However, the
> syntax is a bit different. Instead of name parameter as the operand,
> --name is now a required option. The syntax is very similiar to
> deploy command.
>
> *asadmin redeploy --name <appname> [--virtualservers
> <viratualservers>] [--contextroot <contextroot>]
> [--precompilejsp=false] [<path or filename>]*
>

Hmm. So, if I deploy an archive, I can use:

asadmin redeploy --name foo /a/b/c/foo.war

OR

asadmin deploy /a/b/c/foo.war

to redeploy it?

That looks good to me.

vbk

> If path (operand) is not specified and the application is previously
> deployed from a directory, then path is retrieved from domain.xml. If
> application is previously deployed from a file, then path is a
> required parameter/operand.
>
> I've also added deploydir command. This command is deprecated in v3,
> so please use "deploy ... <directory>" instead.
> The V3AdminCommands
> <http://wiki.glassfish.java.net/Wiki.jsp?page=V3AdminCommands> page
> has been updated with these changes/additions.
>
> Regards,
> Jane
>