Actions
feature request #5848
closedProblem with writing ehCache folder on network drive using UNC path (net.sf.ehcache.CacheException)
Start date:
Due date:
% Done:
0%
Estimated time:
Severity:
normal
Description
When a user has its home folder set to a network drive the creation of the data model fails (Right-click in data source view->Create data model)
The ehCache folder is set in cdmlib-remote/src/main/resources/eu/etaxonomy/cdm/remote/ehcache.xml
it uses the java property user.home
<diskStore path="user.home/.cdm-server-ehcache" />
In contrast to that the .cdmLibrary is created correctly on the network drive.
When setting the -Duser.home
parameter to a local path with write permission when launching the editor everything works fine.
see also #3580
Ben had this problem. see stack trace below
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'taxonOaiPmhController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void eu.etaxonomy.cdm.remote.controller.oaipmh.AbstractOaiPmhController.setCacheProviderFacade(org.springmodules.cache.provider.CacheProviderFacade); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheProviderFacade' defined in class path resource [eu/etaxonomy/cdm/remote.xml]: Cannot resolve reference to bean 'cacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in class path resource [eu/etaxonomy/cdm/remote.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Disk store path can't be created: \nwz.wwu.de\dfs\home\b\bstoe_01\.cdm-server-ehcache
Files
Related issues
Actions