jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Corbet <ncor...@towerhillservices.com>
Subject Re: ResourceException when using Jackrabbit 2.1.1 and Glassfish 2.1.1
Date Thu, 19 Aug 2010 21:00:32 GMT
Neil Corbet <ncorbet <at> towerhillservices.com> writes:

> Rainer,
> 
> When I access my repo through the jndi URI mine works with the following:
> 
>      URI = jndi:java:comp/env/jcr/repository
> 
> Now, mea culpa, I am using Tomcat as my app server. I did have to try 
different 
> forms of the URI before I finally got it right.
> 
> Hope this helps some,
>     Neil
> 
> 

Also, I forgot to add that I am using the JcrUtils.getRepository(URI) with the 
above URI. But, java:comp/env/jcr/local   may work for the code you posted.

Neil



Mime
View raw message