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
>