Hi, I have another similar problem with 1.5.5. Upon adding custom schema and starting the server I get these errors on the console infinitely and the whole application runs into an infinite loop.As a result, i cannot connect to the server. Also the other observation is that this server dump runs fine on another machine without any problem. What could be the possible problem and how do we resolve it? I feel the problem could be machine specific.
Regards, Murali krishna G The following is the error seen : ".... [10:29:27] ERROR [org.apache.directory.server.schema.registries.DefaultMatchingRuleRegistry] - Unknown MatchingRule OID 2.5.13.2 [10:29:27] ERROR [org.apache.directory.server.schema.registries.DefaultMatchingRuleRegistry] - Unknown MatchingRule OID 2.5.13.2 [10:29:27] ERROR [org.apache.directory.server.schema.registries.DefaultMatchingRuleRegistry] - Unknown MatchingRule OID 2.5.13.2 [10:29:27] ERROR [org.apache.directory.server.schema.registries.DefaultMatchingRuleRegistry] - Unknown MatchingRule OID 2.5.13.2 [10:29:27] ERROR [org.apache.directory.server.schema.registries.DefaultMatchingRuleRegistry] - Unknown MatchingRule OID 2.5.13.2 ....." Emmanuel Lecharny <[email protected]> Sent by: [email protected] 27/07/2009 01:58 PM Please respond to [email protected] To [email protected] cc Subject Re: Attribute Caching question 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<[email protected]> 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 registered! > > Regards > Sumit > Charles de Gaulle< http://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html> > - "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 <[email protected]>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 >>> <indexedAttributes> as "<jdbmIndex attributeId="tdsFullyQualifiedObjectId" >>> cacheSize="100"/>". Now we are specifying pre-defined attributes the >>> similiar way i.e: "<jdbmIndex attributeId="dc" cacheSize="100"/>". >>> >>> 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 AttributeType'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 : >> >> <indexedAttributes> as "<jdbmIndex attributeId="<OID>" cacheSize="100"/> >> >> as it's done for Apache internal attributes. >> >> Can you confirm ? >> >> Thanks ! >> >> >> >> Thanks in advance. >>> Sumit >>> Ogden Nash < http://www.brainyquote.com/quotes/authors/o/ogden_nash.html> >>> - >>> "The trouble with a kitten is that when it grows up, it's always a cat." >>> >>> >>> >> >> >> -- >> -- >> cordialement, regards, >> Emmanuel Lécharny >> www.iktek.com >> directory.apache.org >> >> >> > -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
