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

Misleading error message for XA DataSource class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 31.0.0.Beta1, 31.0.0.Final
    • 30.0.0.Final
    • 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:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: