From users-return-2223-apmail-directory-users-archive=directory.apache.org@directory.apache.org Thu Feb 26 13:24:47 2009 Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 11573 invoked from network); 26 Feb 2009 13:24:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2009 13:24:47 -0000 Received: (qmail 60316 invoked by uid 500); 26 Feb 2009 13:24:46 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 60294 invoked by uid 500); 26 Feb 2009 13:24:46 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 60283 invoked by uid 99); 26 Feb 2009 13:24:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 05:24:46 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elecharny@gmail.com designates 209.85.220.178 as permitted sender) Received: from [209.85.220.178] (HELO mail-fx0-f178.google.com) (209.85.220.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 13:24:38 +0000 Received: by fxm26 with SMTP id 26so516433fxm.25 for ; Thu, 26 Feb 2009 05:24:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=3hyikrxLhtkbio8rgQsXkB2gtVi5hUIpJgb9RxF0kn4=; b=PDAcNd1AuLxZrJFoj6KoFMKNzJfq4ic8BWRb2+1WtkqoaatIX5Qmlmc5YKIyKopMHM Sm5EIa0xQJE7oclSUJREbeEtyFeJka4LZYeQV8N8Zs87WU6tzHxj19G7KqVmHb/is8VI Z8l2HMhbHLBTNSuiGmamqIW96wpY8+2n7yr9Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=IXxRzjQHXOdjxGuPUNB8D6hiFc2r3wnKy13ErvQ79/KNjMhb8SfWjA/9P4ESV95dWP 7eGeoVPcNjYT84tmJfG7ZpGnM7zeapRugqxZWLzi6aNznOctS5U0Q/jnjXGa57LfoYnL WGrfPc4wOb/U6KdQsHB1VbAB9kcFlVIMelcB8= Received: by 10.223.110.144 with SMTP id n16mr2097688fap.63.1235654656540; Thu, 26 Feb 2009 05:24:16 -0800 (PST) Received: from ?192.168.0.12? ([78.226.4.211]) by mx.google.com with ESMTPS id 7sm4122830eyg.57.2009.02.26.05.24.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 26 Feb 2009 05:24:16 -0800 (PST) Sender: Emmanuel Lecharny Message-ID: <49A69802.6030704@nextury.com> Date: Thu, 26 Feb 2009 14:24:18 +0100 From: Emmanuel Lecharny User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: users@directory.apache.org Subject: Re: [ApacheDS] Weird issue with DIRSERVER-1285 References: <49A473C5.4000801@telenix.org> <98d8c0860902241448i1d8d3fcax45ce5e8f50cc35f7@mail.gmail.com> <49A524FD.9060202@gameaccount.com> <49A5278B.1050401@gmail.com> <49A52921.2050600@gameaccount.com> <49A562A2.9030402@gameaccount.com> <49A565A4.8010505@nextury.com> <49A56701.60906@gameaccount.com> <49A572ED.1070008@gameaccount.com> <49A66204.2030203@gameaccount.com> <49A66F2D.3020307@nextury.com> <49A67680.6000905@gameaccount.com> <49A67BF0.5000204@nextury.com> <49A67F88.9060605@gameaccount.com> <49A68B34.5000209@nextury.com> <49A68BC4.9000104@gameaccount.com> <49A68D4B.9050507@nextury.com> <49A69053.1030701@gameaccount.com> <49A6931A.6020907@nextury.com> <49A6950A.4000605@gameaccount.com> In-Reply-To: <49A6950A.4000605@gameaccount.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Yiannis Mavroukakis wrote: > Hmm ok I'm getting confused :-P (doesn't take much!!) > > The scenario is this. > I start the server, create a partition, relevant context and the > security principal, everything works fine, I can authenticate to > ApacheDS. > I shutdown the server, start it up again, obviously this time all the > data is read from disk, I get LDAP: error code 49 - Bind principalDn > points to referral. I cannot connect with neither JBoss name binding > nor apache studio. > > So it seems logical(?) to me like there's something odd going on once > the data is re-read from disk. Thanks for having sumarize the problem... I think we were heading to the wrong direction. Sounds to me like you might have a pb writing data on disk. The server will cache everything when started, to speed up things. So the first time, when you initialize everything, it's up in memory, so no pb. When you shutdown the server, and restart it, then you are reading back from disk. Ok, a few more tests : - after a restart, can you connect to the server with studio using the uid=admin user ? - if so, can you read the added entries ? -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org