]
Lin Gao moved JBEAP-5124 to WFLY-6776:
--------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-6776 (was: JBEAP-5124)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: JCA
(was: JCA)
(was: User Experience)
Target Release: (was: 7.1.0.GA)
Affects Version/s: 10.0.0.Final
(was: 7.0.0.GA)
Unclear error message when creating multiple thread pools of the same
type for a workmanager
--------------------------------------------------------------------------------------------
Key: WFLY-6776
URL:
https://issues.jboss.org/browse/WFLY-6776
Project: WildFly
Issue Type: Bug
Components: JCA
Affects Versions: 10.0.0.Final
Reporter: Lin Gao
Assignee: Lin Gao
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