Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1382

File watcher doesn't work in case of missing watched file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 7.0.1.GA
    • Fix Version/s: 7.0.2.GA
    • Component/s: Kie-Server
    • Labels:
      None
    • Environment:

      Smart router and Standalone controller

    • Target Release:
    • Fix Build:
      CR2
    • Steps to Reproduce:
      Hide

      See reproducer in PR.

      On-premise reproducer:
      Start two Smart routers which points to the empty shared folder.
      Register Kie server to the one router.
      =>
      The information isn't replicated into the second Smart router.

      Show
      See reproducer in PR. On-premise reproducer: Start two Smart routers which points to the empty shared folder. Register Kie server to the one router. => The information isn't replicated into the second Smart router.
    • Workaround Description:
      • Start the router(s)
      • Let the kie servers connect to them
      • Deploy one container
      • Restart all the routers

      Description

      The issue happens when the file watcher is enabled and the file to be watched is not yet available.
      In this case an exception is thrown (see the stacktrace in attachment) and the watcher thread is interrupted.
      The watcher should be able to continue operations even when watched file is not yet available, waiting until the watched file is created and then properly react on it.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                elguardian Enrique González Martínez
                Reporter:
                ksuta Karel Suta
                Tester:
                Karel Suta
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: