[jboss-user] [JBoss Cache] - How to configure JDBCCacheLoader on JBoss 5 ?
Francis Tellina
do-not-reply at jboss.com
Thu Aug 26 08:02:00 EDT 2010
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&containerType=14&container=2052]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100826/61121f58/attachment-0001.html
More information about the jboss-user
mailing list