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

string-keyed-jdbc-store datasource configuration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • None
    • Clustering
    • None

    Description

      The following cache store configuration

      <cache-container name="modeshapeCache" default-cache="default">
      <local-cache name="testRepositoryCache">
      <transaction mode="FULL_XA"/>
      <string-keyed-jdbc-store datasource="java:jboss/datasources/JcrDataDS"/>
      </local-cache>
      </cache-container>

      quietly fails and when a cache of name testRepositoryCache is returned from container.getCache("testRepositoryCache") a default cache is returned rather than the one configured in the standalone.xml file.

      Removing the java: makes this work, the JNDI name is then resolved and the JDBC based cache loader is configured correctly.

      Attachments

        Activity

          People

            pferraro@redhat.com Paul Ferraro
            bwallis42_jira Brian Wallis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: