I'm trying to set up sling to use a remote JCR repository, by using the sling.repository.url system property.
Sling is able to locate and connect to the repository, but fails org.apache.sling.jcr.base.internal.loader.Loader#registerBundleInternal, line #165, while attempting to register node types. The error reported on the RMI server side is java.lang.NoClassDefFoundError at org.apache.jackrabbit.core.RepositoryImpl.getSystemSearchManager(RepositoryImpl.java:625) at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1613) at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:606) at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:415) at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305) at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557) at org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:245) at org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265) at org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:333) at org.apache.jackrabbit.rmi.server.ServerRepository.login(ServerRepository.java:104) RepositoryImpl#625 is where Jackrabbit attempts to create a SearchManager, using a NodeTypeRegistry as one of the parameters. This leads me to suspect that the error has to do with http://issues.apache.org/jira/browse/JCR-585 - that the NodeTypeRegistry is not available via the "normal" RMI interfaces. What would be the easisest way to get Sling running on a remote JCR? -- Vidar S. Ramdal <[EMAIL PROTECTED]> - http://www.idium.no Akersgata 16, N-0158 Oslo, Norway