Re: Jackrabbit on Glassfish: Exception when registering as JNDI resource jcr/Jackrabbit

2010-04-20 Thread Wilhelmsen Tor Iver
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

Re: Jackrabbit on Glassfish: Exception when registering as JNDI resource jcr/Jackrabbit

2010-04-20 Thread Wilhelmsen Tor Iver
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

Jackrabbit on Glassfish: Exception when registering as JNDI resource jcr/Jackrabbit

2010-04-19 Thread Wilhelmsen 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

Re: Jackrabbit on Glassfish: Exception when registering as JNDI resource jcr/Jackrabbit

2010-04-19 Thread Jukka Zitting
Hi, On Mon, Apr 19, 2010 at 3:16 PM, Wilhelmsen Tor Iver toriv...@arrive.no wrote: Caused by: javax.naming.InvalidNameException: jcr/Jackrabbit has more components than namespace can handle The DummyInitialContextFactory included in Jackrabbit can only handle simple names without / in them.

SV: Jackrabbit on Glassfish: Exception when registering as JNDI resource jcr/Jackrabbit

2010-04-19 Thread Wilhelmsen Tor Iver
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