Project

General

Profile

« Previous | Next » 

Revision fcd0c02a

Added by Andreas Kohlbecker over 12 years ago

fixing #2510 (ehcahe FileNotFoundException (Permission denied))

View differences:

cdmlib-remote/src/main/resources/eu/etaxonomy/cdm/remote/ehcache.xml
1 1
<?xml version="1.0" encoding="UTF-8"?>
2 2
<ehcache>
3
	<diskStore path="java.io.tmpdir/${eu.etaxonomy.cdm.ehcache.diskstore.path}" />
4
	<defaultCache maxElementsInMemory="10" eternal="false"
5
		timeToIdleSeconds="120" timeToLiveSeconds="120" overflowToDisk="true" />
6
	<cache
7
		name="eu.etaxonomy.cdm.remote.controller.oaipmh.TaxonOaiPmhController.resumptionToken"
8
		eternal="false" maxElementsInMemory="25" 
9
		overflowToDisk="true" timeToIdleSeconds="0" timeToLiveSeconds="86400" />
10
	<!--
11
		  <cache
3
  <!--
4
    diskStore: see http://www.ehcache.org/documentation/user-guide/storage-options#ltdiskstoregt-configuration-element
5
  -->
6
  <diskStore path="java.io.tmpdir/cdm-server-ehcache" />
7
  <defaultCache maxElementsInMemory="10" eternal="false"
8
    timeToIdleSeconds="120" timeToLiveSeconds="120" overflowToDisk="true" />
9
  <cache
10
    name="eu.etaxonomy.cdm.remote.controller.oaipmh.TaxonOaiPmhController.resumptionToken"
11
    eternal="false" maxElementsInMemory="25"
12
    overflowToDisk="true" timeToIdleSeconds="0" timeToLiveSeconds="86400" />
13
  <!--
14
    <cache
12 15
        name="eu.etaxonomy.cdm.remote.controller.oaipmh.TaxonOaiPmhController.resumptionToken"
13
        eternal="false" maxElementsInMemory="25" 
16
        eternal="false" maxElementsInMemory="25"
14 17
        maxElementsOnDisk="50"
15 18
        overflowToDisk="true" timeToIdleSeconds="0" timeToLiveSeconds="86400" />
16
		<cache
17
		name="org.cateproject.controller.remoting.SearchProxyController.getBiodiversityHeritageLibrary"
18
		eternal="false" maxElementsInMemory="25" maxElementsOnDisk="50"
19
		overflowToDisk="true" timeToIdleSeconds="0"
20
		timeToLiveSeconds="86400"/> <cache
21
		name="org.cateproject.controller.remoting.SearchProxyController.getEntrez"
22
		eternal="false" maxElementsInMemory="25" maxElementsOnDisk="50"
23
		overflowToDisk="true" timeToIdleSeconds="0"
24
		timeToLiveSeconds="86400"/> <cache
25
		name="org.cateproject.controller.remoting.SearchProxyController.getGbif"
26
		eternal="false" maxElementsInMemory="25" maxElementsOnDisk="50"
27
		overflowToDisk="true" timeToIdleSeconds="0"
28
		timeToLiveSeconds="86400"/> <cache
29
		name="org.hibernate.cache.StandardQueryCache" maxElementsInMemory="50"
30
		eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
31
		timeToLiveSeconds="86400" /> <cache
32
		name="org.hibernate.cache.UpdateTimestampsCache"
33
		maxElementsInMemory="50" eternal="false" overflowToDisk="true"
34
		timeToIdleSeconds="0" timeToLiveSeconds="86400" /> <cache
35
		name="org.cateproject.view.CATEViewPreparer.getTaxonTree"
36
		maxElementsInMemory="5" eternal="false" timeToIdleSeconds="120"
37
		timeToLiveSeconds="120" overflowToDisk="true"/>
38
	-->
39
	<cache name="org.jbpm.graph.def.Node" maxElementsInMemory="5"
40
		eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
41
		timeToLiveSeconds="86400" />
42
	<cache name="org.jbpm.graph.def.ExceptionHandler"
43
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
44
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
45
	<cache name="org.jbpm.module.def.ModuleDefinition"
46
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
47
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
48
	<cache name="org.jbpm.graph.def.Event" maxElementsInMemory="5"
49
		eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
50
		timeToLiveSeconds="86400" />
51
	<cache name="org.jbpm.graph.def.Action" maxElementsInMemory="5"
52
		eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
53
		timeToLiveSeconds="86400" />
54
	<cache name="org.jbpm.graph.def.Transition" maxElementsInMemory="5"
55
		eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
56
		timeToLiveSeconds="86400" />
57
	<cache name="org.jbpm.taskmgmt.def.TaskController"
58
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
59
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
60
	<cache name="org.jbpm.instantiation.Delegation"
61
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
62
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
63
	<cache name="org.jbpm.taskmgmt.def.Task" maxElementsInMemory="5"
64
		eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
65
		timeToLiveSeconds="86400" />
66
	<cache name="org.jbpm.graph.def.ProcessDefinition"
67
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
68
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
69
	<cache name="org.jbpm.context.def.VariableAccess"
70
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
71
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
72
	<cache name="org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks"
73
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
74
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
75
	<cache name="org.jbpm.graph.node.ProcessState.variableAccesses"
76
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
77
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
78
	<cache name="org.jbpm.taskmgmt.def.Swimlane.tasks"
79
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
80
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
81
	<cache name="org.jbpm.graph.def.ProcessDefinition.exceptionHandlers"
82
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
83
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
84
	<cache name="org.jbpm.graph.def.Transition.exceptionHandlers"
85
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
86
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
87
	<cache name="org.jbpm.graph.def.ProcessDefinition.nodes"
88
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
89
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
90
	<cache name="org.jbpm.graph.node.TaskNode.tasks"
91
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
92
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
93
	<cache name="org.jbpm.graph.def.Node.arrivingTransitions"
94
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
95
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
96
	<cache name="org.jbpm.graph.def.Node.events" maxElementsInMemory="5"
97
		eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
98
		timeToLiveSeconds="86400" />
99
	<cache name="org.jbpm.graph.action.Script.variableAccesses"
100
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
101
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
102
	<cache name="org.jbpm.graph.def.ProcessDefinition.events"
103
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
104
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
105
	<cache name="org.jbpm.graph.def.Node.leavingTransitions"
106
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
107
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
108
	<cache name="org.jbpm.taskmgmt.def.TaskController.variableAccesses"
109
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
110
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
111
	<cache name="org.jbpm.graph.node.Decision.decisionConditions"
112
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
113
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
114
	<cache name="org.jbpm.file.def.FileDefinition.processFiles"
115
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
116
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
117
	<cache name="org.jbpm.graph.def.ProcessDefinition.actions"
118
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
119
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
120
	<cache name="org.jbpm.graph.def.ProcessDefinition.definitions"
121
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
122
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
123
	<cache name="org.jbpm.graph.def.Event.actions"
124
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
125
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
126
	<cache name="org.jbpm.taskmgmt.def.Task.events"
127
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
128
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
129
	<cache name="org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes"
130
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
131
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
132
	<cache name="org.jbpm.graph.def.SuperState.nodes"
133
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
134
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
135
	<cache name="org.jbpm.graph.def.ExceptionHandler.actions"
136
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
137
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
138
	<cache name="org.jbpm.taskmgmt.def.Task.exceptionHandlers"
139
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
140
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
141
	<cache name="org.jbpm.graph.def.Node.exceptionHandlers"
142
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
143
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
144
	<cache name="org.jbpm.graph.def.Transition.events"
145
		maxElementsInMemory="5" eternal="false" overflowToDisk="true"
146
		timeToIdleSeconds="0" timeToLiveSeconds="86400" />
19
    <cache
20
    name="org.cateproject.controller.remoting.SearchProxyController.getBiodiversityHeritageLibrary"
21
    eternal="false" maxElementsInMemory="25" maxElementsOnDisk="50"
22
    overflowToDisk="true" timeToIdleSeconds="0"
23
    timeToLiveSeconds="86400"/> <cache
24
    name="org.cateproject.controller.remoting.SearchProxyController.getEntrez"
25
    eternal="false" maxElementsInMemory="25" maxElementsOnDisk="50"
26
    overflowToDisk="true" timeToIdleSeconds="0"
27
    timeToLiveSeconds="86400"/> <cache
28
    name="org.cateproject.controller.remoting.SearchProxyController.getGbif"
29
    eternal="false" maxElementsInMemory="25" maxElementsOnDisk="50"
30
    overflowToDisk="true" timeToIdleSeconds="0"
31
    timeToLiveSeconds="86400"/> <cache
32
    name="org.hibernate.cache.StandardQueryCache" maxElementsInMemory="50"
33
    eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
34
    timeToLiveSeconds="86400" /> <cache
35
    name="org.hibernate.cache.UpdateTimestampsCache"
36
    maxElementsInMemory="50" eternal="false" overflowToDisk="true"
37
    timeToIdleSeconds="0" timeToLiveSeconds="86400" /> <cache
38
    name="org.cateproject.view.CATEViewPreparer.getTaxonTree"
39
    maxElementsInMemory="5" eternal="false" timeToIdleSeconds="120"
40
    timeToLiveSeconds="120" overflowToDisk="true"/>
41
  -->
42
  <cache name="org.jbpm.graph.def.Node" maxElementsInMemory="5"
43
    eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
44
    timeToLiveSeconds="86400" />
45
  <cache name="org.jbpm.graph.def.ExceptionHandler"
46
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
47
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
48
  <cache name="org.jbpm.module.def.ModuleDefinition"
49
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
50
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
51
  <cache name="org.jbpm.graph.def.Event" maxElementsInMemory="5"
52
    eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
53
    timeToLiveSeconds="86400" />
54
  <cache name="org.jbpm.graph.def.Action" maxElementsInMemory="5"
55
    eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
56
    timeToLiveSeconds="86400" />
57
  <cache name="org.jbpm.graph.def.Transition" maxElementsInMemory="5"
58
    eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
59
    timeToLiveSeconds="86400" />
60
  <cache name="org.jbpm.taskmgmt.def.TaskController"
61
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
62
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
63
  <cache name="org.jbpm.instantiation.Delegation"
64
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
65
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
66
  <cache name="org.jbpm.taskmgmt.def.Task" maxElementsInMemory="5"
67
    eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
68
    timeToLiveSeconds="86400" />
69
  <cache name="org.jbpm.graph.def.ProcessDefinition"
70
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
71
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
72
  <cache name="org.jbpm.context.def.VariableAccess"
73
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
74
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
75
  <cache name="org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks"
76
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
77
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
78
  <cache name="org.jbpm.graph.node.ProcessState.variableAccesses"
79
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
80
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
81
  <cache name="org.jbpm.taskmgmt.def.Swimlane.tasks"
82
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
83
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
84
  <cache name="org.jbpm.graph.def.ProcessDefinition.exceptionHandlers"
85
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
86
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
87
  <cache name="org.jbpm.graph.def.Transition.exceptionHandlers"
88
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
89
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
90
  <cache name="org.jbpm.graph.def.ProcessDefinition.nodes"
91
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
92
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
93
  <cache name="org.jbpm.graph.node.TaskNode.tasks"
94
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
95
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
96
  <cache name="org.jbpm.graph.def.Node.arrivingTransitions"
97
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
98
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
99
  <cache name="org.jbpm.graph.def.Node.events" maxElementsInMemory="5"
100
    eternal="false" overflowToDisk="true" timeToIdleSeconds="0"
101
    timeToLiveSeconds="86400" />
102
  <cache name="org.jbpm.graph.action.Script.variableAccesses"
103
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
104
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
105
  <cache name="org.jbpm.graph.def.ProcessDefinition.events"
106
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
107
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
108
  <cache name="org.jbpm.graph.def.Node.leavingTransitions"
109
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
110
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
111
  <cache name="org.jbpm.taskmgmt.def.TaskController.variableAccesses"
112
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
113
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
114
  <cache name="org.jbpm.graph.node.Decision.decisionConditions"
115
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
116
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
117
  <cache name="org.jbpm.file.def.FileDefinition.processFiles"
118
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
119
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
120
  <cache name="org.jbpm.graph.def.ProcessDefinition.actions"
121
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
122
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
123
  <cache name="org.jbpm.graph.def.ProcessDefinition.definitions"
124
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
125
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
126
  <cache name="org.jbpm.graph.def.Event.actions"
127
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
128
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
129
  <cache name="org.jbpm.taskmgmt.def.Task.events"
130
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
131
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
132
  <cache name="org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes"
133
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
134
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
135
  <cache name="org.jbpm.graph.def.SuperState.nodes"
136
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
137
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
138
  <cache name="org.jbpm.graph.def.ExceptionHandler.actions"
139
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
140
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
141
  <cache name="org.jbpm.taskmgmt.def.Task.exceptionHandlers"
142
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
143
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
144
  <cache name="org.jbpm.graph.def.Node.exceptionHandlers"
145
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
146
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
147
  <cache name="org.jbpm.graph.def.Transition.events"
148
    maxElementsInMemory="5" eternal="false" overflowToDisk="true"
149
    timeToIdleSeconds="0" timeToLiveSeconds="86400" />
147 150
</ehcache>

Also available in: Unified diff