|
Home > Archive > Apache Directory Project > February 2006 > [jira] Created: (DIR-178) Reliable hang of DS during query
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
[jira] Created: (DIR-178) Reliable hang of DS during query
|
|
| Jörg Henne (JIRA) 2006-02-22, 5:45 pm |
| Reliable hang of DS during query
--------------------------------
Key: DIR-178
URL: http://issues.apache.org/jira/browse/DIR-178
Project: Directory
Type: Bug
Environment: DS 0.9.3, Windows, JDK 1.5
Reporter: J=C3=B6rg Henne
Assigned to: Alex Karasulu=20
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, unf=
ortunately, based on quite a few classes. They are part of a project I am c=
urrently working on: an object to ldap mapper with a similar approach as ca=
stor 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 LDAPDirec=
toryTest points to a valid directory. The URL the context points to must ex=
ist. 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 occ=
ur once the whole test is run via a single context only. To achieve this, s=
et 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.
--=20
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
| |
| Jörg Henne 2006-02-25, 5:45 pm |
| Hi,
Jörg Henne (JIRA) schrieb:
> Reliable hang of DS during query
> --------------------------------
>
> Key: DIR-178
> URL: http://issues.apache.org/jira/browse/DIR-178
> Project: Directory
> Type: Bug
> Environment: DS 0.9.3, Windows, JDK 1.5
> Reporter: Jörg Henne
> Assigned to: Alex Karasulu
>
>
I am posting here, since Jira got very funny on me - didn't let me post
comments and messed up the page layout...
Some more testing with other situations indicates that the problem may
simply be a limit on the number of connections DS handles. Eagerly
closing all Contexts and NamingEnumerations keeps the problems at bay.
Is there such a limit in place? If yes, how can it be reconfigured?
Joerg Henne
|
|
|
|
|