admin@glassfish.java.net

Re: delete-cluster and issue 13979

From: Bill Shannon <bill.shannon_at_oracle.com>
Date: Tue, 02 Nov 2010 10:52:38 -0700

So, to summarize, in v2 when you delete a cluster, all the applications
deployed to that cluster remain deployed, but there are no app-refs to
them, right?

Hong Zhang wrote on 11/ 2/10 07:20 AM:
> Hi, Tom
>> I'm not seeing the answer to Bill's question in your reply. Are "applications
>> deployed to a cluster" part of the "cluster related configs" in v2?
> The "application-ref" elements are and the delete-instance/delete-cluster
> commands are removing them as expected.
> Please see my other email, the issue was actually somewhere else after I
> compared the behavior more closely with v2.
>
> Thanks,
>
> - Hong
>
>>
>>
>>
>> On 11/2/2010 8:47 AM, Hong Zhang wrote:
>>> 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
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>