Details
-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
None
-
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.