{
File dir = new File("test/test/autoconf/db");
assertTrue(dir.exists());
Map<String,DB> dbList = DB.getDatabases(LOG,dir);
ServerConfiguration conf = new ServerConfiguration();
File serverConfFile = new File(dir,"server.conf");
assertTrue(serverConfFile.exists());
conf.load(serverConfFile.toURI());
StorageFactory storageFactory = new FileStorageFactory();
WebComponent web = new WebComponent(dir,dbList,storageFactory,conf);
for (DB db : dbList.values()) {
db.connect();
}