[jboss-jira] [JBoss JIRA] (AS7-5424) string-keyed-jdbc-store datasource configuration

Brian Wallis (JIRA) jira-events at lists.jboss.org
Fri Aug 24 00:48:14 EDT 2012


Brian Wallis created AS7-5424:
---------------------------------

             Summary: string-keyed-jdbc-store datasource configuration
                 Key: AS7-5424
                 URL: https://issues.jboss.org/browse/AS7-5424
             Project: Application Server 7
          Issue Type: Bug
         Environment: mac osx 10.6.8, JDK 1.6.0_33
            Reporter: Brian Wallis


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list