You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Rino van Wijngaarden <ri...@gmail.com> on 2015/12/01 10:56:07 UTC

Connect to remote repo with oak ?

Hi,

I'm trying out Oak (because deploying jackrabbit in osgi is somewhat of a
nightmare) and i'm wondering how to connect to a remote JCR repo.

With JackRabbit 2.11.x i did:

   repository = JcrUtils.getRepository(uri);

and the uri could be http://localhost:8080/server for a jcr repo running
locally.


But this gives problems in osgi, so how do i do this with oak?

Regards

Rino

Re: Connect to remote repo with oak ?

Posted by Chetan Mehrotra <ch...@gmail.com>.
On Tue, Dec 1, 2015 at 3:26 PM, Rino van Wijngaarden
<ri...@gmail.com> wrote:
> But this gives problems in osgi, so how do i do this with oak?

What is the problem and how are you running Oak. Is it via Sling?

Chetan Mehrotra