Hi,

On Fri, Aug 6, 2010 at 6:55 PM, Neil Corbet
<[email protected]> 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.

BR,

Jukka Zitting

Reply via email to