[jboss-jira] [JBoss JIRA] (WFLY-7735) JDBC-based cache stores require a DataSource attribute for runtime

Paul Ferraro (JIRA) issues at jboss.org
Mon Dec 5 17:19:01 EST 2016


Paul Ferraro created WFLY-7735:
----------------------------------

             Summary: JDBC-based cache stores require a DataSource attribute for runtime
                 Key: WFLY-7735
                 URL: https://issues.jboss.org/browse/WFLY-7735
             Project: WildFly
          Issue Type: Bug
          Components: Clustering
    Affects Versions: 10.1.0.Final
            Reporter: Paul Ferraro
            Assignee: Paul Ferraro
             Fix For: 11.0.0.Alpha1


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.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list