I updated the cluster design spec Cluster Admin Commands usage from the
admin iteam discussion. There are a few open issues, and some
attributes not yet implemented, but it should be close to what the final
usage should be
http://wikis.sun.com/display/GlassFish/V3.1Clustering
On 7/21/2010 2:57 AM, Paul M Davies (Oracle) wrote:
> Hi Ken,
>
> --help displays the man page, which has not been written yet - hence
> the empty template, which is static text.
>
> To get the usage message, try typing the command with an option that
> you know to be invalid (--usage, for example).
>
>
> Regards.
> -Paul
>
> On 07/20/10 18:52, Ken Paulsen wrote:
>> My build from the end of last week:
>>
>> glassfish/bin> ./asadmin delete-instance --help
>>
>> NAME :
>> delete-instance -
>>
>>
>> SYNOPSIS :
>> delete-instance [--nodeagent=nodeagent] instance_name
>>
>>
>> OPTIONS :
>> --nodeagent
>>
>> OPERANDS :
>> instance_name -
>>
>>
>> Command delete-instance executed successfully.
>>
>> My build from today:
>>
>> glassfish/bin> ./asadmin delete-instance --help
>>
>> NAME :
>> delete-instance -
>>
>>
>> SYNOPSIS :
>> delete-instance instance_name
>>
>>
>> OPTIONS :
>> OPERANDS :
>> instance_name -
>>
>>
>> Command delete-instance executed successfully.
>>
>>
>> Looks like someone's checkin broke the Admin Console....
>>
>> Ken
>>
>>
>> On 07/20/2010 06:42 PM, Anissa Lam wrote:
>>> Hi,
>>> Is the CLI to delete-instance recently changed ? GUI was working on
>>> deleting an instance on Sunday, but it is failing now.
>>> Is this changed recently ?
>>>
>>> Usage: asadmin [asadmin-utility-options] delete-instance
>>> [-?|--help[=<help(default:false)>]] instance_name
>>>
>>> We no longer need to pass in node ?
>>>
>>> [#|2010-07-20T18:36:01.685-0700|SEVERE|glassfish3.1|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin|_ThreadID=81;_ThreadName=http-thread-pool-4848(2);|
>>> Invalid option: nodeagent|#]
>>>
>>> [#|2010-07-20T18:36:01.706-0700|SEVERE|glassfish3.1|com.sun.jersey.spi.container.ContainerResponse|_ThreadID=81;_ThreadName=http-thread-pool-4848(2);|The
>>> RuntimeException could not be mapped to a response, re-throwing to
>>> the HTTP container
>>> org.glassfish.admin.rest.CliFailureException: Invalid option:
>>> nodeagent
>>> at
>>> org.glassfish.admin.rest.resources.TemplateExecCommand.executeCommand(TemplateExecCommand.java:124)
>>>
>>> at
>>> org.glassfish.admin.rest.resources.TemplateCommandDeleteResource.processDelete(TemplateCommandDeleteResource.java:94)
>>>
>>> at
>>> org.glassfish.admin.rest.resources.TemplateCommandDeleteResource.hack(TemplateCommandDeleteResource.java:137)
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>
>>> thanks
>>> Anissa.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>
>
>
> --
>
>
>
> Oracle <http://www.oracle.com>
> Paul Davies| Principal Technical Writer| +1.408.276.3413
> Oracle GlassFish Server Documentation
> 4140 Network Circle, Santa Clara CA 95054, USA
>
> Green Oracle <http://www.oracle.com/commitment> Oracle is committed
> to developing practices and products that help protect the environment
>
>