((CASImpl) casMgr0).commitTypeSystem();
casMgr = CASFactory.createCAS(tsa);
// Create the Base indexes.
casMgr.initCASIndexes();
// Commit the index repository.
FSIndexRepositoryMgr irm = casMgr.getIndexRepositoryMgr();
init.initIndexes(irm, casMgr.getTypeSystemMgr());
irm.commit();
} catch (ResourceInitializationException e) {