Francis Tellina [
http://community.jboss.org/people/francis1972] created the discussion
"How to configure JDBCCacheLoader on JBoss 5 ?"
To view the discussion, visit:
http://community.jboss.org/message/559156#559156
--------------------------------------------------------------
Dear all,
I'm trying to configure data caching on a JBoss 5.1.0 cluster. I'd like to use a
JDBC Cache Loader instead of the default FileLoader.
So, looking at the Project docs, I've tried updating
jboss-cache-manager-jboss-beans.xml with:
<property name="cacheLoaderConfig">
. . . . .
<property name="individualCacheLoaderConfigs">
<list>
*<bean
class="org.jboss.cache.loader.JDBCCacheLoader">
<property
name="cache.jdbc.datasource">java:/NMS</property>
</bean>*
</list>
....
</property>
Unfortunately when JBoss starts the following log error is issued:
Caused by: java.lang.IllegalArgumentException: Property is not readable: cache for
org.jboss.cache.loader.JDBCCacheLoader
at org.jboss.beans.info.plugins.DefaultPropertyInfo.get(DefaultPropertyI
nfo.java:131)
at org.jboss.beans.info.plugins.BeanInfoUtil.getNestedPropertyInfo(BeanI
nfoUtil.java:115)
at org.jboss.beans.info.plugins.BeanInfoUtil.getPropertyInfo(BeanInfoUti
l.java:197)
at org.jboss.kernel.plugins.dependency.PropertyDispatchWrapper.execute(P
ropertyDispatchWrapper.java:77)
at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(Executio
nWrapper.java:47)
Can anybody give me some advice how to solve this issue? thanks alot
Francis
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/559156#559156]
Start a new discussion in JBoss Cache at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]