Uploaded image for project: 'Commons JCS'
  1. Commons JCS
  2. JCS-91

JCS fails to properly dispose of the lateral TCP listener thread. If a webapp that uses JCS lateral TCP cache is undeployed, the listener is left hanging with no hope for exit.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • jcs-1.3
    • jcs-2.0-beta-1
    • TCP Lateral Cache
    • None

    Description

      The problem seems to stem from two things: improper handling of accept() such that it doesn't block indefinitely (and thus can't be interrupted and broken out of), and failure by the nowait facade to pass on dispose() events to the local TCP listener.

      I'll attach a patch to fix the former, although I feel that if 1.4 will use nio instead of regular IO, this will be moot. However, the latter (failure of the nowait facade to pass on disposal events) will probably still be an issue.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tv Thomas Vandahl
            diego.rivera.cr@gmail.com Diego Rivera
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment