protected void createCatalog() throws IOException {
CatalogImpl catalog = new CatalogImpl();
catalog.setExtendedValidation(false);
catalog.setResourceLoader(new GeoServerResourceLoader(data));
catalog.addListener(new GeoServerPersister(catalog.getResourceLoader(),
createXStreamPersister()));
//workspaces
addWorkspace(DEFAULT_PREFIX, DEFAULT_URI, catalog);
addWorkspace(SF_PREFIX, SF_URI, catalog);