[jboss-user] [JBoss Cache] - Jboss cache cacheloader not working

Hari Sundharesan do-not-reply at jboss.com
Mon Jul 18 07:20:41 EDT 2011

Hari Sundharesan [http://community.jboss.org/people/haribaasha] created the discussion

"Jboss cache cacheloader not working"

To view the discussion, visit: http://community.jboss.org/message/615818#615818

JbossAS 5.1
Jboss cache 3.2.5
I have tried using the FileCacheloader,BdbjeCacheLoader and JDBMCacheLoader wtih the 

The cacheloader does not seem to work (does not load from cache on a server restart, no files are created incase of FileCacheLoader).

I create the cache using

            CacheFactory factory = new DefaultCacheFactory();
            Cache tree = factory.createCache("/tmp/cache-service.xml");           

tree.put and tree.get operations with string payloads.

Incase of bdbje and jdbmcacheloaders , couple of files are created in the folder. but that's it. does not seem to be used on a restart of the server.

I have attached my cache-service.xml

What am I doing wrong here ?


Reply to this message by going to Community

Start a new discussion in JBoss Cache at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110718/f6ab3a24/attachment.html 

More information about the jboss-user mailing list