[jboss-jira] [JBoss JIRA] Updated: (JBAS-5791) JBossMQ ReadTask in UIL2 could block until socket timeout
Takayoshi Kimura (JIRA)
jira-events at lists.jboss.org
Tue Jul 22 12:42:16 EDT 2008
[ https://jira.jboss.org/jira/browse/JBAS-5791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Takayoshi Kimura updated JBAS-5791:
-----------------------------------
Description:
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.
was:
This is similar to JBPAPP-685, 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.
> 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