jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Corbet <ncor...@towerhillservices.com>
Subject Re: JndiRepositoryFactory and BindableRepository.
Date Fri, 06 Aug 2010 18:48:10 GMT
Jukka Zitting <jukka.zitting <at> gmail.com> writes:

> 
> Hi,
> 
> On Fri, Aug 6, 2010 at 6:55 PM, Neil Corbet
> <ncorbet <at> 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.
> 
> BR,
> 
> Jukka Zitting
> 
> 

Jukka,

    Just to clarify, are you meaning the jcr-2.0 jar or the jackrabbit-
api2.1.0.jar?

Thanks,
   Neil





Mime
View raw message