[
https://issues.apache.org/jira/browse/DIRSERVER-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lecharny resolved DIRSERVER-2190.
------------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0-M24
Thanks a lot for the patch.
It has been applied in http://svn.apache.org/viewvc?rev=1792186&view=rev and
http://svn.apache.org/viewvc?rev=1792184&view=rev
> there is thread leak when did following operations:
> ADD,DELETE,MODIFY,MOVE,RENAME
> ---------------------------------------------------------------------------------
>
> Key: DIRSERVER-2190
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2190
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 2.0.0-M20, 2.0.0-M21, 2.0.0-M22, 2.0.0-M23
> Environment: windows 7 ,linux.
> Reporter: paul qing
> Fix For: 2.0.0-M24
>
>
> the org.apache.directory.server.core.event.EventInterceptor class didn't
> override the destory method. and the thread pool didn't call shutdown
> method.i think it should call thread pool's shutdown method in the
> inteceptor's destory method and it should call destory inteceptor in the
> org.apache.directory.server.core.DefaultDirectoryService's shutdown method.
> such as:
> public synchronized void shutdown() throws Exception
> {**********
> **************
> this.destoryInteceptors();
> }
> private void destoryInteceptors() {
> for (Interceptor interceptor : interceptors) {
> interceptor.destroy();
> }
> }
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)