Hi Dominique, I don't think that this is possible, since many of the OSGi services are kind of singletons. As long OSGi does not offer sandboxing, this won't be possible.
I think you have better chance starting 2 oaks w/o OSGi. See the oak-run project for examples. Regards, Toby On Tue, Jul 15, 2014 at 1:23 PM, Dominique Pfister <[email protected]> wrote: > Hi, > > > I'd like to setup two distinct Oak repositories in the same VM, each > containing an OSGI whiteboard. > > > Looking at the components inside oak-core that announce their availability > using this whiteboard and the way the registration is implemented in the OSGI > whiteboard, I was wondering whether above setup is possible without causing a > clash in the OSGI service registry. If so, what would be the easiest way to > create separate "namespaces" where every component is automatically > associated with its designated whiteboard? > > > Kind regards > > Dominique
