jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: JndiRepositoryFactory and BindableRepository.
Date Fri, 06 Aug 2010 17:58:46 GMT

On Fri, Aug 6, 2010 at 6:55 PM, Neil Corbet
<ncorbet@towerhillservices.com> wrote:
>   When I deploy my apps war and try to access the repository through my session
> provider using JcrUtils.getRepository(URI) with the URI as
> "jndi:java:comp/env/jcr/repository" it appropriatly uses the
> JndiRepositoryFactory and parses the URI to "java:comp/env/jcr/repository" but
> it fails saying that the Repository is invalid:

Make sure that you don't have an extra copy of the JCR API jar in your webapp.


Jukka Zitting

View raw message