quality@glassfish.java.net

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

From: Byron Nevins <byron.nevins_at_sun.com>
Date: Thu, 23 Oct 2008 10:17:52 -0700

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

-- 
Byron Nevins Work 408-276-4089, Home 650-359-1290, Cell 650-784-4123 - Sun Microsystems, Inc.