directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <>
Subject [jira] Commented: (DIRSERVER-586) Reliable hang of DS during query
Date Thu, 31 Aug 2006 09:50:24 GMT
    [ ] 
Trustin Lee commented on DIRSERVER-586:

I loaded the attached bugreport project in my eclipse workbench and ran the tests including    The tests don't hang but they prints out some errors:

INFO  2006-08-31 18:49:56,533 [ldap.Mapping; main]: LDAP mapping initialized
DEBUG 2006-08-31 18:49:56,536 [ldap.Mapping; main]: load(): type=class com.levigo.tcat.common.model.OrganizationalUnit,, dn=ou=appgroups
DEBUG 2006-08-31 18:49:56,537 [ldap.TypeMapping; main]: loading object of class com.levigo.tcat.common.model.OrganizationalUnit
for dn=ou=appgroups
DEBUG 2006-08-31 18:49:56,537 [ldap.Mapping; main]: create(): create=class com.levigo.tcat.common.model.OrganizationalUnit
DEBUG 2006-08-31 18:49:56,538 [ldap.Mapping; main]: save(): object=com.levigo.tcat.common.model.OrganizationalUnit@811c88,, baseDN=
DEBUG 2006-08-31 18:49:56,538 [ldap.AttributeMapping; main]: dehydrating object of type class
DEBUG 2006-08-31 18:49:56,539 [ldap.AttributeMapping; main]: dehydrating object of type class
DEBUG 2006-08-31 18:49:56,543 [ldap.Mapping; main]: list(): type=class com.levigo.tcat.common.model.Client,
ctx=null, filter=null, searchBase=null
DEBUG 2006-08-31 18:49:56,546 [ldap.TypeMapping; main]: listing objects of class com.levigo.tcat.common.model.Client
for base=ou=clients, filter=null Can't save object
	at LDAPDirectoryTest.getDirectory(
	at LDAPDirectoryTest.setUp(
	at junit.framework.TestCase.runBare(
	at junit.framework.TestResult$1.protect(
	at junit.framework.TestResult.runProtected(
	at junit.framework.TestSuite.runTest(
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
Caused by: Can't marshal instance of
class com.levigo.tcat.common.model.OrganizationalUnit
	... 18 more
Caused by: javax.naming.OperationNotSupportedException: [LDAP: error code 53 - no global superior
knowledge]; remaining name 'ou=appgroups'
	at com.sun.jndi.ldap.LdapCtx.mapErrorCode(
	at com.sun.jndi.ldap.LdapCtx.processReturnCode(
	at com.sun.jndi.ldap.LdapCtx.processReturnCode(
	at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(
	at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(
	at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(
	... 19 more

Any clue?

> Reliable hang of DS during query
> --------------------------------
>                 Key: DIRSERVER-586
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>         Environment: DS 0.9.3, Windows, JDK 1.5
>            Reporter: Jörg Henne
>         Assigned To: Emmanuel Lecharny
>         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