JBoss Community

Jboss cache cacheloader not working

created by Hari Sundharesan in JBoss Cache - View the full discussion

JbossAS 5.1

Jboss cache 3.2.5

I have tried using the FileCacheloader,BdbjeCacheLoader and JDBMCacheLoader wtih the

<properties>location=/tmp/cacheloaction/</properties>

 

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.start();

 

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 ?

 

 

Thanks

Reply to this message by going to Community

Start a new discussion in JBoss Cache at Community