// todo: this should be using AppManager instead of the code below
ConfigValue cv = new ConfigValue();
AppConfigurator ac = new MyAppConfigurator();
ac.setUp( cv );
try {
ConfigFileBuilder configFileBuilder = new ConfigFileBuilder();
configFileBuilder.buildConfigDocument(cv);
servletRunner.setRealPath(configFileBuilder.getConfigFileDir());
hypersonicManager.useCleanupWith(new Executor() {
public void execute() throws Exception {
createRepository();
WebResponse response = servletClient.getResponse(request);