1 |
878
|
berkley
|
<!--
|
2 |
|
|
* properties.html
|
3 |
|
|
*
|
4 |
|
|
* Authors: Chad Berkley
|
5 |
|
|
* Copyright: 2000 Regents of the University of California and the
|
6 |
|
|
* National Center for Ecological Analysis and Synthesis
|
7 |
|
|
* For Details: http://www.nceas.ucsb.edu/
|
8 |
|
|
* Created: 2001 January 23
|
9 |
|
|
* Version:
|
10 |
|
|
* File Info: '$ '
|
11 |
|
|
*
|
12 |
|
|
*
|
13 |
|
|
-->
|
14 |
|
|
<HTML>
|
15 |
|
|
<HEAD>
|
16 |
4169
|
daigle
|
<TITLE>Metacat Properties Files</TITLE>
|
17 |
3780
|
daigle
|
<link rel="stylesheet" type="text/css" href="./default.css">
|
18 |
878
|
berkley
|
</HEAD>
|
19 |
|
|
<BODY>
|
20 |
|
|
<table width="100%">
|
21 |
|
|
<tr>
|
22 |
|
|
<td class="tablehead" colspan="2"><p class="label">Metacat Properties File</p></td>
|
23 |
|
|
<td class="tablehead" colspan="2" align="right">
|
24 |
|
|
<a href="./datafiles.html">Back</a> | <a href="./metacattour.html">Home</a> |
|
25 |
2131
|
costa
|
<a href="./harvester.html">Next</a>
|
26 |
878
|
berkley
|
</td>
|
27 |
|
|
</tr>
|
28 |
|
|
</table>
|
29 |
4169
|
daigle
|
<p> Metacat Server has properties that are stored in two general locations.
|
30 |
|
|
Global properties are held in:
|
31 |
|
|
<p class="indent"><em><CONTEXT_DIR>*/WEB_INF/metacat.properties</em>.</p>
|
32 |
|
|
Skin specific properties are set on a per-skin basis in:
|
33 |
|
|
<p class="indent"><em><CONTEXT_DIR>*/WEB_INF/style/skins/<SKIN_NAME>/<SKIN_NAME>.properties</em></p>
|
34 |
|
|
</p>
|
35 |
|
|
|
36 |
|
|
<p>
|
37 |
|
|
The most dynamic properties are modified using the internal <a href="./metacatconfigure.html">Metacat configuration utility </a>.
|
38 |
|
|
However, it may be necessary to manually edit a configuration file to update more static values.
|
39 |
|
|
</p>
|
40 |
|
|
|
41 |
|
|
<p>
|
42 |
|
|
The list of properties shown on this page gives the following information about each property:
|
43 |
|
|
<ul>
|
44 |
|
|
<li> <b>Property Name</b> - the header for each section is the name of the
|
45 |
|
|
property as it appears in the property file.</li>
|
46 |
|
|
<li> <b>Default Value</b> - the default value set for that property if any. </li>
|
47 |
|
|
<li> <b>Description</b> - what does the property control and how can it be set. </li>
|
48 |
|
|
<li> <b>Set Method</b> - how does the value get set in the properties file. There are
|
49 |
|
|
two options:
|
50 |
|
|
<ul>
|
51 |
|
|
<li> Configuration Utility - the value is set via the internal <a href="./metacatconfigure.html">Metacat configuration utility </a></li>
|
52 |
|
|
<li> Manually - the value is set to a default that can only be changed by manually editing the configuration file. </li>
|
53 |
|
|
</ul>
|
54 |
|
|
<li> <b>Example</b> - an example setting for the property.</li>
|
55 |
|
|
</ul>
|
56 |
3591
|
costa
|
</p>
|
57 |
4169
|
daigle
|
|
58 |
|
|
<p class="footnote">
|
59 |
|
|
(* CONTEXT_DIR refers to the directory where the Metacat application code
|
60 |
|
|
lives. This is a combination of the web application directory and the
|
61 |
|
|
metacat context directory. This usually looks something like
|
62 |
|
|
/usr/local/tomcat/webapps/knb. However, your webapps directory could
|
63 |
|
|
be somewhere besides the tomcat directory and your context could be
|
64 |
|
|
something other than knb.)
|
65 |
|
|
</p>
|
66 |
|
|
|
67 |
|
|
<h1>Global Metacat Properties - (metacat.properties) </h1>
|
68 |
|
|
<hr>
|
69 |
|
|
|
70 |
|
|
<a name="server.name"></a><h1 class="property-main"> server.name </h1>
|
71 |
|
|
<div class="property-description-line">
|
72 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
73 |
|
|
<p class="property-text">localhost</p>
|
74 |
|
|
</div>
|
75 |
|
|
<div class="property-description-line">
|
76 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
77 |
|
|
<p class="property-text">Configuration Utility</p>
|
78 |
|
|
</div>
|
79 |
|
|
<div class="property-description-line">
|
80 |
|
|
<h2 class="property-inline"> Description: </h2>
|
81 |
|
|
<p class="property-text">The network host name that will be
|
82 |
|
|
used to access Metacat. Note that this is not necessarily the physical
|
83 |
|
|
name of the server running Metacat. The host name should not include
|
84 |
|
|
the protocol prefix (http://).</p>
|
85 |
|
|
</div>
|
86 |
|
|
<div class="property-description-line">
|
87 |
|
|
<h2 class="property-inline"> Example: </h2>
|
88 |
|
|
<p class="property-text">knb.ecoinformatics.org</p>
|
89 |
|
|
</div>
|
90 |
|
|
|
91 |
|
|
<a name="server.httpPort"></a><h1 class="property-main"> server.httpPort </h1>
|
92 |
|
|
<div class="property-description-line">
|
93 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
94 |
|
|
<p class="property-text">80</p>
|
95 |
|
|
</div>
|
96 |
|
|
<div class="property-description-line">
|
97 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
98 |
|
|
<p class="property-text">Configuration Utility</p>
|
99 |
|
|
</div>
|
100 |
|
|
<div class="property-description-line">
|
101 |
|
|
<h2 class="property-inline"> Description: </h2>
|
102 |
|
|
<p class="property-text">The network port that will be
|
103 |
|
|
used to access Metacat for non-secure (standard) connections.
|
104 |
|
|
This is usually 80 if Apache web server is running (typical install), and
|
105 |
|
|
8080 if Tomcat is running alone, but both Apache and Tomcat could
|
106 |
|
|
have been configured to listen on alternate ports. </p>
|
107 |
|
|
</div>
|
108 |
|
|
<div class="property-description-line">
|
109 |
|
|
<h2 class="property-inline"> Example: </h2>
|
110 |
|
|
<p class="property-text">80</p>
|
111 |
|
|
</div>
|
112 |
|
|
|
113 |
|
|
<a name="server.httpSSLPort"></a><h1 class="property-main"> server.httpSSLPort </h1>
|
114 |
|
|
<div class="property-description-line">
|
115 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
116 |
|
|
<p class="property-text">443</p>
|
117 |
|
|
</div>
|
118 |
|
|
<div class="property-description-line">
|
119 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
120 |
|
|
<p class="property-text">Configuration Utility</p>
|
121 |
|
|
</div>
|
122 |
|
|
<div class="property-description-line">
|
123 |
|
|
<h2 class="property-inline"> Description: </h2>
|
124 |
|
|
<p class="property-text">The network port that will be
|
125 |
|
|
used to access Metacat for secure connections.
|
126 |
|
|
This is usually 443 if Apache web server is running (typical install), and
|
127 |
|
|
8443 if Tomcat is running alone, but both Apache and Tomcat could
|
128 |
|
|
have been configured to listen on alternate ports. </p>
|
129 |
|
|
</div>
|
130 |
|
|
<div class="property-description-line">
|
131 |
|
|
<h2 class="property-inline"> Example: </h2>
|
132 |
|
|
<p class="property-text">443</p>
|
133 |
|
|
</div>
|
134 |
|
|
|
135 |
|
|
<br>
|
136 |
|
|
|
137 |
|
|
<a name="application.metacatVersion"></a><h1 class="property-main"> application.metacatVersion </h1>
|
138 |
|
|
<div class="property-description-line">
|
139 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
140 |
|
|
<p class="property-text">1.9.0</p>
|
141 |
|
|
</div>
|
142 |
|
|
<div class="property-description-line">
|
143 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
144 |
|
|
<p class="property-text">Manual</p>
|
145 |
|
|
</div>
|
146 |
|
|
<div class="property-description-line">
|
147 |
|
|
<h2 class="property-inline"> Description: </h2>
|
148 |
|
|
<p class="property-text">The Metacat version number. usually, this should
|
149 |
|
|
never be changed. It is set by the build engineer at build time.</p>
|
150 |
|
|
</div>
|
151 |
|
|
<div class="property-description-line">
|
152 |
|
|
<h2 class="property-inline"> Example: </h2>
|
153 |
|
|
<p class="property-text">1.9.0</p>
|
154 |
|
|
</div>
|
155 |
|
|
|
156 |
|
|
<a name="application.deployDir"></a><h1 class="property-main"> application.deployDir </h1>
|
157 |
|
|
<div class="property-description-line">
|
158 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
159 |
|
|
<p class="property-text">(none)</p>
|
160 |
|
|
</div>
|
161 |
|
|
<div class="property-description-line">
|
162 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
163 |
|
|
<p class="property-text">Configuration Utility</p>
|
164 |
|
|
</div>
|
165 |
|
|
<div class="property-description-line">
|
166 |
|
|
<h2 class="property-inline"> Description: </h2>
|
167 |
|
|
<p class="property-text">The directory where web applications are deployed.
|
168 |
|
|
Many times this is in a directory named "webapps" in the Tomcat installation
|
169 |
|
|
directory. However, Tomcat may be configured to look in a different directory.</p>
|
170 |
|
|
</div>
|
171 |
|
|
<div class="property-description-line">
|
172 |
|
|
<h2 class="property-inline"> Example: </h2>
|
173 |
|
|
<p class="property-text">/usr/local/tomcat/webapps</p>
|
174 |
|
|
</div>
|
175 |
|
|
|
176 |
|
|
<a name="application.context"></a><h1 class="property-main"> application.context </h1>
|
177 |
|
|
<div class="property-description-line">
|
178 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
179 |
|
|
<p class="property-text">(none)</p>
|
180 |
|
|
</div>
|
181 |
|
|
<div class="property-description-line">
|
182 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
183 |
|
|
<p class="property-text">Configuration Utility</p>
|
184 |
|
|
</div>
|
185 |
|
|
<div class="property-description-line">
|
186 |
|
|
<h2 class="property-inline"> Description: </h2>
|
187 |
|
|
<p class="property-text">Applications run in individual directories in the applicaton
|
188 |
|
|
deployment directory. The name of the application directory is the application
|
189 |
|
|
context. This corresponds to the first part of the war file name (the part before .war).
|
190 |
|
|
Most commonly, this is "knb", but it can be changed to other things.</p>
|
191 |
|
|
</div>
|
192 |
|
|
<div class="property-description-line">
|
193 |
|
|
<h2 class="property-inline"> Example: </h2>
|
194 |
|
|
<p class="property-text">knb</p>
|
195 |
|
|
</div>
|
196 |
|
|
|
197 |
|
|
<a name="application.default-style"></a><h1 class="property-main"> application.default-style </h1>
|
198 |
|
|
<div class="property-description-line">
|
199 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
200 |
|
|
<p class="property-text">default</p>
|
201 |
|
|
</div>
|
202 |
|
|
<div class="property-description-line">
|
203 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
204 |
|
|
<p class="property-text">Configuration Utility</p>
|
205 |
|
|
</div>
|
206 |
|
|
<div class="property-description-line">
|
207 |
|
|
<h2 class="property-inline"> Description: </h2>
|
208 |
|
|
<p class="property-text">There are some custom web skins available in Metacat.
|
209 |
|
|
Typically these are associated with an organizational theme. If there is not
|
210 |
|
|
a custom skin for your organization, you should leave it as "default".</p>
|
211 |
|
|
</div>
|
212 |
|
|
<div class="property-description-line">
|
213 |
|
|
<h2 class="property-inline"> Example: </h2>
|
214 |
|
|
<p class="property-text">default</p>
|
215 |
|
|
</div>
|
216 |
|
|
|
217 |
|
|
<a name="application.knbSiteURL"></a><h1 class="property-main"> application.knbSiteURL </h1>
|
218 |
|
|
<div class="property-description-line">
|
219 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
220 |
|
|
<p class="property-text">http://knb.ecoinformatics.org</p>
|
221 |
|
|
</div>
|
222 |
|
|
<div class="property-description-line">
|
223 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
224 |
|
|
<p class="property-text">Configuration Utility</p>
|
225 |
|
|
</div>
|
226 |
|
|
<div class="property-description-line">
|
227 |
|
|
<h2 class="property-inline"> Description: </h2>
|
228 |
|
|
<p class="property-text">The KNB site to redirect to.</p>
|
229 |
|
|
</div>
|
230 |
|
|
<div class="property-description-line">
|
231 |
|
|
<h2 class="property-inline"> Example: </h2>
|
232 |
|
|
<p class="property-text">http://knb.ecoinformatics.org</p>
|
233 |
|
|
</div>
|
234 |
|
|
|
235 |
|
|
<a name="application.datafilepath"></a><h1 class="property-main"> application.datafilepath </h1>
|
236 |
|
|
<div class="property-description-line">
|
237 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
238 |
|
|
<p class="property-text">/var/metacat/data</p>
|
239 |
|
|
</div>
|
240 |
|
|
<div class="property-description-line">
|
241 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
242 |
|
|
<p class="property-text">Configuration Utility</p>
|
243 |
|
|
</div>
|
244 |
|
|
<div class="property-description-line">
|
245 |
|
|
<h2 class="property-inline"> Description: </h2>
|
246 |
|
|
<p class="property-text">This is the directory whera data files will be stored.
|
247 |
|
|
This should be some directory outside the Metacat installation directories so
|
248 |
|
|
data files will not get lost when Metacat is upgraded. The data file directory
|
249 |
|
|
must be writable by the user that starts Tomcat (and thus Metacat).</p>
|
250 |
|
|
</div>
|
251 |
|
|
<div class="property-description-line">
|
252 |
|
|
<h2 class="property-inline"> Example: </h2>
|
253 |
|
|
<p class="property-text">/var/metacat/data</p>
|
254 |
|
|
</div>
|
255 |
|
|
|
256 |
|
|
<a name="application.inlinedatafilepath"></a><h1 class="property-main"> application.inlinedatafilepath </h1>
|
257 |
|
|
<div class="property-description-line">
|
258 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
259 |
|
|
<p class="property-text">/var/metacat/inline-data</p>
|
260 |
|
|
</div>
|
261 |
|
|
<div class="property-description-line">
|
262 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
263 |
|
|
<p class="property-text">Configuration Utility</p>
|
264 |
|
|
</div>
|
265 |
|
|
<div class="property-description-line">
|
266 |
|
|
<h2 class="property-inline"> Description: </h2>
|
267 |
|
|
<p class="property-text">This is the directory where inline data files will
|
268 |
|
|
be stored. Inline data files are created from data that is embedded in EML
|
269 |
|
|
metadata. This should be some directory outside the Metacat installation
|
270 |
|
|
directories so data files will not get lost when Metacat is upgraded. For
|
271 |
|
|
clarity of data, this should probably not be the same as application.datafilepath.
|
272 |
|
|
The data file directory must be writable by the user that starts Tomcat (and thus Metacat).</p>
|
273 |
|
|
</div>
|
274 |
|
|
<div class="property-description-line">
|
275 |
|
|
<h2 class="property-inline"> Example: </h2>
|
276 |
|
|
<p class="property-text">/var/metacat/inline-data</p>
|
277 |
|
|
</div>
|
278 |
|
|
|
279 |
|
|
<a name="application.cgiDir"></a><h1 class="property-main"> application.cgiDir </h1>
|
280 |
|
|
<div class="property-description-line">
|
281 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
282 |
|
|
<p class="property-text">TODO MCD add this</p>
|
283 |
|
|
</div>
|
284 |
|
|
<div class="property-description-line">
|
285 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
286 |
|
|
<p class="property-text">Configuration Utility</p>
|
287 |
|
|
</div>
|
288 |
|
|
<div class="property-description-line">
|
289 |
|
|
<h2 class="property-inline"> Description: </h2>
|
290 |
|
|
<p class="property-text">This is the directory that is configured in
|
291 |
|
|
Apache web server to have CGI executables.</p>
|
292 |
|
|
</div>
|
293 |
|
|
<div class="property-description-line">
|
294 |
|
|
<h2 class="property-inline"> Example: </h2>
|
295 |
|
|
<p class="property-text">TODO MCD add this</p>
|
296 |
4188
|
daigle
|
</div>
|
297 |
4169
|
daigle
|
|
298 |
4188
|
daigle
|
<br>
|
299 |
|
|
|
300 |
|
|
<a name="database.connectionURI"></a><h1 class="property-main"> database.connectionURI </h1>
|
301 |
|
|
<div class="property-description-line">
|
302 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
303 |
|
|
<p class="property-text">jdbc:postgresql://localhost/metacat</p>
|
304 |
|
|
</div>
|
305 |
|
|
<div class="property-description-line">
|
306 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
307 |
|
|
<p class="property-text">Configuration Utility</p>
|
308 |
|
|
</div>
|
309 |
|
|
<div class="property-description-line">
|
310 |
|
|
<h2 class="property-inline"> Description: </h2>
|
311 |
|
|
<p class="property-text">The jdbc connection URI for the main
|
312 |
|
|
database instance of Metacat. The uri is formatted like: <br>
|
313 |
|
|
jdbc:<database_type>:thin@<your_server_name>:1521:<metacat_database_name><br>
|
314 |
|
|
An empty database must have been created prior to Metacat
|
315 |
|
|
configuration.</p>
|
316 |
|
|
</div>
|
317 |
|
|
<div class="property-description-line">
|
318 |
|
|
<h2 class="property-inline"> Example: </h2>
|
319 |
|
|
<p class="property-text">jdbc:postgresql://yourserver.yourdomain.edu/metacat</p>
|
320 |
|
|
</div>
|
321 |
|
|
|
322 |
4177
|
daigle
|
<a name="database.user"></a><h1 class="property-main"> database.user </h1>
|
323 |
|
|
<div class="property-description-line">
|
324 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
325 |
|
|
<p class="property-text">(none)</p>
|
326 |
|
|
</div>
|
327 |
|
|
<div class="property-description-line">
|
328 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
329 |
|
|
<p class="property-text">Configuration Utility</p>
|
330 |
|
|
</div>
|
331 |
|
|
<div class="property-description-line">
|
332 |
|
|
<h2 class="property-inline"> Description: </h2>
|
333 |
4188
|
daigle
|
<p class="property-text">The user for the main database instance
|
334 |
|
|
of Metacat. The user must have already been created on the database.</p>
|
335 |
4177
|
daigle
|
</div>
|
336 |
|
|
<div class="property-description-line">
|
337 |
|
|
<h2 class="property-inline"> Example: </h2>
|
338 |
4188
|
daigle
|
<p class="property-text">metacat-user</p>
|
339 |
4177
|
daigle
|
</div>
|
340 |
4169
|
daigle
|
|
341 |
4188
|
daigle
|
<a name="database.password"></a><h1 class="property-main"> database.password </h1>
|
342 |
|
|
<div class="property-description-line">
|
343 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
344 |
|
|
<p class="property-text">(none)</p>
|
345 |
|
|
</div>
|
346 |
|
|
<div class="property-description-line">
|
347 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
348 |
|
|
<p class="property-text">Configuration Utility</p>
|
349 |
|
|
</div>
|
350 |
|
|
<div class="property-description-line">
|
351 |
|
|
<h2 class="property-inline"> Description: </h2>
|
352 |
|
|
<p class="property-text">The password of the user for the main
|
353 |
|
|
database instance of Metacat. The password must have already been created
|
354 |
|
|
for the user.</p>
|
355 |
|
|
</div>
|
356 |
|
|
<div class="property-description-line">
|
357 |
|
|
<h2 class="property-inline"> Example: </h2>
|
358 |
|
|
<p class="property-text">securepassword4843</p>
|
359 |
|
|
</div>
|
360 |
|
|
|
361 |
|
|
<a name="database.type"></a><h1 class="property-main"> database.type </h1>
|
362 |
|
|
<div class="property-description-line">
|
363 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
364 |
|
|
<p class="property-text">(none)</p>
|
365 |
|
|
</div>
|
366 |
|
|
<div class="property-description-line">
|
367 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
368 |
|
|
<p class="property-text">Configuration Utility</p>
|
369 |
|
|
</div>
|
370 |
|
|
<div class="property-description-line">
|
371 |
|
|
<h2 class="property-inline"> Description: </h2>
|
372 |
|
|
<p class="property-text">The type of database you are running. Currently,
|
373 |
|
|
there are two supported types, Oracle and Postgres.</p>
|
374 |
|
|
</div>
|
375 |
|
|
<div class="property-description-line">
|
376 |
|
|
<h2 class="property-inline"> Example: </h2>
|
377 |
|
|
<p class="property-text">postgres</p>
|
378 |
|
|
</div>
|
379 |
4169
|
daigle
|
|
380 |
4188
|
daigle
|
<a name="database.driver"></a><h1 class="property-main"> database.driver </h1>
|
381 |
|
|
<div class="property-description-line">
|
382 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
383 |
|
|
<p class="property-text">(none)</p>
|
384 |
|
|
</div>
|
385 |
|
|
<div class="property-description-line">
|
386 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
387 |
|
|
<p class="property-text">Configuration Utility</p>
|
388 |
|
|
</div>
|
389 |
|
|
<div class="property-description-line">
|
390 |
|
|
<h2 class="property-inline"> Description: </h2>
|
391 |
|
|
<p class="property-text">The JDBC driver to be used to access the main
|
392 |
|
|
database instance of Metacat. There is one of these associated with each
|
393 |
|
|
type of database.</p>
|
394 |
|
|
</div>
|
395 |
|
|
<div class="property-description-line">
|
396 |
|
|
<h2 class="property-inline"> Example: </h2>
|
397 |
|
|
<p class="property-text">org.postgresql.Driver</p>
|
398 |
|
|
</div>
|
399 |
4169
|
daigle
|
|
400 |
4188
|
daigle
|
<a name="database.adapter"></a><h1 class="property-main"> database.adapter </h1>
|
401 |
|
|
<div class="property-description-line">
|
402 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
403 |
|
|
<p class="property-text">(none)</p>
|
404 |
|
|
</div>
|
405 |
|
|
<div class="property-description-line">
|
406 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
407 |
|
|
<p class="property-text">Configuration Utility</p>
|
408 |
|
|
</div>
|
409 |
|
|
<div class="property-description-line">
|
410 |
|
|
<h2 class="property-inline"> Description: </h2>
|
411 |
|
|
<p class="property-text">The adapter class that allows Metacat to access your
|
412 |
|
|
database type. There is one of these associated with each type of database.</p>
|
413 |
|
|
</div>
|
414 |
|
|
<div class="property-description-line">
|
415 |
|
|
<h2 class="property-inline"> Example: </h2>
|
416 |
|
|
<p class="property-text">edu.ucsb.nceas.dbadapter.PostgresqlAdapter</p>
|
417 |
|
|
</div>
|
418 |
4169
|
daigle
|
|
419 |
4188
|
daigle
|
<a name="database.scriptsuffix"></a><h1 class="property-main"> database.scriptsuffix.<database_type> </h1>
|
420 |
|
|
<div class="property-description-line">
|
421 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
422 |
|
|
<p class="property-text">
|
423 |
|
|
<br> database.scriptsuffix.postgres=postgres.sql<br>
|
424 |
|
|
database.scriptsuffix.oracle=oracle.sql
|
425 |
|
|
</p>
|
426 |
|
|
</div>
|
427 |
|
|
<div class="property-description-line">
|
428 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
429 |
|
|
<p class="property-text">Configuration Utility</p>
|
430 |
|
|
</div>
|
431 |
|
|
<div class="property-description-line">
|
432 |
|
|
<h2 class="property-inline"> Description: </h2>
|
433 |
|
|
<p class="property-text">There is a database.scriptsuffix entry for every
|
434 |
|
|
supported type of database. These tell the system which database scripts
|
435 |
|
|
to run when installing or updating database schema.</p>
|
436 |
|
|
</div>
|
437 |
|
|
<div class="property-description-line">
|
438 |
|
|
<h2 class="property-inline"> Example: </h2>
|
439 |
|
|
<p class="property-text">postgres.sql</p>
|
440 |
|
|
</div>
|
441 |
|
|
|
442 |
|
|
<a name="database.upgradeVersion"></a><h1 class="property-main"> database.upgradeVersion.<database_version> </h1>
|
443 |
|
|
<div class="property-description-line">
|
444 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
445 |
|
|
<p class="property-text">
|
446 |
|
|
<br> database.upgradeVersion.0.0.0=xmltables,loaddtdschema<br>
|
447 |
|
|
database.upgradeVersion.1.2.0=upgrade-db-to-1.2<br>
|
448 |
|
|
database.upgradeVersion.1.3.0=upgrade-db-to-1.3<br>
|
449 |
|
|
database.upgradeVersion.1.4.0=upgrade-db-to-1.4<br>
|
450 |
|
|
database.upgradeVersion.1.5.0=upgrade-db-to-1.5<br>
|
451 |
|
|
database.upgradeVersion.1.6.0=upgrade-db-to-1.6<br>
|
452 |
|
|
database.upgradeVersion.1.7.0=upgrade-db-to-1.7<br>
|
453 |
|
|
database.upgradeVersion.1.8.0=upgrade-db-to-1.8<br>
|
454 |
|
|
database.upgradeVersion.1.9.0=upgrade-db-to-1.9
|
455 |
|
|
</p>
|
456 |
|
|
</div>
|
457 |
|
|
<div class="property-description-line">
|
458 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
459 |
|
|
<p class="property-text">Configuration Utility</p>
|
460 |
|
|
</div>
|
461 |
|
|
<div class="property-description-line">
|
462 |
|
|
<h2 class="property-inline"> Description: </h2>
|
463 |
|
|
<p class="property-text">There is a database.scriptsuffix entry for every
|
464 |
|
|
metacat database schema version. (Note that a schema version corresponds
|
465 |
|
|
to an application version.) These tell the system which database scripts
|
466 |
|
|
to run when installing or updating database schema.</p>
|
467 |
|
|
</div>
|
468 |
|
|
<div class="property-description-line">
|
469 |
|
|
<h2 class="property-inline"> Example: </h2>
|
470 |
|
|
<p class="property-text">upgrade-db-to-1.2</p>
|
471 |
|
|
</div>
|
472 |
|
|
|
473 |
|
|
<a name="database.initialConnections"></a><h1 class="property-main"> database.initialConnections </h1>
|
474 |
|
|
<div class="property-description-line">
|
475 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
476 |
|
|
<p class="property-text">5</p>
|
477 |
|
|
</div>
|
478 |
|
|
<div class="property-description-line">
|
479 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
480 |
|
|
<p class="property-text">Manual</p>
|
481 |
|
|
</div>
|
482 |
|
|
<div class="property-description-line">
|
483 |
|
|
<h2 class="property-inline"> Description: </h2>
|
484 |
|
|
<p class="property-text"> The number of initial connection that
|
485 |
|
|
Metacat creates to the database.</p>
|
486 |
|
|
</div>
|
487 |
|
|
<div class="property-description-line">
|
488 |
|
|
<h2 class="property-inline"> Example: </h2>
|
489 |
|
|
<p class="property-text">5</p>
|
490 |
|
|
</div>
|
491 |
|
|
|
492 |
|
|
<a name="database.incrementConnections"></a><h1 class="property-main"> database.incrementConnections </h1>
|
493 |
|
|
<div class="property-description-line">
|
494 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
495 |
|
|
<p class="property-text">5</p>
|
496 |
|
|
</div>
|
497 |
|
|
<div class="property-description-line">
|
498 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
499 |
|
|
<p class="property-text">Manual</p>
|
500 |
|
|
</div>
|
501 |
|
|
<div class="property-description-line">
|
502 |
|
|
<h2 class="property-inline"> Description: </h2>
|
503 |
|
|
<p class="property-text"> The number of connections that are created
|
504 |
|
|
when Metacat needs more connections.</p>
|
505 |
|
|
</div>
|
506 |
|
|
<div class="property-description-line">
|
507 |
|
|
<h2 class="property-inline"> Example: </h2>
|
508 |
|
|
<p class="property-text">5</p>
|
509 |
|
|
</div>
|
510 |
|
|
|
511 |
|
|
<a name="database.maximumConnections"></a><h1 class="property-main"> database.maximumConnections </h1>
|
512 |
|
|
<div class="property-description-line">
|
513 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
514 |
|
|
<p class="property-text">25</p>
|
515 |
|
|
</div>
|
516 |
|
|
<div class="property-description-line">
|
517 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
518 |
|
|
<p class="property-text">Manual</p>
|
519 |
|
|
</div>
|
520 |
|
|
<div class="property-description-line">
|
521 |
|
|
<h2 class="property-inline"> Description: </h2>
|
522 |
|
|
<p class="property-text"> The maximum number of database connections
|
523 |
|
|
Metacat can make.</p>
|
524 |
|
|
</div>
|
525 |
|
|
<div class="property-description-line">
|
526 |
|
|
<h2 class="property-inline"> Example: </h2>
|
527 |
|
|
<p class="property-text">25</p>
|
528 |
|
|
</div>
|
529 |
|
|
|
530 |
|
|
<a name="database.maximumConnectionAge"></a><h1 class="property-main"> database.maximumConnectionAge </h1>
|
531 |
|
|
<div class="property-description-line">
|
532 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
533 |
|
|
<p class="property-text">120000</p>
|
534 |
|
|
</div>
|
535 |
|
|
<div class="property-description-line">
|
536 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
537 |
|
|
<p class="property-text">Manual</p>
|
538 |
|
|
</div>
|
539 |
|
|
<div class="property-description-line">
|
540 |
|
|
<h2 class="property-inline"> Description: </h2>
|
541 |
|
|
<p class="property-text"> The maximum time in milliseconds that a database
|
542 |
|
|
connection can live.</p>
|
543 |
|
|
</div>
|
544 |
|
|
<div class="property-description-line">
|
545 |
|
|
<h2 class="property-inline"> Example: </h2>
|
546 |
|
|
<p class="property-text">120000</p>
|
547 |
|
|
</div>
|
548 |
|
|
|
549 |
|
|
<a name="database.maximumConnectionTime"></a><h1 class="property-main"> database.maximumConnectionTime </h1>
|
550 |
|
|
<div class="property-description-line">
|
551 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
552 |
|
|
<p class="property-text">60000</p>
|
553 |
|
|
</div>
|
554 |
|
|
<div class="property-description-line">
|
555 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
556 |
|
|
<p class="property-text">Manual</p>
|
557 |
|
|
</div>
|
558 |
|
|
<div class="property-description-line">
|
559 |
|
|
<h2 class="property-inline"> Description: </h2>
|
560 |
|
|
<p class="property-text"> The maximum time in milliseconds that a database
|
561 |
|
|
connection can accumulate in actual connection time.</p>
|
562 |
|
|
</div>
|
563 |
|
|
<div class="property-description-line">
|
564 |
|
|
<h2 class="property-inline"> Example: </h2>
|
565 |
|
|
<p class="property-text">60000</p>
|
566 |
|
|
</div>
|
567 |
|
|
|
568 |
|
|
<a name="database.maximumUsageNumber"></a><h1 class="property-main"> database.maximumUsageNumber </h1>
|
569 |
|
|
<div class="property-description-line">
|
570 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
571 |
|
|
<p class="property-text">100</p>
|
572 |
|
|
</div>
|
573 |
|
|
<div class="property-description-line">
|
574 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
575 |
|
|
<p class="property-text">Manual</p>
|
576 |
|
|
</div>
|
577 |
|
|
<div class="property-description-line">
|
578 |
|
|
<h2 class="property-inline"> Description: </h2>
|
579 |
|
|
<p class="property-text"> The maximum number of times a single connection
|
580 |
|
|
can be used.</p>
|
581 |
|
|
</div>
|
582 |
|
|
<div class="property-description-line">
|
583 |
|
|
<h2 class="property-inline"> Example: </h2>
|
584 |
|
|
<p class="property-text">100</p>
|
585 |
|
|
</div>
|
586 |
|
|
|
587 |
|
|
<a name="database.numberOfIndexingThreads"></a><h1 class="property-main"> database.numberOfIndexingThreads </h1>
|
588 |
|
|
<div class="property-description-line">
|
589 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
590 |
|
|
<p class="property-text">5</p>
|
591 |
|
|
</div>
|
592 |
|
|
<div class="property-description-line">
|
593 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
594 |
|
|
<p class="property-text">Manual</p>
|
595 |
|
|
</div>
|
596 |
|
|
<div class="property-description-line">
|
597 |
|
|
<h2 class="property-inline"> Description: </h2>
|
598 |
|
|
<p class="property-text"> The number of threads available for indexing.</p>
|
599 |
|
|
</div>
|
600 |
|
|
<div class="property-description-line">
|
601 |
|
|
<h2 class="property-inline"> Example: </h2>
|
602 |
|
|
<p class="property-text">5</p>
|
603 |
|
|
</div>
|
604 |
|
|
|
605 |
|
|
<a name="database.indexingTimerTaskTime"></a><h1 class="property-main"> database.indexingTimerTaskTime </h1>
|
606 |
|
|
<div class="property-description-line">
|
607 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
608 |
|
|
<p class="property-text">604800000</p>
|
609 |
|
|
</div>
|
610 |
|
|
<div class="property-description-line">
|
611 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
612 |
|
|
<p class="property-text">Manual</p>
|
613 |
|
|
</div>
|
614 |
|
|
<div class="property-description-line">
|
615 |
|
|
<h2 class="property-inline"> Description: </h2>
|
616 |
|
|
<p class="property-text"> The time in milliseconds between indexing.</p>
|
617 |
|
|
</div>
|
618 |
|
|
<div class="property-description-line">
|
619 |
|
|
<h2 class="property-inline"> Example: </h2>
|
620 |
|
|
<p class="property-text">604800000</p>
|
621 |
|
|
</div>
|
622 |
|
|
|
623 |
|
|
<a name="database.indexingInitialDelay"></a><h1 class="property-main"> database.indexingInitialDelay </h1>
|
624 |
|
|
<div class="property-description-line">
|
625 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
626 |
|
|
<p class="property-text">3600000</p>
|
627 |
|
|
</div>
|
628 |
|
|
<div class="property-description-line">
|
629 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
630 |
|
|
<p class="property-text">Manual</p>
|
631 |
|
|
</div>
|
632 |
|
|
<div class="property-description-line">
|
633 |
|
|
<h2 class="property-inline"> Description: </h2>
|
634 |
|
|
<p class="property-text"> The delay in milliseconds before first indexing is executed.</p>
|
635 |
|
|
</div>
|
636 |
|
|
<div class="property-description-line">
|
637 |
|
|
<h2 class="property-inline"> Example: </h2>
|
638 |
|
|
<p class="property-text">3600000</p>
|
639 |
|
|
</div>
|
640 |
|
|
|
641 |
|
|
<a name="database.maximumIndexDelay"></a><h1 class="property-main"> database.maximumIndexDelay </h1>
|
642 |
|
|
<div class="property-description-line">
|
643 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
644 |
|
|
<p class="property-text">5000</p>
|
645 |
|
|
</div>
|
646 |
|
|
<div class="property-description-line">
|
647 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
648 |
|
|
<p class="property-text">Manual</p>
|
649 |
|
|
</div>
|
650 |
|
|
<div class="property-description-line">
|
651 |
|
|
<h2 class="property-inline"> Description: </h2>
|
652 |
|
|
<p class="property-text"> The time in milliseconds that an indexing thread
|
653 |
|
|
will wait when it can't get a doc id before retrying the indexing.</p>
|
654 |
|
|
</div>
|
655 |
|
|
<div class="property-description-line">
|
656 |
|
|
<h2 class="property-inline"> Example: </h2>
|
657 |
|
|
<p class="property-text">5000</p>
|
658 |
|
|
</div>
|
659 |
|
|
|
660 |
|
|
<a name="database.runDBConnectionRecycleThread"></a><h1 class="property-main"> database.runDBConnectionRecycleThread </h1>
|
661 |
|
|
<div class="property-description-line">
|
662 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
663 |
|
|
<p class="property-text">off</p>
|
664 |
|
|
</div>
|
665 |
|
|
<div class="property-description-line">
|
666 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
667 |
|
|
<p class="property-text">Manual</p>
|
668 |
|
|
</div>
|
669 |
|
|
<div class="property-description-line">
|
670 |
|
|
<h2 class="property-inline"> Description: </h2>
|
671 |
|
|
<p class="property-text"> Determines whether the database connection
|
672 |
|
|
pool should run a thread to recycle connections. Possible values are
|
673 |
|
|
"on" and "off"</p>
|
674 |
|
|
</div>
|
675 |
|
|
<div class="property-description-line">
|
676 |
|
|
<h2 class="property-inline"> Example: </h2>
|
677 |
|
|
<p class="property-text">off</p>
|
678 |
|
|
</div>
|
679 |
|
|
|
680 |
|
|
<a name="database.cycleTimeOfDBConnection"></a><h1 class="property-main"> database.cycleTimeOfDBConnection </h1>
|
681 |
|
|
<div class="property-description-line">
|
682 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
683 |
|
|
<p class="property-text">30000</p>
|
684 |
|
|
</div>
|
685 |
|
|
<div class="property-description-line">
|
686 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
687 |
|
|
<p class="property-text">Manual</p>
|
688 |
|
|
</div>
|
689 |
|
|
<div class="property-description-line">
|
690 |
|
|
<h2 class="property-inline"> Description: </h2>
|
691 |
|
|
<p class="property-text"> The time in milliseconds between connection
|
692 |
|
|
recycling runs.</p>
|
693 |
|
|
</div>
|
694 |
|
|
<div class="property-description-line">
|
695 |
|
|
<h2 class="property-inline"> Example: </h2>
|
696 |
|
|
<p class="property-text">30000</p>
|
697 |
|
|
</div>
|
698 |
|
|
|
699 |
|
|
<a name="database.queryignoredparams"></a><h1 class="property-main"> database.queryignoredparams </h1>
|
700 |
|
|
<div class="property-description-line">
|
701 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
702 |
|
|
<p class="property-text">enableediting,foo</p>
|
703 |
|
|
</div>
|
704 |
|
|
<div class="property-description-line">
|
705 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
706 |
|
|
<p class="property-text">Manual</p>
|
707 |
|
|
</div>
|
708 |
|
|
<div class="property-description-line">
|
709 |
|
|
<h2 class="property-inline"> Description: </h2>
|
710 |
|
|
<p class="property-text"> Parameters to ignore in a structured
|
711 |
|
|
xml query.</p>
|
712 |
|
|
</div>
|
713 |
|
|
<div class="property-description-line">
|
714 |
|
|
<h2 class="property-inline"> Example: </h2>
|
715 |
|
|
<p class="property-text">enableediting</p>
|
716 |
|
|
</div>
|
717 |
|
|
|
718 |
|
|
<a name="database.usexmlindex"></a><h1 class="property-main"> database.usexmlindex </h1>
|
719 |
|
|
<div class="property-description-line">
|
720 |
|
|
<h2 class="property-inline"> Default Value: </h2>
|
721 |
|
|
<p class="property-text">true</p>
|
722 |
|
|
</div>
|
723 |
|
|
<div class="property-description-line">
|
724 |
|
|
<h2 class="property-inline"> Set Method: </h2>
|
725 |
|
|
<p class="property-text">Manual</p>
|
726 |
|
|
</div>
|
727 |
|
|
<div class="property-description-line">
|
728 |
|
|
<h2 class="property-inline"> Description: </h2>
|
729 |
|
|
<p class="property-text"> Determines whether to use xml
|
730 |
|
|
indexes when finding documents. Possible values are true
|
731 |
|
|
and false.</p>
|
732 |
|
|
</div>
|
733 |
|
|
<div class="property-description-line">
|
734 |
|
|
<h2 class="property-inline"> Example: </h2>
|
735 |
|
|
<p class="property-text">true</p>
|
736 |
|
|
</div>
|
737 |
|
|
|
738 |
|
|
|
739 |
|
|
|
740 |
|
|
|
741 |
878
|
berkley
|
<table border="1">
|
742 |
|
|
<tr>
|
743 |
|
|
<td><b>Property</b></td>
|
744 |
|
|
<td><b>Description</b></td>
|
745 |
|
|
<td><b>Possible or default value</b></td>
|
746 |
|
|
</tr>
|
747 |
|
|
<tr>
|
748 |
881
|
berkley
|
<td>config-dir</td>
|
749 |
|
|
<td>directory where the style-sets exist</td>
|
750 |
|
|
<td>/opt/tomcat/webapps/metacat/lib</td>
|
751 |
878
|
berkley
|
</tr>
|
752 |
|
|
<tr>
|
753 |
881
|
berkley
|
<td>default-style</td>
|
754 |
|
|
<td>the style-set to use if qformat is set to 'html'</td>
|
755 |
|
|
<td></td>
|
756 |
|
|
</tr>
|
757 |
|
|
<tr>
|
758 |
878
|
berkley
|
<td>xmlcatalogfile</td>
|
759 |
|
|
<td>The default file type catalog file location.<br>
|
760 |
|
|
DEPRECATED</td>
|
761 |
|
|
<td>/opt/tomcat/webapps/xmltodb/catalog.txt</td>
|
762 |
|
|
</tr>
|
763 |
|
|
<tr>
|
764 |
881
|
berkley
|
<td>siteCode</td>
|
765 |
|
|
<td>The code for the current site.</td>
|
766 |
3591
|
costa
|
<td>nceas</td>
|
767 |
878
|
berkley
|
</tr>
|
768 |
|
|
<tr>
|
769 |
|
|
<td>accNumSeparator</td>
|
770 |
|
|
<td>The separator that is used to separate the three parts
|
771 |
|
|
of the accession number: codename, sequence and revision number.
|
772 |
2309
|
jones
|
changing this parameter will likely break the application, so make
|
773 |
|
|
sure you know what you are doing. It should be synchronized with
|
774 |
|
|
the Client application.</td>
|
775 |
878
|
berkley
|
<td>. (period)</td>
|
776 |
|
|
</tr>
|
777 |
|
|
<tr>
|
778 |
|
|
<td>saxparser</td>
|
779 |
|
|
<td>The SAX parser to be used to <a href="./saxparser.html">parse</a>
|
780 |
|
|
XML documents.</td>
|
781 |
|
|
<td>org.apache.xerces.parsers.SAXParser</td>
|
782 |
|
|
</tr>
|
783 |
|
|
<tr>
|
784 |
|
|
<td>servletpath</td>
|
785 |
|
|
<td>The path on the local machine to the Metacat Servlet.</td>
|
786 |
|
|
<td>/knb/servlet/metacat</td>
|
787 |
|
|
</tr>
|
788 |
|
|
<tr>
|
789 |
|
|
<td>htmlpath</td>
|
790 |
|
|
<td>The path to the HTML server for this Metacat context. This is where
|
791 |
|
|
the Metacat web interface would be served from.</td>
|
792 |
|
|
<td>/knb</td>
|
793 |
|
|
</tr>
|
794 |
|
|
<tr>
|
795 |
|
|
<td>packagedoctype</td>
|
796 |
|
|
<td>The doctype of a package file. The system will only recognize documents
|
797 |
|
|
of this type as a <a href="./packages.html">Package</a> files.</td>
|
798 |
|
|
<td>-//NCEAS//eml-dataset-2.0//EN</td>
|
799 |
|
|
</tr>
|
800 |
|
|
<tr>
|
801 |
|
|
<td>accessdoctype</td>
|
802 |
|
|
<td>The doctype of an access control list (ACL) file. The system will
|
803 |
|
|
only recognize documents of this type as an <a href="./acontrol.html">Access</a>
|
804 |
|
|
files.</td>
|
805 |
|
|
<td>-//NCEAS//eml-access-2.0//EN</td>
|
806 |
|
|
</tr>
|
807 |
|
|
<tr>
|
808 |
|
|
<td>server</td>
|
809 |
|
|
<td>The server on which this Metacat server runs.</td>
|
810 |
|
|
<td>dev.nceas.ucsb.edu:8090</td>
|
811 |
|
|
</tr>
|
812 |
|
|
<tr>
|
813 |
|
|
<td>authclass</td>
|
814 |
|
|
<td>The authorization plugin to use. In this example, LDAP.</td>
|
815 |
|
|
<td>edu.ucsb.nceas.metacat.AuthLdap</td>
|
816 |
|
|
</tr>
|
817 |
|
|
<tr>
|
818 |
|
|
<td>ldapurl</td>
|
819 |
|
|
<td>The path to your LDAP server (if LDAP authentication is being used.</td>
|
820 |
|
|
<td>ldap://ldap.nceas.ucsb.edu:389/</td>
|
821 |
|
|
</tr>
|
822 |
|
|
<tr>
|
823 |
|
|
<td>ldapsurl</td>
|
824 |
|
|
<td>The path to your LDAP server with SSL support.
|
825 |
|
|
(if LDAP authentication is being used and if your LDAT server is set
|
826 |
|
|
with SSL support.) 2 ports are used to listen: 389 for plain sockets
|
827 |
|
|
and 636 for SSL Sockect. If your LDAP server is not set to support SSL
|
828 |
|
|
this property should be the same as ldapurl, else Metacat will
|
829 |
|
|
retieve an error.</td>
|
830 |
|
|
<td>ldap://ldap.nceas.ucsb.edu:636/</td>
|
831 |
|
|
</tr>
|
832 |
|
|
<tr>
|
833 |
|
|
<td>ldapbase</td>
|
834 |
|
|
<td>LDAP base parameters for the LDAP server.</td>
|
835 |
|
|
<td>o=NCEAS,c=US</td>
|
836 |
|
|
</tr>
|
837 |
|
|
<tr>
|
838 |
881
|
berkley
|
<td>referral</td>
|
839 |
|
|
<td>The type of ldap referrals you want to use. Eithe 'follow', 'throw' or
|
840 |
|
|
'none'. See the ldap documentation for further information</td>
|
841 |
|
|
<td>follow</td>
|
842 |
|
|
</tr>
|
843 |
|
|
<tr>
|
844 |
878
|
berkley
|
<td>deltaT</td>
|
845 |
|
|
<td>The default delta T used for <a href="./replication.html">replication</a>.</td>
|
846 |
|
|
<td>60</td>
|
847 |
|
|
</tr>
|
848 |
|
|
<tr>
|
849 |
|
|
<td>replicationpath</td>
|
850 |
|
|
<td>The relative path to the replication servlet.</td>
|
851 |
|
|
<td>/knb/servlet/replication</td>
|
852 |
|
|
</tr>
|
853 |
|
|
<tr>
|
854 |
|
|
<td>replicationlog</td>
|
855 |
|
|
<td>Location of the replication log file.</td>
|
856 |
|
|
<td>/logs/Metacatreplication.log</td>
|
857 |
|
|
</tr>
|
858 |
|
|
<tr>
|
859 |
|
|
<td>dtdPath</td>
|
860 |
|
|
<td>Path to which DTDs are uploaded.</td>
|
861 |
|
|
<td>/opt/tomcat/webapps/knb/dtd/</td>
|
862 |
|
|
</tr>
|
863 |
|
|
<tr>
|
864 |
|
|
<td>dtdURL</td>
|
865 |
|
|
<td>The HTTP accessable URL to the DTD files specified in dtdPath.</td>
|
866 |
|
|
<td>http://server.domain.com/knb/dtd/</td>
|
867 |
|
|
</tr>
|
868 |
|
|
<tr>
|
869 |
|
|
<td>datafilepath</td>
|
870 |
|
|
<td>The path to which you want data files uploaded.</td>
|
871 |
|
|
<td>/opt/tomcat/webapps/knb/data</td>
|
872 |
|
|
</tr>
|
873 |
|
|
<tr>
|
874 |
881
|
berkley
|
<td>certPath</td>
|
875 |
|
|
<td>path to the SSL keys for secure transmissions.</td>
|
876 |
|
|
<td>/opt/tomcat/webapps/metacat/lib</td>
|
877 |
878
|
berkley
|
</tr>
|
878 |
2309
|
jones
|
<tr>
|
879 |
|
|
<td>administrators</td>
|
880 |
|
|
<td>The administrators parameter lists the accounts that are allowed to
|
881 |
|
|
perform administrative actions such as rebuilding indices for
|
882 |
|
|
documents. The list can can contain more than one account separated
|
883 |
|
|
by colons.</td>
|
884 |
|
|
<td>Default:
|
885 |
|
|
<code>uid=jones,o=NCEAS,dc=ecoinformatics,dc=org</code>
|
886 |
|
|
<br><br>Examples:
|
887 |
|
|
<code>uid=localadmin,o=ucnrs.org</code>
|
888 |
|
|
</td>
|
889 |
|
|
</tr>
|
890 |
|
|
<tr><td> </td></tr>
|
891 |
3591
|
costa
|
|
892 |
|
|
|
893 |
|
|
<tr><td colspan="3"><b>Additional properties that probably do not need to be changed</b></td></tr>
|
894 |
|
|
<tr><td>configured</td><td>Configuration flag</td><td>true</td></tr>
|
895 |
4169
|
daigle
|
<tr><td>configurationPage</td><td>The page to do metacat configuration<td>/configure.jsp</td></tr>
|
896 |
3591
|
costa
|
<tr><td>configurationSuccessPage</td><td>The page to show successful message after configuration</td><td>/configure-restart.jsp</td></tr>
|
897 |
|
|
<tr><td>version</td><td>Release version.</td><td>1.7.1</td></tr>
|
898 |
2309
|
jones
|
<tr><td>maximumConnectionAge</td><td> </td><td>120000</td></tr>
|
899 |
|
|
<tr><td>maximumConnectionTime</td><td> </td><td>60000</td></tr>
|
900 |
|
|
<tr><td>maximumUsageNumber</td><td> </td><td>100</td></tr>
|
901 |
3591
|
costa
|
<tr><td>numberOfIndexingThreads</td><td> </td><td>5</td></tr>
|
902 |
|
|
<tr><td>indexingTimerTaskTime</td><td> </td><td>604800000</td></tr>
|
903 |
|
|
<tr><td>indexingInitialDelay</td><td> </td><td>3600000</td></tr>
|
904 |
|
|
<tr><td>maximumIndexDelay</td><td> </td><td>5000</td></tr>
|
905 |
2309
|
jones
|
<tr><td>runDBConnectionRecycleThread</td><td> </td><td>off</td></tr>
|
906 |
|
|
<tr><td>cycleTimeOfDBConnection</td><td> </td><td>30000</td></tr>
|
907 |
3591
|
costa
|
<tr>
|
908 |
|
|
<td>timedreplication</td>
|
909 |
|
|
<td>Determines whether timed replication to other metacat servers is being used.</td>
|
910 |
|
|
<td>Default:
|
911 |
|
|
<code>false</code>
|
912 |
|
|
<br><br>Other possible values:
|
913 |
|
|
<code>true</code>
|
914 |
|
|
</td>
|
915 |
|
|
</tr>
|
916 |
|
|
<tr>
|
917 |
|
|
<td>firsttimedreplication</td>
|
918 |
|
|
<td>The time for starting first timed replication if timedreplication is true.
|
919 |
|
|
(See comments in build.properties file for additional details.)</td>
|
920 |
|
|
<td>Default:
|
921 |
|
|
<code>10:00 PM</code>
|
922 |
|
|
<code> </code>
|
923 |
|
|
</td>
|
924 |
|
|
</tr>
|
925 |
|
|
<tr>
|
926 |
|
|
<td>timedreplicationinterval</td>
|
927 |
|
|
<td>The interval to next timed replication if timedreplication is true.
|
928 |
|
|
The value is in milliseconds and default value is 48 hours.</td>
|
929 |
|
|
<td>Default:
|
930 |
|
|
<code>172800000</code>
|
931 |
|
|
<code> </code>
|
932 |
|
|
</td>
|
933 |
|
|
</tr>
|
934 |
2309
|
jones
|
<tr><td>forcereplicationwaitingtime</td><td> </td><td></td></tr>
|
935 |
|
|
<tr><td>eml2_0_0namespace</td><td>Namespace of EML 2.0.0 documents.</td><td>eml://ecoinformatics.org/eml-2.0.0</td></tr>
|
936 |
2463
|
sgarg
|
<tr><td>eml2_0_1namespace</td><td>Namespace of EML 2.0.1 documents.</td><td>eml://ecoinformatics.org/eml-2.0.1</td></tr>
|
937 |
2309
|
jones
|
<tr><td>eml2_1_0namespace</td><td>Namespace of EML 2.1.0 documents. Currently unused, reserved.</td><td>eml://ecoinformatics.org/eml-2.1.0</td></tr>
|
938 |
|
|
<tr><td>physicaldoctype</td><td> </td><td>-//ecoinformatics.org//eml-physical-2.0.0beta6//EN, -//ecoinformatics.org//eml-physical-2.0.0beta4//EN</td></tr>
|
939 |
|
|
<tr><td>entitydoctype</td><td> </td><td>-//ecoinformatics.org//eml-entity-2.0.0beta6//EN, -//ecoinformatics.org//eml-entity-2.0.0beta4//EN</td></tr>
|
940 |
|
|
<tr><td>packagedoctypeset</td><td> </td><td> </td></tr>
|
941 |
3591
|
costa
|
<tr>
|
942 |
|
|
<td>httpserver</td>
|
943 |
|
|
<td>httpserver is the plain HTTP address and port number that Metacat uses for purposes
|
944 |
|
|
other than replication. Since this property is usually composed of the <code>config.hosthame</code> and <code>config.port</code>
|
945 |
|
|
properties (described above), the default setting can be used in most cases.</td>
|
946 |
|
|
<td>Default: <code>${config.hostname}:${config.port}</code>
|
947 |
|
|
</td>
|
948 |
|
|
</tr>
|
949 |
2309
|
jones
|
<tr><td>junittesturl</td><td>The url of the test server.</td><td></td></tr>
|
950 |
|
|
<tr><td>replicationerrorlog</td><td> </td><td></td></tr>
|
951 |
|
|
<tr><td>schemaPath</td><td>Path to installed XSD schemas.</td><td></td></tr>
|
952 |
|
|
<tr><td>schemaURL</td><td>URL to installed XSD schemas.</td><td></td></tr>
|
953 |
|
|
<tr><td>inlinedatafilepath</td><td>Path for storing data that was extracted from <code>inline</code> element of EML documents.</td><td></td></tr>
|
954 |
|
|
<tr><td>context</td><td>The name of the servlet context</td><td></td></tr>
|
955 |
|
|
<tr><td>debuglevel</td><td>Verbosity of debugging messages. Higher numbers means more debugging detail.</td><td></td></tr>
|
956 |
|
|
<tr><td>datafileflag</td><td> </td><td>datafile</td></tr>
|
957 |
|
|
<tr><td>datafilesizelimit</td><td>Limit on file size for uploaded data files.</td><td>1000</td></tr>
|
958 |
|
|
<tr><td>defaultcontenttype</td><td> </td><td></td></tr>
|
959 |
|
|
<tr><td>query.ignored.params</td><td>Parameters that are passed through to XSLT style sheets without modification.</td><td>enableediting,foo</td></tr>
|
960 |
|
|
<tr><td>usexmlindex</td><td>Flag indicating whether to use the traditional xml_index table or not. This needs to be set on startup, and once set to false can not be changed back to true without significant database modifications. Setting this option to 'false' also slows down queries significantly, but it does allow arbitrarily deep dcoument paths. Not recommended to change this setting -- data loss may result.</td><td>true</td></tr>
|
961 |
2463
|
sgarg
|
<tr><td>app_resultsetsize</td><td>Used for the setting the size of resultset that is processed at a time for applications like morpho</td><td>400</td></tr>
|
962 |
|
|
<tr><td>web_resultsetsize</td><td>Used for the setting the size of resultset for search done using browser</td><td>900</td></tr>
|
963 |
|
|
<tr><td>queryresult_string_length</td><td>Used for the setting the size of queryresult_string in queryresult table</td><td>4000</td></tr>
|
964 |
3591
|
costa
|
<tr>
|
965 |
|
|
<td>queryresult_cache_size</td>
|
966 |
|
|
<td>The size of query result cache.</td>
|
967 |
|
|
<td>Default: 500</td>
|
968 |
|
|
</tr>
|
969 |
|
|
<tr>
|
970 |
|
|
<td>query_cache_on</td>
|
971 |
|
|
<td>Turn the query result cache on or off</td>
|
972 |
|
|
<td>Default: true</td>
|
973 |
|
|
</tr>
|
974 |
2463
|
sgarg
|
<tr><td>xml_returnfield_count</td><td>Value of xml_returnfield.usage_count should be more than this value for records to be entered into xml_queryresult</td><td>0</td></tr>
|
975 |
3591
|
costa
|
<tr>
|
976 |
|
|
<td>moderators</td>
|
977 |
|
|
<td>Moderator accounts, in a colon-separated list. Special users who will review general user's submission.
|
978 |
|
|
Moderators can approve, revise and reject the submission after reviewing. This property is only used in ESA skin.</td>
|
979 |
|
|
<td>Default: <code>cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org</code></td>
|
980 |
|
|
</tr>
|
981 |
|
|
<tr>
|
982 |
|
|
<td>allowedSubmitters</td>
|
983 |
|
|
<td>Specifies the list of users who should be allowed to submit documents.
|
984 |
|
|
If no value is specified (the default setting), all users will be allowed to submit documents.
|
985 |
|
|
</td>
|
986 |
|
|
<td>Default: (no value)</td>
|
987 |
|
|
</tr>
|
988 |
|
|
<tr>
|
989 |
|
|
<td>deniedSubmitters</td>
|
990 |
|
|
<td>Specify the list of users who should not be allowed to submit documents.
|
991 |
|
|
If no value is specified (the default setting), all users will be allowed to submit documents.</td>
|
992 |
|
|
<td>Default: (no value)</td>
|
993 |
|
|
</tr>
|
994 |
|
|
<tr>
|
995 |
|
|
<td>indexNamespaces</td>
|
996 |
|
|
<td>A comma-separated list of doctypes which will be indexed</td>
|
997 |
3780
|
daigle
|
<td>Default: eml://ecoinformatics.org/eml-2.0.0,eml://ecoinformatics.org/eml-2.0.1</td>
|
998 |
3591
|
costa
|
</tr>
|
999 |
|
|
<tr>
|
1000 |
|
|
<td>indexPaths</td>
|
1001 |
|
|
<td>See <a href="./metacatinstall.html#buildProperties">description of build properties</a></td>
|
1002 |
|
|
<td>Default: <code>organizationName,originator/individualName/surName,...</code></td>
|
1003 |
|
|
</tr>
|
1004 |
|
|
<tr>
|
1005 |
|
|
<td>ldapconnecttimelimit</td>
|
1006 |
|
|
<td>The time in milliseconds allowed for ldap server connections.</td>
|
1007 |
|
|
<td>Default: 5000</td>
|
1008 |
|
|
</tr>
|
1009 |
|
|
<tr>
|
1010 |
|
|
<td>ldapsearchtimelimit</td>
|
1011 |
|
|
<td>The time in milliseconds allowed for ldap server searches.</td>
|
1012 |
|
|
<td>Default: 30000</td>
|
1013 |
|
|
</tr>
|
1014 |
|
|
<tr>
|
1015 |
|
|
<td>ldapsearchcountlimit</td>
|
1016 |
|
|
<td>The count of return entries allowed for ldap server searches.</td>
|
1017 |
|
|
<td>Default: 30000</td>
|
1018 |
|
|
</tr>
|
1019 |
|
|
<tr>
|
1020 |
|
|
<td>onlySecureLDAPConnection</td>
|
1021 |
|
|
<td>When set to true, connects main LDAP server only by SSL</td>
|
1022 |
|
|
<td>Default: false</td>
|
1023 |
|
|
</tr>
|
1024 |
|
|
<tr>
|
1025 |
|
|
<td>onlySecureLDAPReferalsConnection</td>
|
1026 |
|
|
<td>When set to true, connects referal LDAP server only by SSL</td>
|
1027 |
|
|
<td>Default: false</td>
|
1028 |
|
|
</tr>
|
1029 |
|
|
<tr>
|
1030 |
|
|
<td>skinconfigfiles</td>
|
1031 |
|
|
<td>List of skins which have configure files</td>
|
1032 |
|
|
<td>Default: esa,nceas,knb,obfs,nrs,sanparks</td>
|
1033 |
|
|
</tr>
|
1034 |
|
|
<tr>
|
1035 |
|
|
<td>writeDebugToFile</td>
|
1036 |
|
|
<td>Used for writing debug info into a another output file.</td>
|
1037 |
|
|
<td>Default: true</td>
|
1038 |
|
|
</tr>
|
1039 |
|
|
<tr>
|
1040 |
|
|
<td>debugOutputFile</td>
|
1041 |
|
|
<td>Output file name where debug info will be written.</td>
|
1042 |
|
|
<td>Default: /tmp/metacat.debug</td>
|
1043 |
|
|
</tr>
|
1044 |
|
|
<tr>
|
1045 |
|
|
<td>delimiteredOutputFile</td>
|
1046 |
|
|
<td>Delimited text output file name where debug info will be written.</td>
|
1047 |
|
|
<td>Default: /tmp/metacat.debug.delimitered</td>
|
1048 |
|
|
</tr>
|
1049 |
|
|
<tr>
|
1050 |
|
|
<td><em>Metacat Harvester properties</em>:<br/><br/>
|
1051 |
|
|
connectToMetacat, delay, harvesterAdministrator,
|
1052 |
|
|
logPeriod, maxHarvests, period, smtpServer, GetDocError, GetDocSuccess, GetHarvestListError,
|
1053 |
|
|
GetHarvestListSuccess, HarvesterStartup, HarvesterShutdown, InsertDocError, InsertDocSuccess,
|
1054 |
|
|
MetacatHasDoc, UpdateDocError, UpdateDocSuccess, ValidateDocError, ValidateDocSuccess,
|
1055 |
|
|
ValidateHarvestListError, ValidateHarvestListSuccess</td>
|
1056 |
|
|
<td>See <a href="./harvester.html">Metacat Harvester</a> documentation</td>
|
1057 |
|
|
<td></td>
|
1058 |
|
|
</tr>
|
1059 |
|
|
<tr>
|
1060 |
|
|
<td><em>Spatial properties</em>:<br/><br/>
|
1061 |
|
|
runSpatialOption,
|
1062 |
|
|
regenerateCacheOnRestart,
|
1063 |
|
|
spatialDocnameList,
|
1064 |
|
|
eml_westBoundingCoordinatePath,
|
1065 |
|
|
eml_eastBoundingCoordinatePath,
|
1066 |
|
|
eml_southBoundingCoordinatePath,
|
1067 |
|
|
eml_northBoundingCoordinatePath,
|
1068 |
|
|
fgdc_westBoundingCoordinatePath,
|
1069 |
|
|
fgdc_eastBoundingCoordinatePath,
|
1070 |
|
|
fgdc_southBoundingCoordinatePath,
|
1071 |
|
|
fgdc_northBoundingCoordinatePath,
|
1072 |
|
|
metadata_westBoundingCoordinatePath,
|
1073 |
|
|
metadata_eastBoundingCoordinatePath,
|
1074 |
|
|
metadata_southBoundingCoordinatePath,
|
1075 |
|
|
metadata_northBoundingCoordinatePath,
|
1076 |
|
|
docTitle,
|
1077 |
|
|
metacatUrl,
|
1078 |
|
|
baseUrl
|
1079 |
|
|
</td>
|
1080 |
|
|
<td>See <a href="./spatial_option.html">Metacat Spatial Option</a> documentation</td>
|
1081 |
|
|
<td></td>
|
1082 |
|
|
</tr>
|
1083 |
|
|
<tr>
|
1084 |
|
|
<td>sitemapDirectory</td>
|
1085 |
|
|
<td>The relative directory path in which sitemap files should be written.</td>
|
1086 |
3659
|
barteau
|
<td>Default: {tomcat_dir}/webapps/{context_name}/sitemaps</td>
|
1087 |
3591
|
costa
|
</tr>
|
1088 |
|
|
<tr>
|
1089 |
|
|
<td>sitemapInterval</td>
|
1090 |
|
|
<td>The time interval (in milliseconds) between rebuilding the sitemap.</td>
|
1091 |
|
|
<td>Default: 86400000</td>
|
1092 |
|
|
</tr>
|
1093 |
878
|
berkley
|
</table>
|
1094 |
|
|
|
1095 |
|
|
<br>
|
1096 |
|
|
<a href="./datafiles.html">Back</a> | <a href="./metacattour.html">Home</a> |
|
1097 |
2131
|
costa
|
<a href="./harvester.html">Next</a>
|
1098 |
878
|
berkley
|
|
1099 |
|
|
|
1100 |
|
|
</BODY>
|
1101 |
3659
|
barteau
|
</HTML>
|