Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-4661

[GSS][6.4.z] KIE Server: system properties to configure Executor are not applied

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.4.3
    • 6.3.3.GA
    • Kie-Server
    • None
    • CR1
    • Hide

      Start KIE-server with BPM extension enabled in unmanaged mode with system properties org.kie.executor.pool.size=2, org.kie.executor.interval=1 and org.kie.executor.retry.count=2

      Expected: in the server log:
      14:43:11,147 INFO [org.jbpm.executor.impl.ExecutorImpl] (ServerService Thread Pool – 54) Starting Executor Component ...

      • Thread Pool Size: 2
      • Interval: 1 SECONDS
      • Retries per Request: 2

      Actual result: in the server log:
      14:43:11,147 INFO [org.jbpm.executor.impl.ExecutorImpl] (ServerService Thread Pool – 54) Starting Executor Component ...

      • Thread Pool Size: 1
      • Interval: 3 SECONDS
      • Retries per Request: 3
      Show
      Start KIE-server with BPM extension enabled in unmanaged mode with system properties org.kie.executor.pool.size=2, org.kie.executor.interval=1 and org.kie.executor.retry.count=2 Expected: in the server log: 14:43:11,147 INFO [org.jbpm.executor.impl.ExecutorImpl] (ServerService Thread Pool – 54) Starting Executor Component ... Thread Pool Size: 2 Interval: 1 SECONDS Retries per Request: 2 Actual result: in the server log: 14:43:11,147 INFO [org.jbpm.executor.impl.ExecutorImpl] (ServerService Thread Pool – 54) Starting Executor Component ... Thread Pool Size: 1 Interval: 3 SECONDS Retries per Request: 3

    Description

      The Executor module can be configured with system properties (org.kie.executor.interval, org.kie.executor.pool.size, org.kie.executor.retry.count, org.kie.executor.timeunit). When using KIE-server in unmanaged mode, setting these system properties has no effect, and the Executor is started with default values.

      The root cause seems to be that KieServerConfig is only populated with system properties starting with 'org.kie.server'. (org.kie.server.services.impl.storage.file.KieServerStateFileRepository.populateWithSystemProperties). System properties starting with 'org.kie.executor' are ignored.

      Attachments

        Issue Links

          Activity

            People

              swiderski.maciej Maciej Swiderski (Inactive)
              rhn-support-agiertli Anton Giertli
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: