jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Dufour" <nrduf...@gmail.com>
Subject Re: How do you install/start repository server.
Date Sat, 24 Feb 2007 17:59:11 GMT

You can find piece of code in the wiki site in the example page here ->
http://wiki.apache.org/jackrabbit/ExamplesPage at the section Simple
Standalone RMI Server / Client.

In fact, the server should have this :

Repository repository = new TransientRepository();
ServerAdapterFactory factory = new ServerAdapterFactory();
RemoteRepository remote =
Registry reg = LocateRegistry.createRegistry(1100);
reg.rebind("jackrabbit", remote);

And the client :

ClientRepositoryFactory factory = new ClientRepositoryFactory();

Repository repository =

You can of course change the port (1100) and the server name (jackrabbit).

I use those pieces of code in fact in one of my projects. It works fine.



On 2/23/07, Lubos and Alena Pochman <pochmans@gmail.com> wrote:
> Hi I am new to CMS and JackRabbit. I would like to install and start
> repository server as described here
> http://jackrabbit.apache.org/doc/deploy/howto-model3.html so I can connect
> to it with test client or to run First Hops example with repository
> server.
> I cannot find any documentation how to do that on website or FAQ or wiki.
> All the documentation available seems to describe only client side.
> Where can I learn how to install/start/manage repository server?
> Thanks, Lubos

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message