Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 56975 invoked from network); 24 Feb 2007 17:59:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Feb 2007 17:59:36 -0000 Received: (qmail 29520 invoked by uid 500); 24 Feb 2007 17:59:43 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 29504 invoked by uid 500); 24 Feb 2007 17:59:43 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 29494 invoked by uid 99); 24 Feb 2007 17:59:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Feb 2007 09:59:43 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of nrdufour@gmail.com designates 66.249.82.227 as permitted sender) Received: from [66.249.82.227] (HELO wx-out-0506.google.com) (66.249.82.227) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Feb 2007 09:59:32 -0800 Received: by wx-out-0506.google.com with SMTP id i28so893682wxd for ; Sat, 24 Feb 2007 09:59:11 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=hvsTjiAU5DenFn+rZ5zq4wH3bqxxrH9RxmorVOEN83lPMCdLhWLe3ctgaHFfLGyq+vlQqr04AriHa6Z8GdDZsdfiAKzLhFCqBloq/IRVLvrq1EN3ZUrsOCKIsGkD4uRNPW3PKK/aaOEoMwCDHoQT4I8XLXOUPyPeKN7gcr2bYdY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=V5oMDXmJ5SZ/3fF0nLzYvfGxVClNqGCcps33v6DTtPyYSFlIhhXMMSOEDrzQqMrSH/s1ZOROSw7VRNjzpMjoaN5Cgyh8CrGLFYslvbpXbL7bN17pZ5/mTu1uJ0/O8flFoLGvV5AQR+qdCUtegDpd2mSRn3VhmJjG6dIZmVtha/I= Received: by 10.70.17.1 with SMTP id 1mr5924975wxq.1172339951525; Sat, 24 Feb 2007 09:59:11 -0800 (PST) Received: by 10.70.17.18 with HTTP; Sat, 24 Feb 2007 09:59:11 -0800 (PST) Message-ID: <8503442c0702240959h969307ke8d37edfc17cf15b@mail.gmail.com> Date: Sat, 24 Feb 2007 12:59:11 -0500 From: "Nicolas Dufour" To: users@jackrabbit.apache.org Subject: Re: How do you install/start repository server. In-Reply-To: <2b6280ae0702231508r5b88b7b3q1fa02d7a11d6cac1@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_40516_28795550.1172339951491" References: <2b6280ae0702231508r5b88b7b3q1fa02d7a11d6cac1@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_40516_28795550.1172339951491 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi 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 = factory.getRemoteRepository(repository); Registry reg = LocateRegistry.createRegistry(1100); reg.rebind("jackrabbit", remote); And the client : ClientRepositoryFactory factory = new ClientRepositoryFactory(); Repository repository = factory.getRepository("rmi://localhost:1100/jackrabbit"); 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. Enjoy Nicolas On 2/23/07, Lubos and Alena Pochman 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 > ------=_Part_40516_28795550.1172339951491--