Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-4990

Unclear error message when creating multiple thread pools of the same type for a workmanager

    XMLWordPrintable

Details

    Description

      When there is already a long-running thread pool for a work manager and you try to create another one:
      /subsystem=jca/workmanager=default/long-running-threads=custom:add(max-threads=30, queue-length=30)
      you only get an opaque error message:
      "failure-description" => "WFLYCTL0086: Failed to persist configuration change: WFLYCTL0084: Failed to marshal configuration", with a, also useless, java.lang.IllegalArgumentException in the server log.
      It should be more obvious that the error is that you cannot create two long-running thread pools

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-lgao Lin Gao
              jmartisk@redhat.com Jan Martiska
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Remaining Estimate - 2 days
                  2d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified