quality@glassfish.java.net

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

From: Sankar Neelakandan <Sankar.Neelakandan_at_Sun.COM>
Date: Thu, 23 Oct 2008 07:30:20 -0700

Hi 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
>
>