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

Space creation through business-central REST API fails after applying RHPAM-3600 related config settings

    XMLWordPrintable

Details

    • Bug
    • Status: Verified (View Workflow)
    • Major
    • Resolution: Done
    • 7.10.1.GA
    • 7.11.1.GA
    • Business Central
      • RHPAM 7.10.1
      • RHPAM-3600 related one-off patch applied
      • EAP 7.3.2
      • OpenJDK 1.8.0_292-b10
    • CR1
    • Documentation (Ref Guide, User Guide, etc.)
    • 2021 Week 25-27 (from Jun 21)
    • ?

    Description

      Using RHPAM 7.10.1 + RHPAM-3600 related one-off patch binaries with the following configuration (on a machine with 8 cores):

              <property name="org.appformer.concurrent.managed.thread.limit" value="9"/>
              <property name="org.appformer.concurrent.unmanaged.thread.limit" value="9"/>
              <property name="org.appformer.concurrent.indexing.thread.limit" value="9"/>
              <property name="org.appformer.concurrent.fs.watch.thread.limit" value="9"/>
      

      we are having issues with the following REST call:

      curl -u xxxx:xxxx -X POST http://localhost:8080/business-central/rest/spaces -H 'Content-Type: application/json' -d '{"name":"test01","owner":"bpmsAdmin","description":"test01"}' -k -v
      

      The resulting job stays in "ACCEPTED" status but no space is created:

      2021-06-02 18:32:41,858 DEBUG [org.guvnor.rest.backend.ProjectResource] (default task-288) -----createSpace--- , Space name: test01, Space owner: bpmsAdmin, Default group id : null
      2021-06-02 18:32:41,858 DEBUG [org.guvnor.rest.backend.ProjectResource] (default task-288) -----createSpace--- , Space name: test01, Space owner: bpmsAdmin, Default group id : null
      2021-06-02 18:32:41,858 DEBUG [org.guvnor.rest.backend.JobRequestScheduler] (default task-288) Scheduling job request with id: 1622658761858-8 and command class: org.guvnor.rest.backend.cmd.CreateSpaceCmd
      2021-06-02 18:32:41,858 DEBUG [org.guvnor.rest.backend.JobRequestScheduler] (default task-288) Scheduling job request with id: 1622658761858-8 and command class: org.guvnor.rest.backend.cmd.CreateSpaceCmd
      

      Additional observations:

      • Increasing the value forĀ org.appformer.concurrent.unmanaged.thread.limit did not help
      • REST API call was successfully executed with org.appformer.concurrent.unmanaged.thread.limit set to 0

      Attachments

        Issue Links

          Activity

            People

              aparedes@redhat.com Adriel Paredes
              rhn-support-mputz Martin Weiler
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: