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
Meh, the file was not saved so I thought that was the case; it works with
jndi.name=jcr/Jackrabbit
now, for some reason.
- Tor Iver
I try to configure jackrabbit-webapp-2.0.0 with the recommended JNDI name
syntax, but run into an exception in Glassfish 2.1.1 (see below). Is there a
different approach I should use?
My bootstrap.properties, based on an example I googled up:
#bootstrap properties for the repository startup
The DummyInitialContextFactory included in Jackrabbit can only handle
simple names without / in them. You can avoid this problem by
changing the JNDI name to something like jackrabbit.
Thanks, that set me on the track to comment out the setting of the factory so
that it instead used the