You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Barend Garvelink (JIRA)" <ji...@apache.org> on 2008/05/31 11:45:45 UTC

[jira] Updated: (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 ]

Barend Garvelink updated DIRMINA-597:
-------------------------------------

    Attachment: ServiceActivatedBlocksDatagramAcceptorToString.java

A JUnit-4 test case demonstrating the problem.

> 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
>         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.