711712713714715716717718719720721
jbcm.stop(); if (restartCache) { cache.stop(); cache.destroy(); caches.remove(cache); passDir = getPassivationDir(testCount, 1); jbcm = SessionTestUtil.createManager("test" + testCount, 5, true, passDir, false, false, null, caches);
838839840841842843844845846847848
assertEquals("Passivated session count correct", 1, jbcm1.getPassivatedSessionCount()); if (fullRestart) { jbcm1.stop(); cache1.stop(); cache1.destroy(); caches.remove(cache1); } jbcm.stop();
104105106107108109110111112113114
{ try { PojoCache pc = pojoCaches[i]; pojoCaches[i] = null; pc.stop(); pc.destroy(); } catch (Exception ex) { log.error("Failed stopping cache " + i);
949596979899100101102103104
} } try { cache.stop(); cache.destroy(); } catch (Exception e) { log.error("Cache " + cache + ": " + e.getMessage(), e);