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

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • JBossAS-4.2.3.GA
    • JMS (JBossMQ)
    • 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.

      Attachments

        Issue Links

          Activity

            People

              adrian.brock Adrian Brock (Inactive)
              rhn-support-tkimura Takayoshi Kimura
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: