Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-26217

[GSS](7.4.z) WFLY-18703 - Misleading error message for XA DataSource class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.4.15.CR1, 7.4.15.GA
    • None
    • JCA
    • None

      https://github.com/wildfly/wildfly/blob/30.0.0.Final/connector/src/main/java/org/jboss/as/connector/subsystems/datasources/JdbcDriverAdd.java#L111

      This should log information about XA Datasouce instead.

      -                throw SUBSYSTEM_DATASOURCES_LOGGER.notAValidDataSourceClass(dataSourceClassName, DataSource.class.getName());
      +                throw SUBSYSTEM_DATASOURCES_LOGGER.notAValidDataSourceClass(xaDataSourceClassName, XADataSource.class.getName());
      

              chaowan@redhat.com Chao Wang
              chaowan@redhat.com Chao Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: