Project

General

Profile

Actions

feature request #5848

closed

Problem with writing ehCache folder on network drive using UNC path (net.sf.ehcache.CacheException)

Added by Patrick Plitzner almost 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
New
Assignee:
Ben Stöver
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
normal
Tags:

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

Related to EDIT - bug #2939: ehcache diskStore conflict?ClosedAndreas Kohlbecker

Actions
Copied to EDIT - bug #6422: 'Specified key was too long' on creating a new database NewAndreas Müller

Actions
Copied to EDIT - task #6421: Document workaround for user.home location problem in Windows ClosedPatrick Plitzner

Actions
Actions

Also available in: Atom PDF