quality@glassfish.java.net

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

From: K. K. <admin_at_system-forec.com>
Date: Thu, 23 Oct 2008 23:34:58 +0900

Hi Sankar,

Thank you for letting me know about this
and also taking time to reopen the issue :-)


----
Kana
>     Here is the issue for this 
>https://glassfish.dev.java.net/issues/show_bug.cgi?id=6196
>The release noted issue is incorrectly marked as Fixed Resolved. I will 
>reopen it.
>
>-Sankar
>
>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
>>
>>   
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
------------------------------------
■■
□■Technical Writing & Translating
------------------------------------
小竹 かなえ
〒507-0071
岐阜県多治見市旭ヶ丘10-2-136
TEL/FAX:0572-20-2075
write_at_orumail.net
------------------------------------