Hi Rafael,

RafalJanik schrieb:
> Hi,
> I'm trying do create bundle to connect Jackrabbit repository.

Are you talking about an OSGi Bundle ?

Have you looked at the bundles available in Sling Project ?


> The line
> repository = new TransientRepository(configLocation, repositoryLocation);
> works but i get exception in:
> session = repository.login(new SimpleCredentials(username,
> password.toCharArray()));
> 
> javax.jcr.RepositoryException: failed to instantiate shared item state
> manager: org/apache/commons/collections/iterators
> /EmptyOrderedIterator:
> org/apache/commons/collections/iterators/EmptyOrderedIterator
> 
> What should I do?

Do you have more information about the cause ?

Regards
Felix

Reply via email to