Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 37910 invoked from network); 19 Aug 2008 13:20:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Aug 2008 13:20:33 -0000 Received: (qmail 88540 invoked by uid 500); 19 Aug 2008 13:20:31 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 88518 invoked by uid 500); 19 Aug 2008 13:20:31 -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 88507 invoked by uid 99); 19 Aug 2008 13:20:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2008 06:20:31 -0700 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 (athena.apache.org: domain of christophe.lombart@gmail.com designates 209.85.217.17 as permitted sender) Received: from [209.85.217.17] (HELO mail-gx0-f17.google.com) (209.85.217.17) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2008 13:19:34 +0000 Received: by gxk10 with SMTP id 10so5617505gxk.19 for ; Tue, 19 Aug 2008 06:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=RLE9UtixOUBDXaAH+fdUSqeFAFdTp8Gb4LNh+i4jheE=; b=Uf3QHuYyHqhe5zcOZIhUP3ZLHvYoqTzM6alk5v3en0eHCuKIdJ1ZoNX6Uq6ROFBEiy vKyyUS+FE39+7afVBRYbFMicbTpARPtA8cOnBQpW4Ea4DO1JfYxf2jZFRW7l2xiYO+Vr 5644ohHdX4ImqygjamVet8azXKrNzTv0Xdeow= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=WZNck3rLFDBiBLHZH+Wqi6fmi92o6Hw9cB9yqdj2EpY47XQcOApH4U8Tx8Nj3Qi0lG ZgovTe0a+3cA+yuSLtn6gy72FqoucYJTl+79aqGV0fhblgw009iRsoB7jfHUIK7GaWCX pFstV41LI1+BU+uId/jwAvzehIb5v1/63kwu0= Received: by 10.150.192.7 with SMTP id p7mr11849638ybf.158.1219151942887; Tue, 19 Aug 2008 06:19:02 -0700 (PDT) Received: by 10.150.137.4 with HTTP; Tue, 19 Aug 2008 06:19:02 -0700 (PDT) Message-ID: <3b728ee90808190619u6dc6a996vf1e01857264f33f9@mail.gmail.com> Date: Tue, 19 Aug 2008 15:19:02 +0200 From: "Christophe Lombart" To: users@jackrabbit.apache.org Subject: Re: Problem with OCM: Cannot write at / In-Reply-To: <48AA1207.8010505@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6167_1073552.1219151942751" References: <48988DF8.400@gmail.com> <3b728ee90808051406l2c3915e4y408161178b0a8d56@mail.gmail.com> <4899DF7D.3020200@gmail.com> <3b728ee90808181441o41edb0fau68331c4f2e294ef7@mail.gmail.com> <48AA1207.8010505@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6167_1073552.1219151942751 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tue, Aug 19, 2008 at 02:21, Fabi=E1n Mandelbaum w= rote: > > > > > Hello Christophe. With this test project I'm using the same security > settings I'm using with a TransientRepository, that is, none (or the > default JR settings). > > Do I have to set (JAAS?) security explicitly to be able to use OCM? > no see in the 5' minutes tutorial ( http://jackrabbit.apache.org/a-simple-ocm-project-with-maven-eclipse.html). It is also working with a TransientRepository. You should have only one instance of the ObjectContentManager in your application. There is no need to have one ObjectContentManager per DAO. br, Christophe ------=_Part_6167_1073552.1219151942751--