protected final boolean start(final BundleContext bundleContext, final String defaultWorkspace, final boolean disableLoginAdministrative) { start(bundleContext, new Config(defaultWorkspace, disableLoginAdministrative)); long end = System.currentTimeMillis() + 5000; // wait up to 5 seconds for repository registration while (!isRepositoryServiceRegistered() && end > System.currentTimeMillis()) {