String domainName = null;
try {
domainName = getDomainName();
DomainConfig config = getDomainConfig(domainName);
DomainsManager mgr = getFeatureFactory().getDomainsManager();
InstancesManager im = mgr.getInstancesManager(config);
int state = im.getInstanceStatus();
boolean printMessage = (state == Status.kInstanceNotRunningCode);
super.runCommand();
if (printMessage) {
String xmlPath = new PEFileLayout(config).getDomainConfigFile().getAbsolutePath();