Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3008

Standart JCA datasource parser incorrectly proceeds "enable" operation on XA datasource

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.CR1
    • None
    • JCA
    • None

      Test for JCA datasource susytem parser fails with an error:
      testDatasource(org.jboss.as.connector.subsystems.jca.ComplexDatasourceSubsystemTestCase) Time elapsed: 0.5 sec <<< ERROR!
      java.lang.Exception: junit.framework.AssertionFailedError: Operation

      { "operation" => "enable", "address" => [ ("subsystem" => "datasources"), ("xa-data-source" => "complexXaDs_Pool") ], "persistent" => false }

      contains a parameter 'persistent' which does not appear in the description

      { "operation-name" => "enable", "description" => "Enable the XA data-source" }

      at org.jboss.as.subsystem.test.AbstractSubsystemTest$ModelControllerService.boot(AbstractSubsystemTest.java:607)
      at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:187)
      at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155)
      at java.lang.Thread.run(Thread.java:662)

      Test can be found at:
      https://github.com/vratsel/jboss-as/commit/a7bbced8400c09c6bc8c66a9c326cd97bdcead2a

              smaestri@redhat.com Stefano Maestri
              vrastsel_jira Vladimir Rastseluev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: