You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (JIRA)" <ji...@apache.org> on 2008/07/27 23:23:31 UTC

[jira] Created: (DIRSERVER-1211) Error code 54 in modify-replace operation

Error code 54 in modify-replace operation
-----------------------------------------

                 Key: DIRSERVER-1211
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1211
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 1.5.3
            Reporter: Stefan Seelmann


This error occurs with apacheds-1.5.3-fixed.tar.gz and the current trunk-with-dependencies (Revision 680187), both with default server.xml

I use studio to run the following LDIF:
---------------------------------------------
dn: cn=Kate Bush,ou=system
changetype: add
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: Kate Bush
sn: Bush

dn: cn=Kate Bush,ou=system
changetype: modify
replace: ou
ou: Test
-

---------------------------------------------

The second LDIF record fails with error 54. The log is here: http://www.pastebin.org/57617. 

The error does not occur when I use 'add:ou' instead of 'replace:ou'

The error does not occur when I use another attribute, e.g. 'decription' instead of 'ou'

Emmanuel's idea on IM was that it is because 'ou' is indexed in the default server.xml.



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


[jira] Closed: (DIRSERVER-1211) Error code 54 in modify-replace operation

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

Stefan Seelmann closed DIRSERVER-1211.
--------------------------------------


> Error code 54 in modify-replace operation
> -----------------------------------------
>
>                 Key: DIRSERVER-1211
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1211
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>            Reporter: Stefan Seelmann
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.4
>
>
> This error occurs with apacheds-1.5.3-fixed.tar.gz and the current trunk-with-dependencies (Revision 680187), both with default server.xml
> I use studio to run the following LDIF:
> ---------------------------------------------
> dn: cn=Kate Bush,ou=system
> changetype: add
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> cn: Kate Bush
> sn: Bush
> dn: cn=Kate Bush,ou=system
> changetype: modify
> replace: ou
> ou: Test
> -
> ---------------------------------------------
> The second LDIF record fails with error 54. The log is here: http://www.pastebin.org/57617. 
> The error does not occur when I use 'add:ou' instead of 'replace:ou'
> The error does not occur when I use another attribute, e.g. 'decription' instead of 'ou'
> Emmanuel's idea on IM was that it is because 'ou' is indexed in the default server.xml.

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


[jira] Updated: (DIRSERVER-1211) Error code 54 in modify-replace operation

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

Emmanuel Lecharny updated DIRSERVER-1211:
-----------------------------------------

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

Rescheduled to 1.5.7

> Error code 54 in modify-replace operation
> -----------------------------------------
>
>                 Key: DIRSERVER-1211
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1211
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.5, 1.5.4, 1.5.3
>            Reporter: Stefan Seelmann
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.7
>
>
> This error occurs with apacheds-1.5.3-fixed.tar.gz and the current trunk-with-dependencies (Revision 680187), both with default server.xml
> I use studio to run the following LDIF:
> ---------------------------------------------
> dn: cn=Kate Bush,ou=system
> changetype: add
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> cn: Kate Bush
> sn: Bush
> dn: cn=Kate Bush,ou=system
> changetype: modify
> replace: ou
> ou: Test
> -
> ---------------------------------------------
> The second LDIF record fails with error 54. The log is here: http://www.pastebin.org/57617. 
> The error does not occur when I use 'add:ou' instead of 'replace:ou'
> The error does not occur when I use another attribute, e.g. 'decription' instead of 'ou'
> Emmanuel's idea on IM was that it is because 'ou' is indexed in the default server.xml.

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


[jira] Commented: (DIRSERVER-1211) Error code 54 in modify-replace operation

Posted by "Kiran Ayyagari (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623399#action_12623399 ] 

Kiran Ayyagari commented on DIRSERVER-1211:
-------------------------------------------


Pasting the text of IM chat with Alex regarding this issue

Alex: it's a corner case of the protocol's handling of doing a modify replace on a non existent attribute
Kiran Ayyagari: ah ok
Alex: question is should the modify be converted to a modify add when it was originally a modify replace when the ou attribute is not in the entry
Alex: or should it be ignored, or what's the accurate error code to return
Alex: seems indexing is affecting the behavior of this
Kiran Ayyagari: the ou index doesn't contain this id cause the first ldif entry doesn't contain a ou attribute
Kiran Ayyagari: when I tried after giving 'ou: system' in the first entry it was replaced properly
Alex: right
Alex: I guess deep down in jdbm store layer
Alex: the code sees there's an index on ou
Kiran Ayyagari: yep
Alex: and thinks the ou attribute must exist for the entry when replace is being issued and tries to remove it
Kiran Ayyagari: right
Alex: this presumption causes an exception
Kiran Ayyagari: true
Alex: which circumvents normal handling
Alex: normal result response
Alex: just need to check before doing the remove on a replace operation


> Error code 54 in modify-replace operation
> -----------------------------------------
>
>                 Key: DIRSERVER-1211
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1211
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>            Reporter: Stefan Seelmann
>            Assignee: Emmanuel Lecharny
>
> This error occurs with apacheds-1.5.3-fixed.tar.gz and the current trunk-with-dependencies (Revision 680187), both with default server.xml
> I use studio to run the following LDIF:
> ---------------------------------------------
> dn: cn=Kate Bush,ou=system
> changetype: add
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> cn: Kate Bush
> sn: Bush
> dn: cn=Kate Bush,ou=system
> changetype: modify
> replace: ou
> ou: Test
> -
> ---------------------------------------------
> The second LDIF record fails with error 54. The log is here: http://www.pastebin.org/57617. 
> The error does not occur when I use 'add:ou' instead of 'replace:ou'
> The error does not occur when I use another attribute, e.g. 'decription' instead of 'ou'
> Emmanuel's idea on IM was that it is because 'ou' is indexed in the default server.xml.

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


[jira] Updated: (DIRSERVER-1211) Error code 54 in modify-replace operation

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

Stefan Seelmann updated DIRSERVER-1211:
---------------------------------------

    Fix Version/s: 1.5.4

> Error code 54 in modify-replace operation
> -----------------------------------------
>
>                 Key: DIRSERVER-1211
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1211
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>            Reporter: Stefan Seelmann
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.4
>
>
> This error occurs with apacheds-1.5.3-fixed.tar.gz and the current trunk-with-dependencies (Revision 680187), both with default server.xml
> I use studio to run the following LDIF:
> ---------------------------------------------
> dn: cn=Kate Bush,ou=system
> changetype: add
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> cn: Kate Bush
> sn: Bush
> dn: cn=Kate Bush,ou=system
> changetype: modify
> replace: ou
> ou: Test
> -
> ---------------------------------------------
> The second LDIF record fails with error 54. The log is here: http://www.pastebin.org/57617. 
> The error does not occur when I use 'add:ou' instead of 'replace:ou'
> The error does not occur when I use another attribute, e.g. 'decription' instead of 'ou'
> Emmanuel's idea on IM was that it is because 'ou' is indexed in the default server.xml.

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


[jira] Commented: (DIRSERVER-1211) Error code 54 in modify-replace operation

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

Emmanuel Lecharny commented on DIRSERVER-1211:
----------------------------------------------

Here is the stack trace I get :

java.lang.IllegalArgumentException: Key not found: 11
	at jdbm.btree.BPage.remove(BPage.java:480)
	at jdbm.btree.BTree.remove(BTree.java:366)
	at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.remove(JdbmTable.java:705)
	at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.drop(JdbmIndex.java:455)
	at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.replace(JdbmStore.java:1395)
	at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.modify(JdbmStore.java:1501)
	at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.modify(JdbmPartition.java:511)
	at org.apache.directory.server.core.partition.DefaultPartitionNexus.modify(DefaultPartitionNexus.java:878)
	at org.apache.directory.server.core.interceptor.InterceptorChain$1.modify(InterceptorChain.java:141)
	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174)
	at org.apache.directory.server.core.trigger.TriggerInterceptor.modify(TriggerInterceptor.java:347)
	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174)
	at org.apache.directory.server.core.event.EventInterceptor.modify(EventInterceptor.java:195)
	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174)
	at org.apache.directory.server.core.collective.CollectiveAttributeInterceptor.modify(CollectiveAttributeInterceptor.java:360)
	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174)
	at org.apache.directory.server.core.subtree.SubentryInterceptor.modify(SubentryInterceptor.java:1104)
	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174)
	at org.apache.directory.server.core.schema.SchemaInterceptor.modify(SchemaInterceptor.java:1490)
	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174)
	at org.apache.directory.server.core.operational.OperationalAttributeInterceptor.modify(OperationalAttributeInterceptor.java:203)
	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174)
	at org.apache.directory.server.core.exception.ExceptionInterceptor.modify(ExceptionInterceptor.java:353)
	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174)
	at org.apache.directory.server.core.authz.DefaultAuthorizationInterceptor.modify(DefaultAuthorizationInterceptor.java:281)
	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174)
	at org.apache.directory.server.core.authz.AciAuthorizationInterceptor.modify(AciAuthorizationInterceptor.java:565)
	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174)
	at org.apache.directory.server.core.authn.AuthenticationInterceptor.modify(AuthenticationInterceptor.java:337)
	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174)
	at org.apache.directory.server.core.normalization.NormalizationInterceptor.modify(NormalizationInterceptor.java:127)
	at org.apache.directory.server.core.interceptor.InterceptorChain.modify(InterceptorChain.java:783)
	at org.apache.directory.server.core.DefaultOperationManager.modify(DefaultOperationManager.java:289)
	at org.apache.directory.server.core.DefaultCoreSession.modify(DefaultCoreSession.java:419)
	at org.apache.directory.server.newldap.handlers.NewModifyHandler.handleIgnoringReferrals(NewModifyHandler.java:58)
	at org.apache.directory.server.newldap.handlers.NewModifyHandler.handleIgnoringReferrals(NewModifyHandler.java:40)
	at org.apache.directory.server.newldap.handlers.ReferralAwareRequestHandler.handleWithReferrals(ReferralAwareRequestHandler.java:442)
	at org.apache.directory.server.newldap.handlers.ReferralAwareRequestHandler.handle(ReferralAwareRequestHandler.java:150)
	at org.apache.directory.server.newldap.handlers.ReferralAwareRequestHandler.handle(ReferralAwareRequestHandler.java:66)
	at org.apache.directory.server.newldap.handlers.LdapRequestHandler.messageReceived(LdapRequestHandler.java:167)
	at org.apache.directory.server.newldap.handlers.LdapRequestHandler.messageReceived(LdapRequestHandler.java:46)
	at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:141)
	at org.apache.directory.server.newldap.LdapServer$LdapProtocolHandler.messageReceived(LdapServer.java:1170)
	at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(AbstractIoFilterChain.java:570)
	at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
	at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
	at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
	at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:58)
	at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:180)
	at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
	at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
	at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
	at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220)
	at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
	at java.lang.Thread.run(Thread.java:595)

> Error code 54 in modify-replace operation
> -----------------------------------------
>
>                 Key: DIRSERVER-1211
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1211
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>            Reporter: Stefan Seelmann
>            Assignee: Emmanuel Lecharny
>
> This error occurs with apacheds-1.5.3-fixed.tar.gz and the current trunk-with-dependencies (Revision 680187), both with default server.xml
> I use studio to run the following LDIF:
> ---------------------------------------------
> dn: cn=Kate Bush,ou=system
> changetype: add
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> cn: Kate Bush
> sn: Bush
> dn: cn=Kate Bush,ou=system
> changetype: modify
> replace: ou
> ou: Test
> -
> ---------------------------------------------
> The second LDIF record fails with error 54. The log is here: http://www.pastebin.org/57617. 
> The error does not occur when I use 'add:ou' instead of 'replace:ou'
> The error does not occur when I use another attribute, e.g. 'decription' instead of 'ou'
> Emmanuel's idea on IM was that it is because 'ou' is indexed in the default server.xml.

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


[jira] Updated: (DIRSERVER-1211) Error code 54 in modify-replace operation

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

Kiran Ayyagari updated DIRSERVER-1211:
--------------------------------------

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

moved to 2.0.0-RC1

> Error code 54 in modify-replace operation
> -----------------------------------------
>
>                 Key: DIRSERVER-1211
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1211
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.5, 1.5.4, 1.5.3
>            Reporter: Stefan Seelmann
>            Assignee: Emmanuel Lecharny
>             Fix For: 2.0.0-RC1
>
>
> This error occurs with apacheds-1.5.3-fixed.tar.gz and the current trunk-with-dependencies (Revision 680187), both with default server.xml
> I use studio to run the following LDIF:
> ---------------------------------------------
> dn: cn=Kate Bush,ou=system
> changetype: add
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> cn: Kate Bush
> sn: Bush
> dn: cn=Kate Bush,ou=system
> changetype: modify
> replace: ou
> ou: Test
> -
> ---------------------------------------------
> The second LDIF record fails with error 54. The log is here: http://www.pastebin.org/57617. 
> The error does not occur when I use 'add:ou' instead of 'replace:ou'
> The error does not occur when I use another attribute, e.g. 'decription' instead of 'ou'
> Emmanuel's idea on IM was that it is because 'ou' is indexed in the default server.xml.

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


[jira] Resolved: (DIRSERVER-1211) Error code 54 in modify-replace operation

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

Emmanuel Lecharny resolved DIRSERVER-1211.
------------------------------------------

    Resolution: Fixed

Kiran fixed it with : http://svn.apache.org/viewvc?rev=686849&view=rev

> Error code 54 in modify-replace operation
> -----------------------------------------
>
>                 Key: DIRSERVER-1211
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1211
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>            Reporter: Stefan Seelmann
>            Assignee: Emmanuel Lecharny
>
> This error occurs with apacheds-1.5.3-fixed.tar.gz and the current trunk-with-dependencies (Revision 680187), both with default server.xml
> I use studio to run the following LDIF:
> ---------------------------------------------
> dn: cn=Kate Bush,ou=system
> changetype: add
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> cn: Kate Bush
> sn: Bush
> dn: cn=Kate Bush,ou=system
> changetype: modify
> replace: ou
> ou: Test
> -
> ---------------------------------------------
> The second LDIF record fails with error 54. The log is here: http://www.pastebin.org/57617. 
> The error does not occur when I use 'add:ou' instead of 'replace:ou'
> The error does not occur when I use another attribute, e.g. 'decription' instead of 'ou'
> Emmanuel's idea on IM was that it is because 'ou' is indexed in the default server.xml.

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


[jira] Commented: (DIRSERVER-1211) Error code 54 in modify-replace operation

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

Emmanuel Lecharny commented on DIRSERVER-1211:
----------------------------------------------

Looking at the stack trace, and looking at the code at JdbmStrore.replace() :

    private void replace( Long id, ServerEntry entry, EntryAttribute mods ) throws Exception
    {
        if ( entry instanceof ClonedServerEntry )
        {
            throw new Exception( "Cannot store a ClonedServerEntry" );
        }
        
        String modsOid = oidRegistry.getOid( mods.getId() );

        if ( hasUserIndexOn( modsOid ) )
        {
            Index<?,E> index = getUserIndex( modsOid );

            // Drop all existing attribute value index entries and add new ones
            ( ( JdbmIndex<?,E> ) index ).drop( id );  <-- here, we get the exception
...

I'm just thinking that we are trying to remove a reference from an index, but as we are trying to add a new value to thoe indexed attribute, there is no chance this reference could be found in the index.

One more check is necessary here: the modified attribute should already exist in the entry before trying to remove the reference to this entry into the index.

Thoughts ?


> Error code 54 in modify-replace operation
> -----------------------------------------
>
>                 Key: DIRSERVER-1211
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1211
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>            Reporter: Stefan Seelmann
>            Assignee: Emmanuel Lecharny
>
> This error occurs with apacheds-1.5.3-fixed.tar.gz and the current trunk-with-dependencies (Revision 680187), both with default server.xml
> I use studio to run the following LDIF:
> ---------------------------------------------
> dn: cn=Kate Bush,ou=system
> changetype: add
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> cn: Kate Bush
> sn: Bush
> dn: cn=Kate Bush,ou=system
> changetype: modify
> replace: ou
> ou: Test
> -
> ---------------------------------------------
> The second LDIF record fails with error 54. The log is here: http://www.pastebin.org/57617. 
> The error does not occur when I use 'add:ou' instead of 'replace:ou'
> The error does not occur when I use another attribute, e.g. 'decription' instead of 'ou'
> Emmanuel's idea on IM was that it is because 'ou' is indexed in the default server.xml.

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


[jira] Reopened: (DIRSERVER-1211) Error code 54 in modify-replace operation

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

Brad reopened DIRSERVER-1211:
-----------------------------


Reopened for version 1.5.5 after discussion on users mailing list. 

Our directory instance running on JBoss 5.1logged the following stack trace:

java.lang.IllegalArgumentException: Key not found: 275
at jdbm.btree.BPage.remove(BPage.java:480)
at jdbm.btree.BPage.remove(BPage.java:492)
at jdbm.btree.BPage.remove(BPage.java:492)
at jdbm.btree.BTree.remove(BTree.java:366)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.remove(JdbmTable.java:803)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.drop(JdbmIndex.java:490)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.replace(JdbmStore.java:1602)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.modify(JdbmStore.java:1725)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.modify(JdbmPartition.java:535)
at org.apache.directory.server.core.partition.DefaultPartitionNexus.modify(DefaultPartitionNexus.java:845)
at org.apache.directory.server.core.interceptor.InterceptorChain$1.modify(InterceptorChain.java:143)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.journal.JournalInterceptor.modify(JournalInterceptor.java:217)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.trigger.TriggerInterceptor.modify(TriggerInterceptor.java:347)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.event.EventInterceptor.modify(EventInterceptor.java:195)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.collective.CollectiveAttributeInterceptor.modify(CollectiveAttributeInterceptor.java:360)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.subtree.SubentryInterceptor.modify(SubentryInterceptor.java:1104)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.schema.SchemaInterceptor.modify(SchemaInterceptor.java:1551)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.operational.OperationalAttributeInterceptor.modify(OperationalAttributeInterceptor.java:209
)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.changelog.ChangeLogInterceptor.modify(ChangeLogInterceptor.java:225)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.exception.ExceptionInterceptor.modify(ExceptionInterceptor.java:367)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.authz.DefaultAuthorizationInterceptor.modify(DefaultAuthorizationInterceptor.java:273)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.authz.AciAuthorizationInterceptor.modify(AciAuthorizationInterceptor.java:565)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.referral.ReferralInterceptor.modify(ReferralInterceptor.java:403)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.authn.AuthenticationInterceptor.modify(AuthenticationInterceptor.java:336)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.normalization.NormalizationInterceptor.modify(NormalizationInterceptor.java:146)
at org.apache.directory.server.core.interceptor.InterceptorChain.modify(InterceptorChain.java:821)
at org.apache.directory.server.core.DefaultOperationManager.modify(DefaultOperationManager.java:691)
at org.apache.directory.server.core.DefaultCoreSession.modify(DefaultCoreSession.java:829)
at org.apache.directory.server.core.DefaultCoreSession.modify(DefaultCoreSession.java:815)
at org.apache.directory.server.ldap.handlers.ModifyHandler.handle(ModifyHandler.java:56)
at org.apache.directory.server.ldap.handlers.ModifyHandler.handle(ModifyHandler.java:39)
at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:176)
at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:56)
at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:232)
at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:194)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:721)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:433)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:801)
at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:71)
at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)
at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.runTask(UnorderedThreadPoolExecutor.java:480)
at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.run(UnorderedThreadPoolExecutor.java:434)
at java.lang.Thread.run(Thread.java:619)

> Error code 54 in modify-replace operation
> -----------------------------------------
>
>                 Key: DIRSERVER-1211
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1211
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>            Reporter: Stefan Seelmann
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.4
>
>
> This error occurs with apacheds-1.5.3-fixed.tar.gz and the current trunk-with-dependencies (Revision 680187), both with default server.xml
> I use studio to run the following LDIF:
> ---------------------------------------------
> dn: cn=Kate Bush,ou=system
> changetype: add
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> cn: Kate Bush
> sn: Bush
> dn: cn=Kate Bush,ou=system
> changetype: modify
> replace: ou
> ou: Test
> -
> ---------------------------------------------
> The second LDIF record fails with error 54. The log is here: http://www.pastebin.org/57617. 
> The error does not occur when I use 'add:ou' instead of 'replace:ou'
> The error does not occur when I use another attribute, e.g. 'decription' instead of 'ou'
> Emmanuel's idea on IM was that it is because 'ou' is indexed in the default server.xml.

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


[jira] Resolved: (DIRSERVER-1211) Error code 54 in modify-replace operation

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

Emmanuel Lecharny resolved DIRSERVER-1211.
------------------------------------------

    Resolution: Fixed

It seems to work in trunk. I have checked the test ModifyReplaceIT.testReplaceNonExistingIndexedAttribute(), it does send a 'replace ou' modify operation correctly

> Error code 54 in modify-replace operation
> -----------------------------------------
>
>                 Key: DIRSERVER-1211
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1211
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.5, 1.5.4, 1.5.3
>            Reporter: Stefan Seelmann
>            Assignee: Emmanuel Lecharny
>             Fix For: 2.0.0-RC1
>
>
> This error occurs with apacheds-1.5.3-fixed.tar.gz and the current trunk-with-dependencies (Revision 680187), both with default server.xml
> I use studio to run the following LDIF:
> ---------------------------------------------
> dn: cn=Kate Bush,ou=system
> changetype: add
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> cn: Kate Bush
> sn: Bush
> dn: cn=Kate Bush,ou=system
> changetype: modify
> replace: ou
> ou: Test
> -
> ---------------------------------------------
> The second LDIF record fails with error 54. The log is here: http://www.pastebin.org/57617. 
> The error does not occur when I use 'add:ou' instead of 'replace:ou'
> The error does not occur when I use another attribute, e.g. 'decription' instead of 'ou'
> Emmanuel's idea on IM was that it is because 'ou' is indexed in the default server.xml.

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


[jira] Issue Comment Edited: (DIRSERVER-1211) Error code 54 in modify-replace operation

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

Brad edited comment on DIRSERVER-1211 at 3/17/10 10:56 AM:
-----------------------------------------------------------

Reopened for version 1.5.5 after discussion on users mailing list. 

Our directory instance running on JBoss 5.1 logged the following stack trace:

java.lang.IllegalArgumentException: Key not found: 275
at jdbm.btree.BPage.remove(BPage.java:480)
at jdbm.btree.BPage.remove(BPage.java:492)
at jdbm.btree.BPage.remove(BPage.java:492)
at jdbm.btree.BTree.remove(BTree.java:366)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.remove(JdbmTable.java:803)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.drop(JdbmIndex.java:490)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.replace(JdbmStore.java:1602)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.modify(JdbmStore.java:1725)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.modify(JdbmPartition.java:535)
at org.apache.directory.server.core.partition.DefaultPartitionNexus.modify(DefaultPartitionNexus.java:845)
at org.apache.directory.server.core.interceptor.InterceptorChain$1.modify(InterceptorChain.java:143)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.journal.JournalInterceptor.modify(JournalInterceptor.java:217)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.trigger.TriggerInterceptor.modify(TriggerInterceptor.java:347)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.event.EventInterceptor.modify(EventInterceptor.java:195)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.collective.CollectiveAttributeInterceptor.modify(CollectiveAttributeInterceptor.java:360)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.subtree.SubentryInterceptor.modify(SubentryInterceptor.java:1104)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.schema.SchemaInterceptor.modify(SchemaInterceptor.java:1551)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.operational.OperationalAttributeInterceptor.modify(OperationalAttributeInterceptor.java:209
)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.changelog.ChangeLogInterceptor.modify(ChangeLogInterceptor.java:225)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.exception.ExceptionInterceptor.modify(ExceptionInterceptor.java:367)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.authz.DefaultAuthorizationInterceptor.modify(DefaultAuthorizationInterceptor.java:273)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.authz.AciAuthorizationInterceptor.modify(AciAuthorizationInterceptor.java:565)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.referral.ReferralInterceptor.modify(ReferralInterceptor.java:403)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.authn.AuthenticationInterceptor.modify(AuthenticationInterceptor.java:336)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.normalization.NormalizationInterceptor.modify(NormalizationInterceptor.java:146)
at org.apache.directory.server.core.interceptor.InterceptorChain.modify(InterceptorChain.java:821)
at org.apache.directory.server.core.DefaultOperationManager.modify(DefaultOperationManager.java:691)
at org.apache.directory.server.core.DefaultCoreSession.modify(DefaultCoreSession.java:829)
at org.apache.directory.server.core.DefaultCoreSession.modify(DefaultCoreSession.java:815)
at org.apache.directory.server.ldap.handlers.ModifyHandler.handle(ModifyHandler.java:56)
at org.apache.directory.server.ldap.handlers.ModifyHandler.handle(ModifyHandler.java:39)
at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:176)
at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:56)
at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:232)
at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:194)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:721)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:433)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:801)
at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:71)
at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)
at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.runTask(UnorderedThreadPoolExecutor.java:480)
at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.run(UnorderedThreadPoolExecutor.java:434)
at java.lang.Thread.run(Thread.java:619)

      was (Author: braduk1973):
    Reopened for version 1.5.5 after discussion on users mailing list. 

Our directory instance running on JBoss 5.1logged the following stack trace:

java.lang.IllegalArgumentException: Key not found: 275
at jdbm.btree.BPage.remove(BPage.java:480)
at jdbm.btree.BPage.remove(BPage.java:492)
at jdbm.btree.BPage.remove(BPage.java:492)
at jdbm.btree.BTree.remove(BTree.java:366)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.remove(JdbmTable.java:803)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.drop(JdbmIndex.java:490)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.replace(JdbmStore.java:1602)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.modify(JdbmStore.java:1725)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.modify(JdbmPartition.java:535)
at org.apache.directory.server.core.partition.DefaultPartitionNexus.modify(DefaultPartitionNexus.java:845)
at org.apache.directory.server.core.interceptor.InterceptorChain$1.modify(InterceptorChain.java:143)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.journal.JournalInterceptor.modify(JournalInterceptor.java:217)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.trigger.TriggerInterceptor.modify(TriggerInterceptor.java:347)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.event.EventInterceptor.modify(EventInterceptor.java:195)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.collective.CollectiveAttributeInterceptor.modify(CollectiveAttributeInterceptor.java:360)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.subtree.SubentryInterceptor.modify(SubentryInterceptor.java:1104)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.schema.SchemaInterceptor.modify(SchemaInterceptor.java:1551)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.operational.OperationalAttributeInterceptor.modify(OperationalAttributeInterceptor.java:209
)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.changelog.ChangeLogInterceptor.modify(ChangeLogInterceptor.java:225)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.exception.ExceptionInterceptor.modify(ExceptionInterceptor.java:367)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.authz.DefaultAuthorizationInterceptor.modify(DefaultAuthorizationInterceptor.java:273)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.authz.AciAuthorizationInterceptor.modify(AciAuthorizationInterceptor.java:565)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.referral.ReferralInterceptor.modify(ReferralInterceptor.java:403)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.authn.AuthenticationInterceptor.modify(AuthenticationInterceptor.java:336)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.normalization.NormalizationInterceptor.modify(NormalizationInterceptor.java:146)
at org.apache.directory.server.core.interceptor.InterceptorChain.modify(InterceptorChain.java:821)
at org.apache.directory.server.core.DefaultOperationManager.modify(DefaultOperationManager.java:691)
at org.apache.directory.server.core.DefaultCoreSession.modify(DefaultCoreSession.java:829)
at org.apache.directory.server.core.DefaultCoreSession.modify(DefaultCoreSession.java:815)
at org.apache.directory.server.ldap.handlers.ModifyHandler.handle(ModifyHandler.java:56)
at org.apache.directory.server.ldap.handlers.ModifyHandler.handle(ModifyHandler.java:39)
at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:176)
at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:56)
at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:232)
at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:194)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:721)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:433)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:801)
at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:71)
at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)
at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.runTask(UnorderedThreadPoolExecutor.java:480)
at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.run(UnorderedThreadPoolExecutor.java:434)
at java.lang.Thread.run(Thread.java:619)
  
> Error code 54 in modify-replace operation
> -----------------------------------------
>
>                 Key: DIRSERVER-1211
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1211
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>            Reporter: Stefan Seelmann
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.4
>
>
> This error occurs with apacheds-1.5.3-fixed.tar.gz and the current trunk-with-dependencies (Revision 680187), both with default server.xml
> I use studio to run the following LDIF:
> ---------------------------------------------
> dn: cn=Kate Bush,ou=system
> changetype: add
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> cn: Kate Bush
> sn: Bush
> dn: cn=Kate Bush,ou=system
> changetype: modify
> replace: ou
> ou: Test
> -
> ---------------------------------------------
> The second LDIF record fails with error 54. The log is here: http://www.pastebin.org/57617. 
> The error does not occur when I use 'add:ou' instead of 'replace:ou'
> The error does not occur when I use another attribute, e.g. 'decription' instead of 'ou'
> Emmanuel's idea on IM was that it is because 'ou' is indexed in the default server.xml.

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


[jira] Assigned: (DIRSERVER-1211) Error code 54 in modify-replace operation

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

Emmanuel Lecharny reassigned DIRSERVER-1211:
--------------------------------------------

    Assignee: Emmanuel Lecharny

> Error code 54 in modify-replace operation
> -----------------------------------------
>
>                 Key: DIRSERVER-1211
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1211
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>            Reporter: Stefan Seelmann
>            Assignee: Emmanuel Lecharny
>
> This error occurs with apacheds-1.5.3-fixed.tar.gz and the current trunk-with-dependencies (Revision 680187), both with default server.xml
> I use studio to run the following LDIF:
> ---------------------------------------------
> dn: cn=Kate Bush,ou=system
> changetype: add
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> cn: Kate Bush
> sn: Bush
> dn: cn=Kate Bush,ou=system
> changetype: modify
> replace: ou
> ou: Test
> -
> ---------------------------------------------
> The second LDIF record fails with error 54. The log is here: http://www.pastebin.org/57617. 
> The error does not occur when I use 'add:ou' instead of 'replace:ou'
> The error does not occur when I use another attribute, e.g. 'decription' instead of 'ou'
> Emmanuel's idea on IM was that it is because 'ou' is indexed in the default server.xml.

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