[jboss-jira] [JBoss JIRA] (WFLY-6776) Unclear error message when creating multiple thread pools of the same type for a workmanager

Lin Gao (JIRA) issues at jboss.org
Thu Jul 14 03:08:00 EDT 2016


    [ https://issues.jboss.org/browse/WFLY-6776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265451#comment-13265451 ] 

Lin Gao commented on WFLY-6776:
-------------------------------

Done in commit: https://github.com/gaol/wildfly/commit/65f36600689bd8ac2b60c4491893457fdf4e1d9f, will fire the PR once the main WildFly consumes master branch(3.0.x) of WildFly Core.

> 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



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list