| Jörg Henne (JIRA) 2006-10-14, 1:11 am |
| [ http://issues.apache.org/jira/brows...=3Dcomments#ac=
tion_12442220 ]=20
=20
J=C3=B6rg Henne commented on DIRSERVER-586:
--------------------------------------
[[ Old comment, sent by email on Mon, 11 Sep 2006 12:26:05 +0200 ]]
Trustin,
Unfortunately, the first test was way too complicated, because I=20
extracted it from my application code instead of trying to just cause=20
the hang. The attached TestHang.java causes the same hang with a lot=20
less code.
I'll look into 1.0-SNAPSHOT asap.
Joerg Henne
> Reliable hang of DS during query
> --------------------------------
>
> Key: DIRSERVER-586
> URL: http://issues.apache.org/jira/browse/DIRSERVER-586
> Project: Directory ApacheDS
> Issue Type: Bug
> Environment: DS 0.9.3, Windows, JDK 1.5
> Reporter: J=C3=B6rg Henne
> Assigned To: Emmanuel Lecharny
> Attachments: bugreport.zip, TestHang.java
>
>
> When running the attached test, the directory server hangs after executin=
g 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, u=
nfortunately, 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 complexi=
ty (I'll, hopefully, one day be able to open-source it - for now it is stil=
l much to immature). I have supplied all that stuff mainly for your referen=
ce.
> To run the test case, please make sure that the constant "URL" in LDAPDir=
ectoryTest 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 o=
ccur 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 se=
t of contexts).
> If you have any problems running the test, please don't hesitate to conta=
ct me.
--=20
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: htt=
p://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|