On 3/11/08, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Mon, Mar 10, 2008 at 11:27 AM, Vidar Ramdal <[EMAIL PROTECTED]> wrote: > > > ...This > > leads me to suspect that the error has to do with > > http://issues.apache.org/jira/browse/JCR-585 - that the > > NodeTypeRegistry is not available via the "normal" RMI interfaces.... > > I think you're right, does anyone know about a workaround? > > > ...What would be the easisest way to get Sling running on a remote JCR?... > > If there's no workaround that allows the nodetypes to be registered > over RMI, you might have to register them in another way in that > repository, and we would have to modify Sling so that a failure to > register the node types only triggers warnings, not a fatal error. > > I think we'll need that anyway if people want to run Sling on other > JCR repositories than Jackrabbit, as registering nodetypes is not part > of the JCR API. > > What do people think?
Yep, it would be perfectly acceptable for us to register the nodetypes once, locally, on the JCR. It seems Sling attempts to register nodetypes on every startup, even though they're already be registered - and when registering fails, Sling gives up on trying to connect to the repository. This is a bit odd, right? -- Vidar S. Ramdal <[EMAIL PROTECTED]> - http://www.idium.no Akersgata 16, N-0158 Oslo, Norway
