You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Sumit Goyal (JIRA)" <ji...@apache.org> on 2009/07/27 11:25:14 UTC

[jira] Created: (DIRSERVER-1390) Attribute caching issues - warning and error messages thrown on startup

Attribute caching issues - warning and error messages thrown on startup
-----------------------------------------------------------------------

                 Key: DIRSERVER-1390
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1390
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 1.5.5
         Environment: Windows XP, Intel Based PC Architecture.
            Reporter: Sumit Goyal


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"/>".     (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.DefaultOidRegistry] - OID for name 'tdsFullyQualifiedObjectId' was not found within the OID
registry

whereas, the attribute is there in the schema.   And these messages are thrown only for custom attributes.

We 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!

>From the search performance, it looks like the caching is also not being done for these.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSERVER-1390) Attribute caching issues - warning and error messages thrown on startup

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-1390:
-----------------------------------------

    Affects Version/s:     (was: 1.5.5)
                       1.5.4
        Fix Version/s: 1.5.5

Let's get rid of those ennoying warnings forreal !

> Attribute caching issues - warning and error messages thrown on startup
> -----------------------------------------------------------------------
>
>                 Key: DIRSERVER-1390
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1390
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.4
>         Environment: Windows XP, Intel Based PC Architecture.
>            Reporter: Sumit Goyal
>             Fix For: 1.5.5
>
>
> 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"/>".     (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.DefaultOidRegistry] - OID for name 'tdsFullyQualifiedObjectId' was not found within the OID
> registry
> whereas, the attribute is there in the schema.   And these messages are thrown only for custom attributes.
> We 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!
> From the search performance, it looks like the caching is also not being done for these.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1390) Attribute caching issues - warning and error messages thrown on startup

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735541#action_12735541 ] 

Emmanuel Lecharny commented on DIRSERVER-1390:
----------------------------------------------

Can you provide the schema you are injecting in the server ?

Is this schema enabled ?

> Attribute caching issues - warning and error messages thrown on startup
> -----------------------------------------------------------------------
>
>                 Key: DIRSERVER-1390
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1390
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.5
>         Environment: Windows XP, Intel Based PC Architecture.
>            Reporter: Sumit Goyal
>
> 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"/>".     (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.DefaultOidRegistry] - OID for name 'tdsFullyQualifiedObjectId' was not found within the OID
> registry
> whereas, the attribute is there in the schema.   And these messages are thrown only for custom attributes.
> We 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!
> From the search performance, it looks like the caching is also not being done for these.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1390) Attribute caching issues - warning and error messages thrown on startup

Posted by "Sumit Goyal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736997#action_12736997 ] 

Sumit Goyal commented on DIRSERVER-1390:
----------------------------------------

Schema definition is:

dn: m-oid=1.3.6.1.4.1.15298.0.41.197,ou=attributeTypes,cn=schema,ou=schema
changetype: add
objectClass: metaAttributeType
objectClass: metaTop
objectClass: top
m-name: tdsFullyQualifiedObjectId
m-oid: 1.3.6.1.4.1.15298.0.41.197
m-singlevalue: TRUE
m-syntax: 1.3.6.1.4.1.1466.115.121.1.15
m-equality: caseIgnoreMatch
m-substr: caseIgnoreSubstringsMatch

Please elaborate what do you mean when you say if schema is enabled. If that means whether the schema is added in the server.xml as:
"<jdbmIndex attributeId="tdsFullyQualifiedObjectId" cacheSize="100"/>"
then yes. 

> Attribute caching issues - warning and error messages thrown on startup
> -----------------------------------------------------------------------
>
>                 Key: DIRSERVER-1390
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1390
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.5
>         Environment: Windows XP, Intel Based PC Architecture.
>            Reporter: Sumit Goyal
>
> 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"/>".     (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.DefaultOidRegistry] - OID for name 'tdsFullyQualifiedObjectId' was not found within the OID
> registry
> whereas, the attribute is there in the schema.   And these messages are thrown only for custom attributes.
> We 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!
> From the search performance, it looks like the caching is also not being done for these.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSERVER-1390) Attribute caching issues - warning and error messages thrown on startup

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-1390:
-----------------------------------------

    Fix Version/s:     (was: 1.5.5)
                   2.0.0-RC1

Postponed to 2.0.0-RC1

> Attribute caching issues - warning and error messages thrown on startup
> -----------------------------------------------------------------------
>
>                 Key: DIRSERVER-1390
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1390
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.4
>         Environment: Windows XP, Intel Based PC Architecture.
>            Reporter: Sumit Goyal
>             Fix For: 2.0.0-RC1
>
>
> 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"/>".     (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.DefaultOidRegistry] - OID for name 'tdsFullyQualifiedObjectId' was not found within the OID
> registry
> whereas, the attribute is there in the schema.   And these messages are thrown only for custom attributes.
> We 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!
> From the search performance, it looks like the caching is also not being done for these.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.