Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-5263

Scanner status not retained between server restarts

XMLWordPrintable

    • NEW
    • NEW

      KIE server is running in un-managed mode.We can add scanner using the below REST api:
      http://localhost:8080/kie-server/services/rest/server/containers/containerID}scanner
      ~~~
      <kie-scanner status="STARTED" poll-interval="20"/>
      ~~~
      Scanner is working fine, but if we restart server instance scanner information is not retained.
      Request:
      ~~~
      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <script>
      <get-scanner-info container-id="TestContainer"/>
      </script>
      ~~~~
      Response:
      ~~~~
      <responses>
      <response type="SUCCESS" msg="Scanner info successfully retrieved">
      <kie-scanner status="DISPOSED"/>
      </response>
      </responses>
      ~~~~~

      The root cause is that the scanner information is not stored on via the KIE Server store. So after restart, the scanner is defaulted to STOPPED state.

              psiroky_jira Petr Široký (Inactive)
              psiroky_jira Petr Široký (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: