> <bean id="jndi-repository" > class="org.springframework.jndi.JndiObjectFactoryBean"> > <property name="jndiName" value="jcr/Jackrabbit" /> > <property name="proxyInterface" > value="javax.jcr.Repository" /> > </bean>
Discovered that Jackrabbit prepends "jcr/" on its own accord, so jndi.name=Jackrabbit in bootstrap.properties made the above Spring config work. (The portlet uses 1.5.x libraries while the resource is 2.0, but I guess that works because 2.0 is a superset so the 1.x methods that are proxied will exist.) - Tor Iver
