quality@glassfish.java.net

Re: Invoking "asadmin delete-domain" while domain is running(started) will delete some of files/directories.

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Thu, 23 Oct 2008 10:28:46 -0700

Hi Byron,

In the reply to this thread, Sankar already logged this issue which will
be fixed after v3 Prelude release.
Will release note this issue in v3 Prelude release.

https://glassfish.dev.java.net/issues/show_bug.cgi?id=6196

Thanks,
Judy
Byron Nevins wrote:

> Can you file it as a defect in Issue Tracker?
>
>
> Kana K. wrote:
>
>> Hi all,
>>
>> According to !SunGlassFish Enterprise Server v3 Prelude
>> Administration Guide", one must stop the domain before invoking
>> delete-domain. If you invoke delete-domain while domain is
>> running(started), command will fail with messages like below ,
>> however, some of files/directories will be deleted in the background.
>>
>> --------
>> Failed to delete C:\glassfishv3\glassfish\domains\domain1.
>> Some other process may be accessing it.
>> Please remove the directory manually.
>> CLI139 Could not delete domain, domain1.
>> Command delete-domain failed.
>> --------
>>
>> And after executing this delete-domain that failed, you will never be
>> able to invole any command like stop-domain because config/domain.xml
>> has already gone.
>>
>> --------
>> CLI304 Can't find domain.xml. It should be here:
>> C:\glassfishv3\glassfish\domai
>> ns\domain1\config\domain.xml
>> Command stop-domain failed.
>> --------
>>
>> Do you think this a bug or supposed feature of this command ? Sorry if
>> this is known issue, I searched in the Issue Tracker but couldn't find
>> any similar issues.
>>
>>
>> Thanks,
>>
>> ---
>> Kana
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
>>
>>
>