You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2009/06/07 09:56:08 UTC
[jira] Closed: (DIRMINA-597) AbstractIoAcceptor.toString() blocks
when invoked from IoServiceListener.serviceActivated()
[ https://issues.apache.org/jira/browse/DIRMINA-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny closed DIRMINA-597.
-------------------------------------
> AbstractIoAcceptor.toString() blocks when invoked from IoServiceListener.serviceActivated()
> -------------------------------------------------------------------------------------------
>
> Key: DIRMINA-597
> URL: https://issues.apache.org/jira/browse/DIRMINA-597
> Project: MINA
> Issue Type: Bug
> Components: Core, Transport
> Affects Versions: 2.0.0-M1
> Environment: MINA-2.0.0-RC1, tested on both JDK 1.5 and JDK 1.6
> Reporter: Barend Garvelink
> Fix For: 2.0.0-M4
>
> Attachments: ServiceActivatedBlocksDatagramAcceptorToString.java
>
>
> When NioDatagramAcceptor.toString() is invoked from the serviceActivated() method of IoServiceListener, the system locks up. The [NioDatagramAcceptor-1] thread ends up waiting for a lock held by [main] which is waiting for [NioDatagramAcceptor-1] to finish activating the service.
> I will attach a JUnit test case that demonstrates the problem. I'm not yet comfortable enough around MINA's innards to submit a patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.