[jboss-jira] [JBoss JIRA] (WFLY-5672) The infinispan parser seems to implicitly add thread-pools

James Perkins (JIRA) issues at jboss.org
Thu Nov 12 17:18:00 EST 2015


James Perkins created WFLY-5672:
-----------------------------------

             Summary: The infinispan parser seems to implicitly add thread-pools
                 Key: WFLY-5672
                 URL: https://issues.jboss.org/browse/WFLY-5672
             Project: WildFly
          Issue Type: Bug
          Components: Clustering
            Reporter: James Perkins
            Assignee: Paul Ferraro


It looks like in the [infinispan subsystem parser|https://github.com/wildfly/wildfly/blob/master/clustering/infinispan/extension/src/main/java/org/jboss/as/clustering/infinispan/subsystem/InfinispanSubsystemXMLReader.java#L173-L178] some thread pools are explicitly added. This means these resources are not added if adding the subsystem via the {{add}} operation. These resources should be added like any other child resource of the subsystem.

If the resources can't be added like that, e.g. they are truly defaults, the add handler for the parent can add a step to check for children and add any missing ones. This would result in the same behavior, but allow the {{add}} operation to work correctly.



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


More information about the jboss-jira mailing list