Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5469

UIMA-DUCC: The JP code not handling HttpHostConnectException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.1-Ducc
    • DUCC
    • None

    Description

      Error handling for HttpHostConnectionException is incomplete. When the HttpClient looses connection to the JD's Web Server, the above exception is thrown. There is an explicit
      catch() to deal with it but all it does now is just log the problem once. So what happens in this scenario is that a thread fails over and over again.

      What should happen here is that a single thread should attempt connection recovery sleeping for awhile (default=60sec) and try again. Other threads (if scaleout > 1), should block doing nothing until a thread doing the retry succeeds.

      Attachments

        Activity

          People

            cwiklik Jaroslaw Cwiklik
            cwiklik Jaroslaw Cwiklik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: