feature request #3580
Write permission error with temporary cdmserver echache dir
The setting for the ehcache found in ehcache.xml (http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlib-remote/src/main/resources/eu/etaxonomy/cdm/remote/ehcache.xml) points to the os tmp folder. This cache folder is created whenever a spring configuration instance is launched and can cause problems when these configurations are running under different users. e.g.
in the case of developers running the cdmserver (which launches the configuration for user 'cdm') and an instance of the Editor (which also tries to launch the configuration for the os user)
in the case of ulteo where multiple users are running Editors (each of which launch spring configurations trying to write to /tmp/cdm-server-ehcache)
potentially a duplicate of #2939
#7 Updated by Andreas Kohlbecker almost 6 years ago
Replying to c.mathew:
Changed cache folder in settings to user.home/.cdm-server-echache (r18309). Not sure if this causes other problems, but it should fix the problem with Ulteo which is urgent . The fix needs approval from Andreas K. before the next release.
1.) I think your solution is ok especially with the future in mind. Currently we still could run into conflicts when we start a cdm-server and taxeditor in parallel, but from the time on when the remoting editor is finished we would no longer have this problem.
2.) However one concern remains: In a cdmserver, we have multilpe instances each with different data, so each of these instances needs to use a different cache and thus the instances should not share the same cache files. Thererfore in /.cdm-server-echache each instance should have it's own subfolder.