Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 13752 invoked from network); 27 Jul 2009 08:27:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jul 2009 08:27:30 -0000 Received: (qmail 19725 invoked by uid 500); 27 Jul 2009 08:28:35 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 19658 invoked by uid 500); 27 Jul 2009 08:28:35 -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 19648 invoked by uid 99); 27 Jul 2009 08:28:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jul 2009 08:28:35 +0000 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.226 as permitted sender) Received: from [209.85.220.226] (HELO mail-fx0-f226.google.com) (209.85.220.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jul 2009 08:28:25 +0000 Received: by fxm26 with SMTP id 26so2580662fxm.25 for ; Mon, 27 Jul 2009 01:28:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=nPgSa/OkPSBgraTbh/Efz2FPAkzw9xzRcN2EDQNDUJY=; b=NffAnxbLvkaXaGPWvupaBSNiWqJD34qdGJAun2/jFsTsLMrVp7DTvuyCpQj7hIelyA 9+Nw8Iy/UFW8SDVvAgCJZiStTH2lapFrf+vCShMyo+QaoAXhFg0gSF+7OPzW2ab+QKQp 8PKjd1PVccZzZSnStoNkfnAiJWmREWGvwBgKo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=vxrVzoGsrfjpnY3bxDh8MrI6aYTvdBePYl4y3FPQz9aySWL3PIsxwwGP+TBlWi/7bc svSMtp9lk+Gy7arAZ/dNoSXdmw87PJHHW2h0NOoIbA3FRqzn7BrmBYcad8N5q3hAu8nC KZM/u40x6PcJSr9QjT/NjUV72Chkp6GHCNdbM= MIME-Version: 1.0 Sender: elecharny@gmail.com Received: by 10.223.127.8 with SMTP id e8mr2296175fas.95.1248683283712; Mon, 27 Jul 2009 01:28:03 -0700 (PDT) In-Reply-To: <477691310907262134q3d6e914dv78bbc42ac529bd86@mail.gmail.com> References: <477691310907252314x4460fec7m24d4419d2c7b056c@mail.gmail.com> <4A6C27DB.6090702@nextury.com> <477691310907262134q3d6e914dv78bbc42ac529bd86@mail.gmail.com> Date: Mon, 27 Jul 2009 10:28:03 +0200 X-Google-Sender-Auth: e1cfb5a947906909 Message-ID: Subject: Re: Attribute Caching question From: Emmanuel Lecharny To: users@directory.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Ok, can you create a JIRA for this ? I will try to have a look at it this week. On Mon, Jul 27, 2009 at 6:34 AM, sumit goyal wrote= : > Hi Emmanuel, > > I replaced attribute name with its OID in the server.xml. Now the warning > has changed to an error stating: > > [10:02:23] ERROR > [org.apache.directory.server.schema.registries.DefaultAttribute > TypeRegistry] - attributeType w/ OID 1.3.6.1.4.1.15265.0.41 not registere= d! > > Regards > Sumit > Charles de Gaulle > - "The better I get to know men, the more I find myself loving dogs." > > On Sun, Jul 26, 2009 at 3:24 PM, Emmanuel Lecharny = wrote: > >> sumit goyal wrote: >> >>> Hello All, >>> >>> I have a question regarding attribute caching in Apache DS 1.5.5. In my >>> setup, we define a few custom object classes (in turn having custom >>> attributes). We specify their caching in the server.xml file under >>> as ">> cacheSize=3D"100"/>". Now we are specifying pre-defined attributes the >>> similiar way i.e: "". >>> >>> When I start my server, I get messages like: >>> >>> [11:58:06] WARN >>> [org.apache.directory.server.schema.registries.DefaultOidRegistr >>> y] - OID for name 'tdsFullyQualifiedObjectId' was not found within the = OID >>> regis >>> try >>> >>> whereas, the attribute is there in the schema. And these messages are >>> thrown >>> only for custom attributes. >>> Can anyone suggest what could be reason for the warning, and how should= i >>> go >>> about resolving it. >>> >>> >> >> Hmmm... First guess is that the index is initialized *before* the >> oidRegistry is up in memory, so the init can't associate the AttributeTy= pe's >> name with its OID. This is most certainly a bug, and requires a JIRA. >> >> However, I *think* you can use the attribute's OID as a workaround : >> >> as "" cacheSize=3D"10= 0"/> >> >> as it's done for Apache internal attributes. >> >> Can you confirm ? >> >> Thanks ! >> >> >> >> =A0Thanks in advance. >>> Sumit >>> Ogden Nash >>> =A0- >>> "The trouble with a kitten is that when it grows up, it's always a cat.= " >>> >>> >>> >> >> >> -- >> -- >> cordialement, regards, >> Emmanuel L=E9charny >> www.iktek.com >> directory.apache.org >> >> >> > --=20 Regards, Cordialement, Emmanuel L=E9charny www.iktek.com