I am attempting to use an existing Jackrabbit repository. To do so, I have added a simple repository confuigurator as follows:
public class GuvnorCrxDavConfigurator extends JCRRepositoryConfigurator {
    public GuvnorCrxDavConfigurator() {
		log.info("Creating CRX configurator.");
		defaultJCRImplClass = RepositoryFactoryImpl.class.getName();
	}

	@Override
	public Repository getJCRRepository(Properties properties) throws RepositoryException {
		log.info("Creating CRX client repository.");
		try {
			String url = null;
			if (properties != null) {
				url = properties.getProperty(REPOSITORY_URL);
			}
			if (url == null) {
				url = DEFAULT_URL;
			}
			log.info("Repository URL is " + url);
			repository = JcrUtils.getRepository(url);
			if (repository != null) {
				log.info("Client repository created.");
			} else {
				log.error("Repository NOT created.");
			}
			return repository;
		} catch (Exception e) {
			throw new RepositoryException(e);
		}
	}

	public Session login(String userName) throws RepositoryException {
		log.info("Attempted login with username " + userName);
		System.out.println("Logging in with username " + userName);
		Credentials credentials = new SimpleCredentials(userName, "password".toCharArray());
		return repository.login(credentials);
	}

	@Override
	public Session login(String userName, String password) throws RepositoryException {
		log.info("Attempted login with username " + userName + " and password " + password);
		System.out.println("Logging in with username " + userName + " and password " + password);
		return super.login(userName, password);
	}

	public void registerNodeTypesFromCndFile(String cndFileName, Session session, Workspace workspace)
			throws RepositoryException {
		log.info("Manually load CND files to CRX");
	}

	/**
	 * {@inheritDoc}@see
	 * org.drools.repository.JCRRepositoryConfigurator#shutdown()
	 */
	public void shutdown() {
		if (repository instanceof TransientRepository) {
			((TransientRepository) repository).shutdown();
		}
	}
}
And I have registered the new configurator in
       <component name="repositoryConfiguration">
		<property name="properties">
			<key>org.drools.repository.configurator</key>
			<value>com.statestreet.rxp3.pilot.guvnor.GuvnorCrxDavConfigurator</value>
			<key>org.apache.jackrabbit.repository.uri</key>
			<value>http://localhost:7402/crx/server</value>
			<key>org.drools.repository.admin.username</key>
			<value>guvnor</value>
			<key>org.drools.repository.admin.password</key>
			<value>guvnor</value>
		</property>
	</component>
The root nodes are created in the repository, but then somewhere in the auto migration process, it barfs. I guess I am new territory here.

View this message in context: Re: AUTO MIGRATION Error when creating a new rule package
Sent from the Drools: User forum mailing list archive at Nabble.com.