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

Service hangs if deployed before broker is ready

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.2
    • 2.3AS
    • Async Scaleout
    • None

    Description

      When both a service and its broker are restarted together (e.g. after a reboot) the service will fail to initialize if the broker is not ready. The service claims it is shutting down, e.g. with 3 lines such as:
      >>>> Terminating Controller:StoryBoundary Unable To Initialize Listener Due to Invalid Broker URL:tcp://telly.watson.ibm.com:61616
      but it then hangs.

      The service should wait for the broker, and log to the console when it has successfully connected. Could also log a "still trying" indication every minute or so. Would be nice to suppress these spring error msgs: org.springframework.jms.listener.AbstractJmsListeningContainer$SharedConnectionNotInitializedException

      Attachments

        Activity

          People

            Unassigned Unassigned
            burn Burn L. Lewis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: