[jboss-jira] [JBoss JIRA] Closed: (JBAS-5791) JBossMQ ReadTask in UIL2 could block until socket timeout

Adrian Brock (JIRA) jira-events at lists.jboss.org
Wed Jul 23 11:18:19 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBAS-5791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Brock closed JBAS-5791.
------------------------------

    Resolution: Duplicate Issue


This is a duplicate of JBAS-4555 fixed in 4.2.2

> JBossMQ ReadTask in UIL2 could block until socket timeout
> ---------------------------------------------------------
>
>                 Key: JBAS-5791
>                 URL: https://jira.jboss.org/jira/browse/JBAS-5791
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JMS (JBossMQ)
>    Affects Versions: JBossAS-4.2.3.GA
>            Reporter: Takayoshi Kimura
>            Assignee: Adrian Brock
>
> This is similar to JBAS-4525, but in ReadTask. The in.readByte() call in ReadTask won't be interrupted when the thread is interrupted. When this happened the connection.close() call in client won't return until socket timeout, 2 min by default.
> Since it's blocking socket, we can't use short timeout approach applied for WriteTask.
> The only way to interrupt ReadTask is to call Socket.close() or close() on InputStream underlying socket.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list