DomainConfig domainConfig =
new DomainConfig(getDomainName(), getDomainsDir().getPath());
checkRunning();
checkRename();
DomainsManager manager = new PEDomainsManager();
manager.deleteDomain(domainConfig);
// By default, do as what v2 does -- don't delete the entry -
// might need a revisit (Kedar: 09/16/2009)
//deleteLoginInfo();
} catch (Exception e) {
throw new CommandException(e.getLocalizedMessage());