This dates back to at least GlassFish 2. I expect that this is to
avoid accidentally deleting a domain.
Tom
On 11/8/2010 2:54 PM, Sathyan Catari wrote:
> Why is that "delete-domain" requires the domain-name operand whereas
> start-domain and stop-domain can default to "domain1" when the
> domain-name
> is not specified?
>
> #./asadmin stop-domain
> Waiting for the domain to stop .
> Command stop-domain executed successfully.
>
> #./asadmin delete-domain
> Enter the value for the domain_name operand> domain1
> Domain domain1 deleted.
>
> Thanks
> Sathyan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>