users@glassfish.java.net

Re: Deploying applicatoins under v3

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Wed, 27 Jun 2007 19:26:39 -0400

Hi, Neil
   If it's v3, please look at the following page

http://wiki.glassfish.java.net/Wiki.jsp?page=V3AdminCommands

for the available commands and syntax.

Specifically for this case, you would do:

http://localhost:8080/__asadmin/deploy?path=hello1.war


Thanks,

- Hong

Alexis Moussine-Pouchkine wrote:

> Simply use:
> asadmin deploy --path hello1.war
>
> and:
> asadmin list-modules
> asadmin undeploy --name hello1
>
> -Alexis
>
> glassfish_at_javadesktop.org wrote:
>
>> Thanks - I am using v3 - I rechecked my syntax and I needed to drop
>> the --path out altogether - and the =. I've gotten a little farther
>> with the following syntax:
>>
>> asadmin deploy --user admin --port 8080 hello1.war
>>
>> here's the error -
>> CLI171 Command deploy failed : Deployment of application failed -
>> java.io.IOException: http://localhost:8080/web1/remotejmx
>>
>> Any ideas will be appreciated.
>> -Neil
>> [Message sent by forum member 'neildschneider' (neildschneider)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=224359
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>