directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Louis-Gabriel Thibault (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSERVER-2169) Crash when starting apacheds with replConsumer enabled
Date Wed, 19 Oct 2016 18:38:59 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15589486#comment-15589486
] 

Louis-Gabriel Thibault commented on DIRSERVER-2169:
---------------------------------------------------

Also repro-able if you start apacheds and quickly load a ldif file (while apacheds/wrapper
"repairs"). Tested under ubuntu-12.04.5.

> Crash when starting apacheds with replConsumer enabled
> ------------------------------------------------------
>
>                 Key: DIRSERVER-2169
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2169
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>    Affects Versions: 2.0.0-M22
>            Reporter: Louis-Gabriel Thibault
>
> Tested against 2.0.0-M23
> This is due to a racing condition between the replConsumer thread and a repair attempt
made by default when starting the service using /opt/apacheds.../apacheds command.
> INFO   | jvm 1    | 2016/10/14 10:38:09 | Repairing partition dir /var/lib/apacheds-2.0.0-M23/default/partitions
> INFO   | jvm 1    | 2016/10/14 10:38:11 | java.lang.IllegalStateException: ERR_538 RecordManager
has been closed
> INFO   | jvm 1    | 2016/10/14 10:38:11 |       at jdbm.recman.CacheRecordManager.checkIfClosed(CacheRecordManager.java:399)
> Indeed RecordManager.close() method gets called starting from repair() method in org/apache/directory/server/wrapper/ApacheDsTanukiWrapper.java
> As a workaround, I remove set.APACHEDS_COMMAND=\"repair\" from /opt/apacheds-2.0.0-M23/bin/apacheds
line 401. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message