users@glassfish.java.net

Re: GFv3 question -- redeploy?

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Tue, 11 Sep 2007 08:55:02 -0700

I think she is confused... it should work.

so it may only work with the exploded directory deployment. Have you
tried that ?

jerome

On Sep 11, 2007, at 8:46 AM, Bobby Bissett - Javasoft wrote:

> Jerome Dochez wrote:
>> you should do
>> asadmin redeploy --path jsphello.war ?
>
> I didn't want to list out all my tries, but I can :) Talking with
> Hong right now, she tells me redeploy isn't implemented yet in v3.
> The command is there, but not implemented. So that answers my
> question.
>
> Cheers,
> Bobby
>
> ------
>
> D:\examples>asadmin deploy --path jsphello\dist\jsphello.war
>
> D:\examples>java -jar D:\glassfish\bin\\..\lib\admin-cli-10.0-
> SNAPSHOT.jar deploy --path jsphello\dist\jsphello.war
> SUCCESS : Application jsphello deployed successfully
>
> D:\examples>asadmin redeploy --name jsphello
>
> D:\examples>java -jar D:\glassfish\bin\\..\lib\admin-cli-10.0-
> SNAPSHOT.jar redeploy --name jsphello
> FAILURE : Application D:\examples\jsphello not registered
>
> D:\examples>asadmin redeploy --path jsphello
>
> D:\examples>java -jar D:\glassfish\bin\\..\lib\admin-cli-10.0-
> SNAPSHOT.jar redeploy --path jsphello
> FAILURE : redeploy command requires the name parameter : No
> description provided
>
> D:\examples>asadmin redeploy --path jsphello\dist\jsphello.war
>
> D:\examples>java -jar D:\glassfish\bin\\..\lib\admin-cli-10.0-
> SNAPSHOT.jar redeploy --path jsphello\dist\jsphello.war
> FAILURE : redeploy command requires the name parameter : No
> description provided
>
> D:\examples>asadmin redeploy --path jsphello\dist\jsphello.war --
> name jsphello
>
> D:\examples>java -jar D:\glassfish\bin\\..\lib\admin-cli-10.0-
> SNAPSHOT.jar redeploy --path jsphello\dist\jsphello.war --name
> jsphello
> FAILURE : Application D:\examples\jsphello not registered
>
> D:\examples>asadmin redeploy --name jsphello\dist\jsphello.war --
> path jsphello
>
> D:\examples>java -jar D:\glassfish\bin\\..\lib\admin-cli-10.0-
> SNAPSHOT.jar redeploy --name jsphello\dist\jsphello.war --path
> jsphello
> FAILURE : Application D:\examples\jsphello\dist\jsphello.war not
> registered
>
> D:\examples>asadmin redeploy --name jsphello\dist\jsphello.war
>
> D:\examples>java -jar D:\glassfish\bin\\..\lib\admin-cli-10.0-
> SNAPSHOT.jar redeploy --name jsphello\dist\jsphello.war
> FAILURE : Application D:\examples\jsphello\dist\jsphello.war not
> registered
>
> D:\examples>asadmin redeploy --help
>
> D:\examples>java -jar D:\glassfish\bin\\..\lib\admin-cli-10.0-
> SNAPSHOT.jar redeploy --help
>
> null
>
> Parameters :
> name : No description provided
>
> D:\examples>asadmin list-applications
>
> D:\examples>java -jar D:\glassfish\bin\\..\lib\admin-cli-10.0-
> SNAPSHOT.jar list-applications
> SUCCESS : List of deployed applications per container
> ContractProvider : web_ContractProvider
> properties=(Connector
> module=com.sun.enterprise.glassfish:gf-web-connector,Sniffer
> module=class com.sun.enterprise.v3.web.WebSniffer
> )
> Application : jsphello
> properties=
> (Source=com.sun.enterprise.deployment.deploy.shared.FileArchive_at_6db724
> )
>
> D:\examples>asadmin undeploy --name jsphello
>
> D:\examples>java -jar D:\glassfish\bin\\..\lib\admin-cli-10.0-
> SNAPSHOT.jar undeploy --name jsphello
> SUCCESS : jsphello undeployed successfully
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>