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

Emmanuel Lécharny commented on DIRSERVER-2339:
----------------------------------------------

Both requests were valid. The Siebel connection was valid and got back a 
success :

 
{noformat}

[06:40:01] DEBUG [org.apache.mina.core.filterchain.IoFilterEvent] - Event 
MESSAGE_RECEIVED has been fired for session 16
[06:40:01] DEBUG 
[org.apache.directory.server.ldap.handlers.LdapResponseHandler] - Message Sent 
: MessageType : BIND_RESPONSE
Message ID : 1
 BindResponse
 Ldap Result
 Result code : (SUCCESS) success
 Matched Dn : 'null'
 Diagnostic message : 'null'
 {noformat}

immediately followed by a UNBIND request.

Regarding the long search, yes, setting indexes should help. How many entries 
do you have in your server ?

> Slow searches, is indexing a solution here?
> -------------------------------------------
>
>                 Key: DIRSERVER-2339
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2339
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: Mayank
>            Priority: Major
>         Attachments: java_stacktrace_working.txt, siebel_stacktrace_not 
> working.txt
>
>
> Hello Emmanuel,
> Am on apacheds-2.0.0.AM26 version.
> The searches are taking as much as 15-20 odd seconds or more if multiple 
> users are trying to access. I increased JVM memory, but that dont solve the 
> problem. Can creating an index solve the problem? Could you provide a good 
> article on how can I create index for custom attribute.
>  
> I tried creating an index through Directory Studio by adding the attribute on 
> the partition, but after that the search has started giving 0 results. If I 
> delete the index that I created, the search starts working. May be am not 
> creating the index the right way. Could you please help suggest how this 
> problem can be solved?
>  
> Search -
> DN - cn=mayabans,dc=ks-siebel,dc=com
> Filter - (|(cn=mayabans)(objectClass=referral))
>  
> Thanks and regards,
> Mayank



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to