Is there a way to bind the Jackrabbit Standalone Server repository to Tomcat using http url? In server.xml, instead of the ClientRepositoryFactory(which is for RMI):
<Resource name="jcr/globalRepository"
auth="Container"
type="javax.jcr.Repository"
factory="org.apache.jackrabbit.rmi.client.ClientRepositoryFactory"
url="rmi://127.0.0.1:1099/repository"/>
I want to add jndi resource something like (of course this one gives error):
<Resource
name = "jcr/globalRepository"
auth = "Container"
type = "javax.jcr.Repository"
factory = "org.apache.jackrabbit.rmi.repository.URLRemoteRepositoryFactory"
url = "http://localhost:8080/rmi" />
(I am using jackrabbit-2.1.0, Tomcat-6.0.26)
Thanks!