Issue Details (XML | Word | Printable)

Key: DIRSERVER-586
Type: Bug Bug
Status: Closed Closed
Resolution: Invalid
Priority: Major Major
Assignee: Emmanuel Lecharny
Reporter: Jörg Henne
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

Reliable hang of DS during query

Created: 23/Feb/06 02:11 AM   Updated: 09/Sep/08 07:26 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Zip Archive bugreport.zip 2006-02-23 02:12 AM Jörg Henne 2.18 MB
Java Source File Licensed for inclusion in ASF works TestHang.java 2006-06-30 06:28 AM Jörg Henne 5 kB
Environment: DS 0.9.3, Windows, JDK 1.5

Resolution Date: 12/Oct/06 02:10 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jörg Henne made changes - 23/Feb/06 02:12 AM
Field Original Value New Value
Attachment bugreport.zip [ 12323276 ]
Alex Karasulu made changes - 23/Feb/06 02:18 AM
Project Directory [ 10400 ] Directory ApacheDS [ 12310260 ]
Key DIR-178 DIRSERVER-586
Jörg Henne made changes - 30/Jun/06 06:28 AM
Attachment TestHang.java [ 12336179 ]
Alex Karasulu made changes - 03/Aug/06 02:15 PM
Assignee Alex Karasulu [ akarasulu ] Emmanuel Lecharny [ elecharny ]
Emmanuel Lecharny made changes - 12/Oct/06 02:10 PM
Resolution Invalid [ 6 ]
Status Open [ 1 ] Resolved [ 5 ]
Emmanuel Lecharny made changes - 09/Sep/08 07:26 AM
Status Resolved [ 5 ] Closed [ 6 ]