1
|
<!--
|
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
|
<TITLE>Metacat Properties Files</TITLE>
|
17
|
<link rel="stylesheet" type="text/css" href="./default.css">
|
18
|
</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
|
<a href="./harvester.html">Next</a>
|
26
|
</td>
|
27
|
</tr>
|
28
|
</table>
|
29
|
<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
|
</p>
|
57
|
|
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
|
</div>
|
297
|
|
298
|
<a name="database.user"></a><h1 class="property-main"> database.user </h1>
|
299
|
<div class="property-description-line">
|
300
|
<h2 class="property-inline"> Default Value: </h2>
|
301
|
<p class="property-text">(none)</p>
|
302
|
</div>
|
303
|
<div class="property-description-line">
|
304
|
<h2 class="property-inline"> Set Method: </h2>
|
305
|
<p class="property-text">Configuration Utility</p>
|
306
|
</div>
|
307
|
<div class="property-description-line">
|
308
|
<h2 class="property-inline"> Description: </h2>
|
309
|
<p class="property-text">The main database instance for Metacat.
|
310
|
An empty database must have been created prior to Metacat
|
311
|
configuration</p>
|
312
|
</div>
|
313
|
<div class="property-description-line">
|
314
|
<h2 class="property-inline"> Example: </h2>
|
315
|
<p class="property-text">metacat</p>
|
316
|
</div>
|
317
|
|
318
|
|
319
|
|
320
|
|
321
|
<table border="1">
|
322
|
<tr>
|
323
|
<td><b>Property</b></td>
|
324
|
<td><b>Description</b></td>
|
325
|
<td><b>Possible or default value</b></td>
|
326
|
</tr>
|
327
|
<tr>
|
328
|
<td>user</td>
|
329
|
<td>The username that Metacat uses to access the backend database.</td>
|
330
|
<td> </td>
|
331
|
</tr>
|
332
|
<tr>
|
333
|
<td>password</td>
|
334
|
<td>The password that Metacat uses to access the backend database.</td>
|
335
|
<td> </td>
|
336
|
</tr>
|
337
|
<tr>
|
338
|
<td>defaultDB</td>
|
339
|
<td>The JDBC connection string that Metacat uses to connect to the backend
|
340
|
database.</td>
|
341
|
<td>jdbc:oracle:thin:@server.domain.com:1521:Metacat</td>
|
342
|
</tr>
|
343
|
<tr>
|
344
|
<td>dbDriver</td>
|
345
|
<td>The JDBC driver to be used to access the backend database.</td>
|
346
|
<td>oracle.jdbc.driver.OracleDriver</td>
|
347
|
</tr>
|
348
|
<tr>
|
349
|
<td>dbAdapter</td>
|
350
|
<td>The name of the RDBMS Adapter Class that Metacat uses to get specific
|
351
|
features in the backend database.</td>
|
352
|
<td>edu.ucsb.nceas.dbadapter.OracleAdapter</td>
|
353
|
</tr>
|
354
|
<tr>
|
355
|
<td>initialConnections</td>
|
356
|
<td>The number of initial connection that Metacat creates to the database.</td>
|
357
|
<td>5</td>
|
358
|
</tr>
|
359
|
<tr>
|
360
|
<td>incrementConnections</td>
|
361
|
<td>The number of connections that are created when Metacat needs more
|
362
|
connections.</td>
|
363
|
<td>5</td>
|
364
|
</tr>
|
365
|
<tr>
|
366
|
<td>maximumConnections</td>
|
367
|
<td>The maximum number of database connection Metacat can make.</td>
|
368
|
<td>25</td>
|
369
|
</tr>
|
370
|
<tr>
|
371
|
<td>config-dir</td>
|
372
|
<td>directory where the style-sets exist</td>
|
373
|
<td>/opt/tomcat/webapps/metacat/lib</td>
|
374
|
</tr>
|
375
|
<tr>
|
376
|
<td>default-style</td>
|
377
|
<td>the style-set to use if qformat is set to 'html'</td>
|
378
|
<td></td>
|
379
|
</tr>
|
380
|
<tr>
|
381
|
<td>xmlcatalogfile</td>
|
382
|
<td>The default file type catalog file location.<br>
|
383
|
DEPRECATED</td>
|
384
|
<td>/opt/tomcat/webapps/xmltodb/catalog.txt</td>
|
385
|
</tr>
|
386
|
<tr>
|
387
|
<td>siteCode</td>
|
388
|
<td>The code for the current site.</td>
|
389
|
<td>nceas</td>
|
390
|
</tr>
|
391
|
<tr>
|
392
|
<td>accNumSeparator</td>
|
393
|
<td>The separator that is used to separate the three parts
|
394
|
of the accession number: codename, sequence and revision number.
|
395
|
changing this parameter will likely break the application, so make
|
396
|
sure you know what you are doing. It should be synchronized with
|
397
|
the Client application.</td>
|
398
|
<td>. (period)</td>
|
399
|
</tr>
|
400
|
<tr>
|
401
|
<td>saxparser</td>
|
402
|
<td>The SAX parser to be used to <a href="./saxparser.html">parse</a>
|
403
|
XML documents.</td>
|
404
|
<td>org.apache.xerces.parsers.SAXParser</td>
|
405
|
</tr>
|
406
|
<tr>
|
407
|
<td>servletpath</td>
|
408
|
<td>The path on the local machine to the Metacat Servlet.</td>
|
409
|
<td>/knb/servlet/metacat</td>
|
410
|
</tr>
|
411
|
<tr>
|
412
|
<td>htmlpath</td>
|
413
|
<td>The path to the HTML server for this Metacat context. This is where
|
414
|
the Metacat web interface would be served from.</td>
|
415
|
<td>/knb</td>
|
416
|
</tr>
|
417
|
<tr>
|
418
|
<td>packagedoctype</td>
|
419
|
<td>The doctype of a package file. The system will only recognize documents
|
420
|
of this type as a <a href="./packages.html">Package</a> files.</td>
|
421
|
<td>-//NCEAS//eml-dataset-2.0//EN</td>
|
422
|
</tr>
|
423
|
<tr>
|
424
|
<td>accessdoctype</td>
|
425
|
<td>The doctype of an access control list (ACL) file. The system will
|
426
|
only recognize documents of this type as an <a href="./acontrol.html">Access</a>
|
427
|
files.</td>
|
428
|
<td>-//NCEAS//eml-access-2.0//EN</td>
|
429
|
</tr>
|
430
|
<tr>
|
431
|
<td>server</td>
|
432
|
<td>The server on which this Metacat server runs.</td>
|
433
|
<td>dev.nceas.ucsb.edu:8090</td>
|
434
|
</tr>
|
435
|
<tr>
|
436
|
<td>authclass</td>
|
437
|
<td>The authorization plugin to use. In this example, LDAP.</td>
|
438
|
<td>edu.ucsb.nceas.metacat.AuthLdap</td>
|
439
|
</tr>
|
440
|
<tr>
|
441
|
<td>ldapurl</td>
|
442
|
<td>The path to your LDAP server (if LDAP authentication is being used.</td>
|
443
|
<td>ldap://ldap.nceas.ucsb.edu:389/</td>
|
444
|
</tr>
|
445
|
<tr>
|
446
|
<td>ldapsurl</td>
|
447
|
<td>The path to your LDAP server with SSL support.
|
448
|
(if LDAP authentication is being used and if your LDAT server is set
|
449
|
with SSL support.) 2 ports are used to listen: 389 for plain sockets
|
450
|
and 636 for SSL Sockect. If your LDAP server is not set to support SSL
|
451
|
this property should be the same as ldapurl, else Metacat will
|
452
|
retieve an error.</td>
|
453
|
<td>ldap://ldap.nceas.ucsb.edu:636/</td>
|
454
|
</tr>
|
455
|
<tr>
|
456
|
<td>ldapbase</td>
|
457
|
<td>LDAP base parameters for the LDAP server.</td>
|
458
|
<td>o=NCEAS,c=US</td>
|
459
|
</tr>
|
460
|
<tr>
|
461
|
<td>referral</td>
|
462
|
<td>The type of ldap referrals you want to use. Eithe 'follow', 'throw' or
|
463
|
'none'. See the ldap documentation for further information</td>
|
464
|
<td>follow</td>
|
465
|
</tr>
|
466
|
<tr>
|
467
|
<td>deltaT</td>
|
468
|
<td>The default delta T used for <a href="./replication.html">replication</a>.</td>
|
469
|
<td>60</td>
|
470
|
</tr>
|
471
|
<tr>
|
472
|
<td>replicationpath</td>
|
473
|
<td>The relative path to the replication servlet.</td>
|
474
|
<td>/knb/servlet/replication</td>
|
475
|
</tr>
|
476
|
<tr>
|
477
|
<td>replicationlog</td>
|
478
|
<td>Location of the replication log file.</td>
|
479
|
<td>/logs/Metacatreplication.log</td>
|
480
|
</tr>
|
481
|
<tr>
|
482
|
<td>dtdPath</td>
|
483
|
<td>Path to which DTDs are uploaded.</td>
|
484
|
<td>/opt/tomcat/webapps/knb/dtd/</td>
|
485
|
</tr>
|
486
|
<tr>
|
487
|
<td>dtdURL</td>
|
488
|
<td>The HTTP accessable URL to the DTD files specified in dtdPath.</td>
|
489
|
<td>http://server.domain.com/knb/dtd/</td>
|
490
|
</tr>
|
491
|
<tr>
|
492
|
<td>datafilepath</td>
|
493
|
<td>The path to which you want data files uploaded.</td>
|
494
|
<td>/opt/tomcat/webapps/knb/data</td>
|
495
|
</tr>
|
496
|
<tr>
|
497
|
<td>certPath</td>
|
498
|
<td>path to the SSL keys for secure transmissions.</td>
|
499
|
<td>/opt/tomcat/webapps/metacat/lib</td>
|
500
|
</tr>
|
501
|
<tr>
|
502
|
<td>administrators</td>
|
503
|
<td>The administrators parameter lists the accounts that are allowed to
|
504
|
perform administrative actions such as rebuilding indices for
|
505
|
documents. The list can can contain more than one account separated
|
506
|
by colons.</td>
|
507
|
<td>Default:
|
508
|
<code>uid=jones,o=NCEAS,dc=ecoinformatics,dc=org</code>
|
509
|
<br><br>Examples:
|
510
|
<code>uid=localadmin,o=ucnrs.org</code>
|
511
|
</td>
|
512
|
</tr>
|
513
|
<tr><td> </td></tr>
|
514
|
|
515
|
|
516
|
<tr><td colspan="3"><b>Additional properties that probably do not need to be changed</b></td></tr>
|
517
|
<tr><td>configured</td><td>Configuration flag</td><td>true</td></tr>
|
518
|
<tr><td>configurationPage</td><td>The page to do metacat configuration<td>/configure.jsp</td></tr>
|
519
|
<tr><td>configurationSuccessPage</td><td>The page to show successful message after configuration</td><td>/configure-restart.jsp</td></tr>
|
520
|
<tr><td>version</td><td>Release version.</td><td>1.7.1</td></tr>
|
521
|
<tr><td>maximumConnectionAge</td><td> </td><td>120000</td></tr>
|
522
|
<tr><td>maximumConnectionTime</td><td> </td><td>60000</td></tr>
|
523
|
<tr><td>maximumUsageNumber</td><td> </td><td>100</td></tr>
|
524
|
<tr><td>numberOfIndexingThreads</td><td> </td><td>5</td></tr>
|
525
|
<tr><td>indexingTimerTaskTime</td><td> </td><td>604800000</td></tr>
|
526
|
<tr><td>indexingInitialDelay</td><td> </td><td>3600000</td></tr>
|
527
|
<tr><td>maximumIndexDelay</td><td> </td><td>5000</td></tr>
|
528
|
<tr><td>runDBConnectionRecycleThread</td><td> </td><td>off</td></tr>
|
529
|
<tr><td>cycleTimeOfDBConnection</td><td> </td><td>30000</td></tr>
|
530
|
<tr>
|
531
|
<td>timedreplication</td>
|
532
|
<td>Determines whether timed replication to other metacat servers is being used.</td>
|
533
|
<td>Default:
|
534
|
<code>false</code>
|
535
|
<br><br>Other possible values:
|
536
|
<code>true</code>
|
537
|
</td>
|
538
|
</tr>
|
539
|
<tr>
|
540
|
<td>firsttimedreplication</td>
|
541
|
<td>The time for starting first timed replication if timedreplication is true.
|
542
|
(See comments in build.properties file for additional details.)</td>
|
543
|
<td>Default:
|
544
|
<code>10:00 PM</code>
|
545
|
<code> </code>
|
546
|
</td>
|
547
|
</tr>
|
548
|
<tr>
|
549
|
<td>timedreplicationinterval</td>
|
550
|
<td>The interval to next timed replication if timedreplication is true.
|
551
|
The value is in milliseconds and default value is 48 hours.</td>
|
552
|
<td>Default:
|
553
|
<code>172800000</code>
|
554
|
<code> </code>
|
555
|
</td>
|
556
|
</tr>
|
557
|
<tr><td>forcereplicationwaitingtime</td><td> </td><td></td></tr>
|
558
|
<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>
|
559
|
<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>
|
560
|
<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>
|
561
|
<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>
|
562
|
<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>
|
563
|
<tr><td>packagedoctypeset</td><td> </td><td> </td></tr>
|
564
|
<tr>
|
565
|
<td>httpserver</td>
|
566
|
<td>httpserver is the plain HTTP address and port number that Metacat uses for purposes
|
567
|
other than replication. Since this property is usually composed of the <code>config.hosthame</code> and <code>config.port</code>
|
568
|
properties (described above), the default setting can be used in most cases.</td>
|
569
|
<td>Default: <code>${config.hostname}:${config.port}</code>
|
570
|
</td>
|
571
|
</tr>
|
572
|
<tr><td>junittesturl</td><td>The url of the test server.</td><td></td></tr>
|
573
|
<tr><td>replicationerrorlog</td><td> </td><td></td></tr>
|
574
|
<tr><td>schemaPath</td><td>Path to installed XSD schemas.</td><td></td></tr>
|
575
|
<tr><td>schemaURL</td><td>URL to installed XSD schemas.</td><td></td></tr>
|
576
|
<tr><td>inlinedatafilepath</td><td>Path for storing data that was extracted from <code>inline</code> element of EML documents.</td><td></td></tr>
|
577
|
<tr><td>context</td><td>The name of the servlet context</td><td></td></tr>
|
578
|
<tr><td>debuglevel</td><td>Verbosity of debugging messages. Higher numbers means more debugging detail.</td><td></td></tr>
|
579
|
<tr><td>datafileflag</td><td> </td><td>datafile</td></tr>
|
580
|
<tr><td>datafilesizelimit</td><td>Limit on file size for uploaded data files.</td><td>1000</td></tr>
|
581
|
<tr><td>defaultcontenttype</td><td> </td><td></td></tr>
|
582
|
<tr><td>query.ignored.params</td><td>Parameters that are passed through to XSLT style sheets without modification.</td><td>enableediting,foo</td></tr>
|
583
|
<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>
|
584
|
<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>
|
585
|
<tr><td>web_resultsetsize</td><td>Used for the setting the size of resultset for search done using browser</td><td>900</td></tr>
|
586
|
<tr><td>queryresult_string_length</td><td>Used for the setting the size of queryresult_string in queryresult table</td><td>4000</td></tr>
|
587
|
<tr>
|
588
|
<td>queryresult_cache_size</td>
|
589
|
<td>The size of query result cache.</td>
|
590
|
<td>Default: 500</td>
|
591
|
</tr>
|
592
|
<tr>
|
593
|
<td>query_cache_on</td>
|
594
|
<td>Turn the query result cache on or off</td>
|
595
|
<td>Default: true</td>
|
596
|
</tr>
|
597
|
<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>
|
598
|
<tr>
|
599
|
<td>moderators</td>
|
600
|
<td>Moderator accounts, in a colon-separated list. Special users who will review general user's submission.
|
601
|
Moderators can approve, revise and reject the submission after reviewing. This property is only used in ESA skin.</td>
|
602
|
<td>Default: <code>cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org</code></td>
|
603
|
</tr>
|
604
|
<tr>
|
605
|
<td>allowedSubmitters</td>
|
606
|
<td>Specifies the list of users who should be allowed to submit documents.
|
607
|
If no value is specified (the default setting), all users will be allowed to submit documents.
|
608
|
</td>
|
609
|
<td>Default: (no value)</td>
|
610
|
</tr>
|
611
|
<tr>
|
612
|
<td>deniedSubmitters</td>
|
613
|
<td>Specify the list of users who should not be allowed to submit documents.
|
614
|
If no value is specified (the default setting), all users will be allowed to submit documents.</td>
|
615
|
<td>Default: (no value)</td>
|
616
|
</tr>
|
617
|
<tr>
|
618
|
<td>indexNamespaces</td>
|
619
|
<td>A comma-separated list of doctypes which will be indexed</td>
|
620
|
<td>Default: eml://ecoinformatics.org/eml-2.0.0,eml://ecoinformatics.org/eml-2.0.1</td>
|
621
|
</tr>
|
622
|
<tr>
|
623
|
<td>indexPaths</td>
|
624
|
<td>See <a href="./metacatinstall.html#buildProperties">description of build properties</a></td>
|
625
|
<td>Default: <code>organizationName,originator/individualName/surName,...</code></td>
|
626
|
</tr>
|
627
|
<tr>
|
628
|
<td>ldapconnecttimelimit</td>
|
629
|
<td>The time in milliseconds allowed for ldap server connections.</td>
|
630
|
<td>Default: 5000</td>
|
631
|
</tr>
|
632
|
<tr>
|
633
|
<td>ldapsearchtimelimit</td>
|
634
|
<td>The time in milliseconds allowed for ldap server searches.</td>
|
635
|
<td>Default: 30000</td>
|
636
|
</tr>
|
637
|
<tr>
|
638
|
<td>ldapsearchcountlimit</td>
|
639
|
<td>The count of return entries allowed for ldap server searches.</td>
|
640
|
<td>Default: 30000</td>
|
641
|
</tr>
|
642
|
<tr>
|
643
|
<td>onlySecureLDAPConnection</td>
|
644
|
<td>When set to true, connects main LDAP server only by SSL</td>
|
645
|
<td>Default: false</td>
|
646
|
</tr>
|
647
|
<tr>
|
648
|
<td>onlySecureLDAPReferalsConnection</td>
|
649
|
<td>When set to true, connects referal LDAP server only by SSL</td>
|
650
|
<td>Default: false</td>
|
651
|
</tr>
|
652
|
<tr>
|
653
|
<td>skinconfigfiles</td>
|
654
|
<td>List of skins which have configure files</td>
|
655
|
<td>Default: esa,nceas,knb,obfs,nrs,sanparks</td>
|
656
|
</tr>
|
657
|
<tr>
|
658
|
<td>writeDebugToFile</td>
|
659
|
<td>Used for writing debug info into a another output file.</td>
|
660
|
<td>Default: true</td>
|
661
|
</tr>
|
662
|
<tr>
|
663
|
<td>debugOutputFile</td>
|
664
|
<td>Output file name where debug info will be written.</td>
|
665
|
<td>Default: /tmp/metacat.debug</td>
|
666
|
</tr>
|
667
|
<tr>
|
668
|
<td>delimiteredOutputFile</td>
|
669
|
<td>Delimited text output file name where debug info will be written.</td>
|
670
|
<td>Default: /tmp/metacat.debug.delimitered</td>
|
671
|
</tr>
|
672
|
<tr>
|
673
|
<td><em>Metacat Harvester properties</em>:<br/><br/>
|
674
|
connectToMetacat, delay, harvesterAdministrator,
|
675
|
logPeriod, maxHarvests, period, smtpServer, GetDocError, GetDocSuccess, GetHarvestListError,
|
676
|
GetHarvestListSuccess, HarvesterStartup, HarvesterShutdown, InsertDocError, InsertDocSuccess,
|
677
|
MetacatHasDoc, UpdateDocError, UpdateDocSuccess, ValidateDocError, ValidateDocSuccess,
|
678
|
ValidateHarvestListError, ValidateHarvestListSuccess</td>
|
679
|
<td>See <a href="./harvester.html">Metacat Harvester</a> documentation</td>
|
680
|
<td></td>
|
681
|
</tr>
|
682
|
<tr>
|
683
|
<td><em>Spatial properties</em>:<br/><br/>
|
684
|
runSpatialOption,
|
685
|
regenerateCacheOnRestart,
|
686
|
spatialDocnameList,
|
687
|
eml_westBoundingCoordinatePath,
|
688
|
eml_eastBoundingCoordinatePath,
|
689
|
eml_southBoundingCoordinatePath,
|
690
|
eml_northBoundingCoordinatePath,
|
691
|
fgdc_westBoundingCoordinatePath,
|
692
|
fgdc_eastBoundingCoordinatePath,
|
693
|
fgdc_southBoundingCoordinatePath,
|
694
|
fgdc_northBoundingCoordinatePath,
|
695
|
metadata_westBoundingCoordinatePath,
|
696
|
metadata_eastBoundingCoordinatePath,
|
697
|
metadata_southBoundingCoordinatePath,
|
698
|
metadata_northBoundingCoordinatePath,
|
699
|
docTitle,
|
700
|
metacatUrl,
|
701
|
baseUrl
|
702
|
</td>
|
703
|
<td>See <a href="./spatial_option.html">Metacat Spatial Option</a> documentation</td>
|
704
|
<td></td>
|
705
|
</tr>
|
706
|
<tr>
|
707
|
<td>sitemapDirectory</td>
|
708
|
<td>The relative directory path in which sitemap files should be written.</td>
|
709
|
<td>Default: {tomcat_dir}/webapps/{context_name}/sitemaps</td>
|
710
|
</tr>
|
711
|
<tr>
|
712
|
<td>sitemapInterval</td>
|
713
|
<td>The time interval (in milliseconds) between rebuilding the sitemap.</td>
|
714
|
<td>Default: 86400000</td>
|
715
|
</tr>
|
716
|
</table>
|
717
|
|
718
|
<br>
|
719
|
<a href="./datafiles.html">Back</a> | <a href="./metacattour.html">Home</a> |
|
720
|
<a href="./harvester.html">Next</a>
|
721
|
|
722
|
|
723
|
</BODY>
|
724
|
</HTML>
|