Hi, If you set the configuration property "name" to the RMI URL, the SlingClientRepository class fails getting the repository by JNDI and uses the RMI URL to get the repository in the lower part of the getRepository() method.
Regards Felix Am Dienstag, den 29.01.2008, 16:50 +0100 schrieb Bertrand Delacretaz: > On Jan 29, 2008 4:48 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > > > ...just replace the jackrabbit-server bundle contained by default > > with the jackrabbit-client bundle and you can access your repository > > over RMI.... > > Looking at the SlingClientRepository class [1], I don't see how one > could set the RMI connection parameters - but if configurable > properties are missing, it shouldn't be hard to add them. > > -Bertrand > > [1] > https://svn.apache.org/repos/asf/incubator/sling/trunk/jcr/jackrabbit-client/src/main/java/org/apache/sling/jcr/jackrabbit/client/SlingClientRepository.java
