directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@gmx.de>
Subject Re: [ApacheDS embedded] Deadlock accessing schema
Date Tue, 21 Apr 2009 06:57:30 GMT
Hi Stefan,

Stefan Seelmann wrote at Montag, 20. April 2009 22:13:

> Hi Jörg,
> 
> Jörg Schaible schrieb:
>> Guys,
>> 
>> we're using an embedded ApacheDS in our app, but we face a deadlock
>> accessing the schema (well, 4 out of 5 times).
>> 
>> ...
>> 
>> If the last daemon thread does not terminate, the server is in deadlock
>> mode. Can anybody say what causes it or if there's a configuration
>> parameter that helps to avoid the situation? The maxTimeLimit of the
>> LdapService is 10s by default, but it does not seem to have any
>> influence.
>> 
> 
> Which version of ApacheDS are you using?

[INFO]     org.apache.directory.server:apacheds-server-jndi:jar:1.5.4
[INFO]     :   org.apache.directory.server:apacheds-protocol-ldap:jar:1.5.4
[INFO]     :   :   org.apache.mina:mina-filter-ssl:jar:1.1.6
[INFO]     :   :  
org.apache.directory.server:apacheds-bootstrap-partition:jar:1.5.4
[INFO]     :   :  
org.apache.directory.server:apacheds-kerberos-shared:jar:1.5.4
[INFO]     :   :   org.apache.directory.shared:shared-asn1-codec:jar:0.9.12
[INFO]     :   org.apache.directory.server:apacheds-core-jndi:jar:1.5.4
[INFO]     org.apache.directory.server:apacheds-protocol-shared:jar:1.5.4
[INFO]     :   org.slf4j:slf4j-api:jar:1.5.0
[INFO]     :   org.apache.mina:mina-core:jar:1.1.6
[INFO]     :   org.apache.directory.server:apacheds-core:jar:1.5.4
[INFO]     :   :  
org.apache.directory.server:apacheds-schema-bootstrap:jar:1.5.4
[INFO]     :   :   :   org.apache.directory.server:apacheds-jdbm:jar:1.5.4
[INFO]     :   :  
org.apache.directory.server:apacheds-schema-registries:jar:1.5.4
[INFO]     :   :  
org.apache.directory.server:apacheds-xdbm-search:jar:1.5.4
[INFO]     :   :   :   org.apache.commons:commons-io:jar:1.3.2
[INFO]     :   :   :  
org.apache.directory.server:apacheds-schema-extras:jar:1.5.4
[INFO]     :   :  
org.apache.directory.shared:shared-bouncycastle-reduced:jar:0.9.12
[INFO]     :   :  
org.apache.directory.server:apacheds-core-shared:jar:1.5.4
[INFO]     :   :   org.apache.directory.server:apacheds-utils:jar:1.5.4
[INFO]     :   :   org.apache.directory.server:apacheds-xdbm-tools:jar:1.5.4
[INFO]     :   :   org.apache.directory.server:apacheds-core-entry:jar:1.5.4
[INFO]     :   :  
org.apache.directory.server:apacheds-core-constants:jar:1.5.4
[INFO]     :   :   org.apache.directory.server:apacheds-jdbm-store:jar:1.5.4
[INFO]     :   :   :  
org.apache.directory.server:apacheds-core-avl:jar:1.5.4
[INFO]     :   :  
org.apache.directory.server:apacheds-bootstrap-extract:jar:1.5.4
[INFO]     :   :   org.apache.directory.server:apacheds-xdbm-base:jar:1.5.4
[INFO]     :   :      
org.apache.directory.server:apacheds-core-cursor:jar:1.5.4
[INFO]     :   org.apache.directory.shared:shared-ldap:jar:0.9.12
[INFO]     :       org.apache.directory.shared:shared-asn1:jar:0.9.12
[INFO]     :      
org.apache.directory.shared:shared-ldap-constants:jar:0.9.12
[INFO]     :       antlr:antlr:jar:2.7.7

> After 1.5.4 we switched to 
> MINA2 and afaik there were many changes in socket and thread handling.
> Are you able to test the current trunk of ApacheDS (which should be
> released as 1.5.5 in a few days)?

I'll try to check it out and build it. We'll see ...

- Jörg


Mime
View raw message