[jboss-user] [JBossCache] - Re: JDBCCacheLoader Problems

manik.surtani@jboss.com do-not-reply at jboss.com
Fri Jul 21 00:34:17 EDT 2006


1)  You should not construct a Cache Loader explicitly.  When you start the cache, a cache loader is created and configured for you based on your configuration file.

2)  Your configureCache() method is unnecessary.

3)  Your getConfigFile() method should return the name of an XML file (as a String) which needs to be in your classpath.  This XML file would contain the cache configuration. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959761#3959761

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959761



More information about the jboss-user mailing list