Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2749

Unable to parse no-tx-separate-pools element of xa-pool in datasource definition

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: JBoss AS7 7.2.0.Final
    • Fix Version/s: 8.0.0.CR1
    • Component/s: JCA
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Setup xa datasource with the <no-tx-separate-pools/> element defined. Startup Jboss 7 using standalone. Failure to parse datasource occurs.

      Show
      Setup xa datasource with the <no-tx-separate-pools/> element defined. Startup Jboss 7 using standalone. Failure to parse datasource occurs.

      Description

      Defining a XA datasource with a pool as below fails. This element is valid in the schema documentation. The connector system fails to parse this, as in org.jboss.as.connector.subsystems.datasources.Constants.java the tag is mistyped as "no-tx-separate-pool" without the "pools".

              <xa-pool>
                  <no-tx-separate-pools/>
              </xa-pool>
      

      Caused by: org.jboss.jca.common.metadata.ParserException: IJ010061: Unexpected element: no-tx-separate-pools
      at org.jboss.jca.common.metadata.ds.v11.DsParser.parseXaPool(DsParser.java:551)
      at org.jboss.jca.common.metadata.ds.v11.DsParser.parseXADataSource(DsParser.java:162)
      at org.jboss.jca.common.metadata.ds.v10.DsParser.parseDataSources(DsParser.java:185)
      at org.jboss.jca.common.metadata.ds.v10.DsParser.parse(DsParser.java:124)
      at org.jboss.jca.common.metadata.ds.v10.DsParser.parse(DsParser.java:87)
      at org.jboss.as.connector.deployers.ds.processors.DsXmlDeploymentParsingProcessor.deploy(DsXmlDeploymentParsingProcessor.java:86)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                maeste Stefano Maestri
                Reporter:
                arothian Kevin Formsma
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: