getCatalog().add(si);
}
// build and run the importer
FeatureTypeImporter importer = new FeatureTypeImporter(si, null, getCatalog(), workspaceNew, storeNew);
ImporterThreadManager manager = (ImporterThreadManager) getGeoServerApplication().getBean("importerPool");
String importerKey = manager.startImporter(importer);
setResponsePage(new ImportProgressPage(importerKey));
} catch (Exception e) {
LOGGER.log(Level.SEVERE, "Error while setting up mass import", e);
}