// build the j2ee-deployer configuration into the configurationDir
ConfigurationData configurationData = builder.buildConfiguration(j2eeDeployerConfig, domain, server, configurationDir);
// install the configuration
configStore.install(configurationData, configurationDir);
} catch (Throwable e) {
DeploymentUtil.recursiveDelete(configurationDir);
if (e instanceof Error) {
throw (Error) e;
} else if (e instanceof Exception) {