directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Henne (JIRA) <>
Subject [jira] Commented: (DIRSERVER-586) Reliable hang of DS during query
Date Wed, 26 Apr 2006 10:35:04 GMT
    [ ] 

Jörg Henne commented on DIRSERVER-586:

Stefan, Emmanuel,

thanks for looking into this problem. I can still reproduce problems LIKE the one reported
with the current trunk. However, the problem I reported was triggered by the DS problem in
conjunction with a problem in my code which caused a large number of connections to be used
simultaneously. This latter problem has been fixed since.

As mentioned, I can still reproduce similar problems with a current version, but to save you
the hassle of wading through my code - sorry for that -, I'll try to boil everything down
to a simple test-case which demonstrates the problem with a pristine DS setup. Please bear
with me for a few more days.

Joerg Henne

> Reliable hang of DS during query
> --------------------------------
>          Key: DIRSERVER-586
>          URL:
>      Project: Directory ApacheDS
>         Type: Bug

>  Environment: DS 0.9.3, Windows, JDK 1.5
>     Reporter: Jörg Henne
>     Assignee: Alex Karasulu
>  Attachments:
> When running the attached test, the directory server hangs after executing a slew of
operations when searching for objects.
> First of all, some background on the test case:
> The attached test case (in the form of an exported eclipse project) is, unfortunately,
based on quite a few classes. They are part of a project I am currently working on: an object
to ldap mapper with a similar approach as castor for XML or hibernate for RDBMS, albeit a
lot more modest in complexity (I'll, hopefully, one day be able to open-source it - for now
it is still much to immature). I have supplied all that stuff mainly for your reference.
> To run the test case, please make sure that the constant "URL" in LDAPDirectoryTest points
to a valid directory. The URL the context points to must exist. It will, however, subsequently
create lots of nodes below it.
> The hang seems to be related to some kind of deadlock, since it doesn't occur once the
whole test is run via a single context only. To achieve this, set the constant "ONE_CONTEXT"
to true (each LDAPDirectory uses its own set of contexts).
> If you have any problems running the test, please don't hesitate to contact me.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message