Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 44CF78156 for ; Fri, 26 Aug 2011 16:27:42 +0000 (UTC) Received: (qmail 66660 invoked by uid 500); 26 Aug 2011 16:27:40 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 66600 invoked by uid 500); 26 Aug 2011 16:27:40 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 66504 invoked by uid 99); 26 Aug 2011 16:27:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2011 16:27:39 +0000 X-ASF-Spam-Status: No, hits=-2000.9 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2011 16:27:36 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E90D0D1B24 for ; Fri, 26 Aug 2011 16:26:33 +0000 (UTC) Date: Fri, 26 Aug 2011 16:26:33 +0000 (UTC) From: "Pierre-Arnaud Marcelot (JIRA)" To: dev@directory.apache.org Message-ID: <781744592.17989.1314375993951.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DIRSERVER-1500) Error searching children of known element. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre-Arnaud Marcelot updated DIRSERVER-1500: ---------------------------------------------- Fix Version/s: (was: 2.0.0-M2) 2.0.0-M3 > Error searching children of known element. > ------------------------------------------ > > Key: DIRSERVER-1500 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1500 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 1.5.6, 1.5.5 > Reporter: roy huang > Assignee: Stefan Seelmann > Fix For: 2.0.0-M3 > > Attachments: bad.ldif > > > My goal is to delete all the element per day,but occasionally it will failed for non specified element. The code will search all children elements of a node and delete it all,but may failed on this: > NamingEnumeration ne = dirCtx.search(new LdapName(name), "objectClass=*", constraints); > and then it throw exception. > This problem occurred twice on 1.5.6 and 1.5.5,it affected single element,and this element can't be deleted on Apache Directory Studio too.The exception like: > Error while reading entry > - [LDAP: error code 80 - OTHER: failed for SearchReques > javax.naming.NamingException: [LDAP: error code 80 - OTHER: failed for SearchRequest > baseDn : 'ou=WLAN,ou=resource,dc=gd,dc=test,dc=com' > filter : '(2.5.4.0=*:[121664])' > scope : single level > typesOnly : false > Size Limit : 2000 > Time Limit : no limit > Deref Aliases : deref Always > attributes : 'hassubordinates', 'objectclass' > : null]; remaining name 'ou=WLAN,ou=resource,dc=gd,dc=test,dc=com' > at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source) > at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source) > at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source) > at com.sun.jndi.ldap.LdapCtx.searchAux(Unknown Source) > at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source) > at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(Unknown Source) > at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source) > at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper$1.run(JNDIConnectionWrapper.java:356) > at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.runAndMonitor(JNDIConnectionWrapper.java:1272) > at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.checkConnectionAndRunAndMonitor(JNDIConnectionWrapper.java:1203) > at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.search(JNDIConnectionWrapper.java:398) > at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.search(SearchRunnable.java:500) > at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:320) > at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.executeSearch(InitializeChildrenRunnable.java:361) > at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.initializeChildren(InitializeChildrenRunnable.java:212) > at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.run(InitializeChildrenRunnable.java:171) > at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:113) > at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) > [LDAP: error code 80 - OTHER: failed for SearchRequest > baseDn : 'ou=WLAN,ou=resource,dc=gd,dc=test,dc=com' > filter : '(2.5.4.0=*:[121664])' > scope : single level > typesOnly : false > Size Limit : 2000 > Time Limit : no limit > Deref Aliases : deref Always > attributes : 'hassubordinates', 'objectclass' > : null] > I upgraded 1.5.5 to 1.5.6 to avoid this bug ,but found it happened again finally. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira