156157158159160161162163
clusterNode.init(context); fail("Bad cluster configuration."); } catch (Exception e) { } clusterNode.stop(); } }
10601061106210631064106510661067106810691070
log.info("Shutting down repository..."); // stop optional cluster node ClusterNode clusterNode = context.getClusterNode(); if (clusterNode != null) { clusterNode.stop(); } if (securityMgr != null) { securityMgr.close(); }
10481049105010511052105310541055105610571058
128129130131132133134135136137138
clusterNode.init(context); fail("Bad cluster configuration."); } catch (Exception e) { } clusterNode.stop(); } /** * Verify that <code>ClusterNode.stop</code> can be invoked even when * <code>ClusterNode.init</code> throws because the journal can not
101102103104105106107108109110111
try { File revisionFile = new File(repositoryHome, FileJournal.DEFAULT_INSTANCE_FILE_NAME); assertTrue(revisionFile.exists()); } finally { clusterNode.stop(); } } /** * Verify that <code>ClusterNode.stop</code> can be invoked even when
10751076107710781079108010811082108310841085