admin@glassfish.java.net

Re: delete-cluster and issue 13979

From: Hong Zhang <hong.hz.zhang_at_oracle.com>
Date: Tue, 02 Nov 2010 09:47:35 -0400

In v2, the delete-instance command removes all instance related configs
from the domain.xml and delete-cluster removes all cluster related
configs from the domain.xml.

On 11/1/2010 11:24 PM, Bill Shannon wrote:
> What did v2 do?
>
> Hong Zhang wrote on 11/01/2010 07:55 AM:
>> Hi,
>> I'd like to discuss the following issue and the delete-cluster command:
>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=13979
>>
>> In this issue, the user created a cluster, deployed an application to
>> the
>> cluster, deleted the cluster and then tried to recreate the cluster
>> and deploy
>> the application again. The last step has caused an error with ugly
>> error message
>> which is why this issue was filed.
>>
>> But before I try to improve the error message, I'd like to discuss
>> how we could
>> avoid this situation in the first place by not leaving orphan
>> applications (and
>> resources) behind when the cluster is deleted.
>>
>> Should the delete-cluster (and delete-instance) command remove all
>> the related
>> application and resource entries from the domain.xml?
>>
>> Thanks,
>>
>> - Hong
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>