appServerSource = glassfishAppServerFactory
.createAppserverConnectionSource(protocol, hostName, port, user,
password, null);
domainRoot = appServerSource.getDomainRoot();
} catch (IOException e) {
throw new AppServerException("unable to get domain root", e);
}
}