[
https://issues.apache.org/jira/browse/IMAP-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benoit Tellier closed IMAP-377.
-------------------------------
Resolution: Fixed
Fixed by [~matthieu] long time ago
> IMAPServer dosen't stop it's HashedWheelTimer on shutdown
> ---------------------------------------------------------
>
> Key: IMAP-377
> URL: https://issues.apache.org/jira/browse/IMAP-377
> Project: James Imap
> Issue Type: Bug
> Components: Protocol
> Environment: Linux (arch) with Oracle JDK 6 and eclipse 4.3.0
> Reporter: Daniel Gryniewicz
> Assignee: Eric Charles
> Priority: Minor
> Attachments: IMAPServer-termination.patch
>
>
> protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/IMAPServer.java,
> the IMAPServer class implements createPipelineFactory(), which creates an
> anonymous ChannelPipelineFactory class that has, among other things, a
> HashedWHeelTimer in it. This timer is never stopped, causing the JVM to hang
> on shutdown.
> My solution (attached) was to create a private inner class that implements
> ExternalResourceReleasable, which causes the pipeline termination code to
> allow the factory to stop the timer.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]