Maybe a could paste my snippet to create the BindableRepository:
Reference ref = new Reference(Repository.class.getName(),
BindableRepositoryFactory.class.getName(), null);
ref.add(new
StringRefAddr(BindableRepository.CONFIGFILEPATH_ADDRTYPE,
jackrabbitConfigFile));
ref.add(new StringRefAddr(BindableRepository.REPHOMEDIR_ADDRTYPE,
homeDir));
repository = new BindableRepository(ref);
jndiContext.bind("jcr/local", repository);
