setupTomcat(baseDir, new TuscanyHost());
engine.start();
TestClassLoader cl = new TestClassLoader(classes, new File(app1, "WEB-INF/classes").toURL(), getClass().getClassLoader());
cl.start();
loader = new ContainerLoader(cl);
// create the webapp Context
ctx = new StandardContext();
ctx.addLifecycleListener(new ContextConfig());
ctx.setName("/testContext");