You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by crm6360 <cr...@hotmail.com> on 2013/07/24 17:29:19 UTC
DavEx to connect to multiple repositories?
The wiki page suggests that we can use DavEx to connect to a remote
repository:
http://wiki.apache.org/jackrabbit/RemoteAccess
JcrUtils.getRepository("http://localhost:8080/server")
Is there a way to change the URI so that we can retrieve repository "X" or
"Y", for instance? It seems like this DavEx URI is hardwired to a default
repository that comes with the standalone server. I need to have the
flexibility of remotely creating and accessing multiple repositories in the
same way that the local RepositoryFactory.getRepository(Properties)
automatically creates a new one if the path doesn't exist.
-Chris
--
View this message in context: http://jackrabbit.510166.n4.nabble.com/DavEx-to-connect-to-multiple-repositories-tp4659129.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
Re: DavEx to connect to multiple repositories?
Posted by crm6360 <cr...@hotmail.com>.
So I would have to set up a separate server for every repo that I want to
expose? That would seem to preclude the ability to remotely create new
repositories from the client. In the transient local repository setup,
you can just pass in a new repo path and it will automatically create one if
it does not already exist.
Is there anything "built-in" to the jackrabbit components that would let a
client remotely create and switch to different repositories?
--
View this message in context: http://jackrabbit.510166.n4.nabble.com/DavEx-to-connect-to-multiple-repositories-tp4659129p4659133.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
Re: DavEx to connect to multiple repositories?
Posted by Justin Edelson <ju...@justinedelson.com>.
Hi Chris,
Each repository would be a separate port.
Justin
On Wed, Jul 24, 2013 at 11:29 AM, crm6360 <cr...@hotmail.com> wrote:
> The wiki page suggests that we can use DavEx to connect to a remote
> repository:
>
> http://wiki.apache.org/jackrabbit/RemoteAccess
>
> JcrUtils.getRepository("http://localhost:8080/server")
>
> Is there a way to change the URI so that we can retrieve repository "X" or
> "Y", for instance? It seems like this DavEx URI is hardwired to a default
> repository that comes with the standalone server. I need to have the
> flexibility of remotely creating and accessing multiple repositories in the
> same way that the local RepositoryFactory.getRepository(Properties)
> automatically creates a new one if the path doesn't exist.
>
> -Chris
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://jackrabbit.510166.n4.nabble.com/DavEx-to-connect-to-multiple-repositories-tp4659129.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>