[jboss-jira] [JBoss JIRA] (AS7-3574) Creating a work manager leads to invalid server configuration

Jan Martiska (JIRA) jira-events at lists.jboss.org
Thu Feb 2 06:14:48 EST 2012


Jan Martiska created AS7-3574:
---------------------------------

             Summary: Creating a work manager leads to invalid server configuration
                 Key: AS7-3574
                 URL: https://issues.jboss.org/browse/AS7-3574
             Project: Application Server 7
          Issue Type: Bug
          Components: Console
    Affects Versions: 7.1.0.CR1b
            Reporter: Jan Martiska
            Assignee: Heiko Braun
             Fix For: 7.1.1.Final


Creating a JCA workmanager in admin console does not work properly. The attributes "queue-length" and "max-threads" expect type INT, but admin console passes something which causes that configuration xml will look this way:

<workmanager name="asd">
                <short-running-threads allow-core-timeout="false">
                    <queue-length count="{&quot;count&quot; => 10,&quot;per-cpu&quot; => 20}"/>
                    <max-threads count="{&quot;count&quot; => 10,&quot;per-cpu&quot; => 20}"/>
                </short-running-threads>
            </workmanager>

It will cause the server will be unable to boot up because XML parsing will fail.

These attributes should also be configurable, all these values seem to be hardcoded and impossible to change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list