directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "roy huang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSERVER-1500) Error searching children of known element.
Date Wed, 26 May 2010 11:16:35 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12871624#action_12871624
] 

roy huang commented on DIRSERVER-1500:
--------------------------------------

No server logs for this cause I am using the default log4j config.
I can't restart the server now because another bug.
My guess is it may be some concurrent problems when deleting all elements.But no prove either.

> 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
>             Fix For: 2.0.0-RC1
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message