mgr.setMaxActiveSessions(maxSessions);
//FIXME: what is the replacement for setCheckInterval
//mgr.setCheckInterval(reapInterval);
mgr.setMaxIdleBackup(0); // FIXME: Make configurable
FileStore store = new FileStore();
//store.setCheckInterval(storeReapInterval);
store.setDirectory(directory);
mgr.setStore(store);
//for intra-vm session locking
StandardContext sctx = (StandardContext) ctx;
sctx.restrictedSetPipeline(new PESessionLockingStandardPipeline(sctx));