Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5791

JBossMQ ReadTask in UIL2 could block until socket timeout

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: JBossAS-4.2.3.GA
    • Fix Version/s: None
    • Component/s: JMS (JBossMQ)
    • Labels:
      None

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  adrian.brock Adrian Brock
                  Reporter:
                  tkimura Takayoshi Kimura
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: