Infinispan File Cache Store

删除回忆录丶 提交于 2019-12-24 09:57:58

问题


I am trying to persist the entries in cache in a file using FileCacheStore but getting the following exception

org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.persistence.manager.PersistenceManagerImpl.start() on object of type PersistenceManagerImpl


回答1:


You've initialized a cache with persistence. Make sure that you have read/write permissions to the cache file.

This means that if your persistent cache files are initialized or located under /var/cache then the user which starts the server has to own the directory or have read/write permissions for it. If you're using a cluster make sure that all cluster users have access to this path.



来源:https://stackoverflow.com/questions/22746606/infinispan-file-cache-store

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!