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

JDBC-based cache stores require a DataSource attribute for runtime

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.DR10
    • 7.1.0.DR9
    • Clustering
    • None

    Description

      Currently, there are 2 attributes for defining the DataSource of a JDBC-based cache store:
      1. "data-store", which references a named DataSource capability
      2. "datasource", the legacy attribute which specifies the jndi name of a DataSource

      Both attributes are currently nullable. Consequently, the model does not require either to be specified, which would cause the runtime to fail.
      The data-source attribute should be required, with "datasource" set as an alternative.

      No transformer is necessary since "datasource" was a required attribute in older versions of the model.

      Attachments

        Issue Links

          Activity

            People

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: