LOG.debug("initializing database " + instanceId); initializing = true;  createBroker(); DBBroker broker = (DBBroker) pool.peek(); broker.cleanUpAll(); secManager = new org.exist.security.SecurityManager(this, broker); initializing = false;  collectionConfig = new CollectionConfigurationManager(broker);
LOG.debug("initializing database " + instanceId);  initializing = true;
	protected void initialize() throws EXistException {		LOG.debug("initializing database " + instanceId);		initializing = true;		// create a first broker to initialize the security manager		createBroker();		DBBroker broker = (DBBroker) pool.peek();		broker.cleanUpAll();		secManager = new org.exist.security.SecurityManager(this, broker);		initializing = false;				collectionConfig = new CollectionConfigurationManager(broker);        		// now create remaining brokers		for (int i = 1; i < min; i++)			createBroker();        registerSystemTasks();		LOG.debug("database engine " + instanceId + " initialized.");	}