directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] Commented: (DIRSERVER-1012) TimeLimitExceededException with the embedded ADS
Date Fri, 16 Nov 2007 14:33:43 GMT


Emmanuel Lecharny commented on DIRSERVER-1012:

Hmmmm... I _may_ have a clue about what is going on. It may be a combinaison of two things
- a misleading error message (timeout exception)
- a badly handled search on DistinguishedName values (like GroupOfNames)

We have fixed some issues in the way such DistinguishedNames were parsed and searched, which
may have fixed such searches. It _may_ be related to,
for which I had to fix some bugs in DN searches.

The current trunk should be tested in order to check if the current issue is gone or not.

I will give it a try next week (sadly enough, I'm badly overwhelmed by many tasks atm ...)

> TimeLimitExceededException with the embedded ADS
> ------------------------------------------------
>                 Key: DIRSERVER-1012
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>         Environment: Win XP SP2 / J2RE 1.5.0 / eclipse 3.2.0 / ADS 1.5.0
>            Reporter: hirot
>             Fix For: 1.5.2
>         Attachments: trace-log-0(Includes Timout Failure).txt
> I'm using embedded Apache Directory Server for the unit testing with JUnit in eclipse.

> The environment is :
>      - Win XP SP2
>      - J2RE 1.5.0
>      - eclipse 3.2.0
>      - ADS 1.5.0
> Only when a search takes over around 1 second, javax.naming.TimeLimitExceededException
is thrown as cited in the following :
> javax.naming.TimeLimitExceededException: [LDAP: error code 3 - failed on search operation];
remaining name 'o=hq,dc=myco,dc=com' at
> When a same search takes less than 1 second, it successfully returns results.
> I'm sure to set 30000 ms to the client side timeout using
ms), so the exception is caused by the server side timeout, I suppose.
> Is the server side timeout of ADS 1 second ?
> Is there any measure to lengthen  the timeout ?
> (I tried MutableServerStartupConfiguration.setMaxTimeLimit(int arg0). But I am not sure
whether a parameter specifies ms or second, and it doesn't seem to work well in the embedded
ADS at least because a search successfully returns results when I set 0 or 1 to "MaxTimeLimit".)

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

View raw message