"DomainCreation");
glassFishProperties.setProperty(SystemPropertyConstants.INSTANCE_ROOT_PROPERTY,
domDir.getAbsolutePath());
glassFishProperties.setProperty("-domain", domainConfig.getDomainName());
GlassFish glassfish = runtime.newGlassFish(glassFishProperties);
glassfish.start();
// Will always need DAS's name & config. No harm using the name 'server'
// to fetch <server-config>
com.sun.enterprise.config.serverbeans.Server serverConfig =