dev@glassfish.java.net

Re: V3 redeploy does not work

From: Jane Young <Jane.Young_at_Sun.COM>
Date: Mon, 17 Mar 2008 09:28:58 -0700

Hi Vince,

see inline.


vince kraemer wrote:

> 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
>

No, redeploy checks if the archive name exists before redeploying so the
application must be previously deployed.

Jane

> 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
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>