I have Sling configured to use an external Jackrabbit (Model 2) using a
jcr-ds.xml (using Jboss 4.2.2) but I want Sling to also register the RMI
server like it does when it uses the embedded jackrabbit.

When jackrabbit is embedded the log statements look like this:

17.09.2008 17:27:39.901 *INFO* [SCR Component Actor]
org.apache.sling.jcr.jackrabbit.server Using private RMI Registry at 1099
17.09.2008 17:27:40.078 *INFO* [SCR Component Actor]
org.apache.sling.jcr.jackrabbit.server Repository bound to
//192.168.1.109:1099/jackrabbit
17.09.2008 17:27:40.079 *INFO* [SCR Component Actor]
org.apache.sling.jcr.jackrabbit.server Repository bound to JNDI as
jackrabbit

But when an external JR is configured instead the log statements change to

java.naming.factory.initial=org.apache.jackrabbit.core.jndi.provider.DummyIn
itialContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} to
register repositories
17.09.2008 17:49:56.515 *INFO* [SCR Component Actor]
org.apache.sling.jcr.jackrabbit.server Using RMI Registry port 1099
17.09.2008 17:49:56.517 *INFO* [SCR Component Actor]
org.apache.sling.jcr.jackrabbit.server Service
[org.apache.sling.jcr.jackrabbit.server.SlingServerRepository,78]
ServiceEvent REGISTERED

And no RMI server gets started.

Is it possible to get Sling to register it? My main motivation for this is
to get the eclipse plugin to connect (using //:1099/jackrabbit) when its
configured for a non-embeddded jackrabbit. Currently it only works when JR
is embedded.

Any help on this would be appreciated.

Thanks,
Bill


---
No virus found in this outgoing message.  
Checked by GFI MailSecurity @ 17/9/2008
---

Reply via email to