Project

General

Profile

1 6147 jones
Appendix: Metacat Properties
2
============================
3 6857 jones
The most dynamic Metacat Properties are managed using Metacat's Configuration
4
Interface (see :doc:`configuration`). These properties, as well as other,
5
rarely modified ones can be found in the metacat.properties file. For more
6
information about the properties, click one of the following:
7 6147 jones
8 6857 jones
* Server Properties
9
* Application Properties
10
* Database Properties
11
* Authorization and Authentication Properties
12
* XML/EML Properties
13 6147 jones
14 6857 jones
Server Properties
15
-----------------
16
All of Metacat's server properties are managed with the form-based
17
configuration utility, though they can also be accessed More information on
18
each is included below.
19 6147 jones
20
21 6857 jones
Metacat Server Properties
22
23
+--------------------+------------------------------------------------------------------------------------------+------------------------+
24
| Property           | Description                                                                              | Example                |
25
+====================+==========================================================================================+========================+
26
| server.name        | The network host name used to access Metacat. Note that this is not necessarily          | knb.ecoinformatics.org |
27
|                    | the physical name of the server running Metacat. The host name should not                |                        |
28
|                    | include the protocol prefix (http://).                                                   |                        |
29
|                    |                                                                                          |                        |
30
|                    | Default Value: localhost                                                                 |                        |
31
+--------------------+------------------------------------------------------------------------------------------+------------------------+
32
| server.httpPort    | The network port used to access Metacat for non-secure (standard) connections.           | 80                     |
33
|                    | This is usually 80 if Apache Web server is running, and 8080 if Tomcat is running alone. |                        |
34
|                    |                                                                                          |                        |
35
|                    | Default Value: 80                                                                        |                        |
36
+--------------------+------------------------------------------------------------------------------------------+------------------------+
37
| server.httpSSLPort | The network port used to access Metacat for secure connections. This is usually          | 443                    |
38
|                    | 443 if Apache Web server is running, and 8443 if Tomcat is running alone.                |                        |
39
|                    |                                                                                          |                        |
40
|                    | Default Value: 443                                                                       |                        |
41
+--------------------+------------------------------------------------------------------------------------------+------------------------+
42
43
Application Properties
44
----------------------
45
46
Metacat's application properties are described below. Properties that can only
47 6940 leinfelder
be edited manually in the ``metacat.properties`` file are marked. All
48 6857 jones
others are managed with the properties configuration utility.
49
50
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+
51
| Property                       | Description                                                                 | Example                       |
52
+================================+=============================================================================+===============================+
53 6940 leinfelder
| application.metacatVersion*    | The Metacat version number. It is set by the build engineer                 | 1.9.0                         |
54 6857 jones
|                                | at build time. Usually, the value should never be changed.                  |                               |
55
|                                |                                                                             |                               |
56
|                                | Default Value: X.X.X (where X.X.X is the current version of Metacat)        |                               |
57
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+
58 6940 leinfelder
| application.metacatReleaseInfo*| Release information for display purposes. Typically the property            | Release Candidate 1           |
59 6857 jones
|                                | is set during the release candidate cycle to let users know which           |                               |
60
|                                | candidate they are downloading.                                             |                               |
61
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+
62
| application.deployDir          | The directory where Web applications are deployed. Usually, the value       | /usr/local/tomcat/webapps     |
63
|                                | is a directory named "webapps" in the Tomcat installation directory.        |                               |
64
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+
65
| application.context            | The name of the Metacat application directory in                            | knb                           |
66
|                                | the deployment directory. This corresponds to the first part of the         |                               |
67
|                                | WAR file name (the part before .war). Most commonly, this                   |                               |
68
|                                | is "knb", but it can be changed to other things.                            |                               |
69
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+
70
| application.default-style      | A custom Metacat Web skin usually associated with                           | default                       |
71
|                                | an organizational theme. If your organization has no                        |                               |
72
|                                | custom skin, leave the value as "default".                                  |                               |
73
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+
74
| application.knbSiteURL         | The main KNB website.                                                       | http://knb.ecoinformatics.org |
75
|                                |                                                                             |                               |
76
|                                | Default Value: http://knb.ecoinformatics.org                                |                               |
77
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+
78
| application.datafilepath       | The directory in which to store data files. The directory should            | /var/metacat/data             |
79
|                                | be outside the Metacat installation directories so data files will not      |                               |
80
|                                | be lost when Metacat is upgraded. The data file directory must be           |                               |
81
|                                | writable by the user that starts Tomcat (and thus Metacat).                 |                               |
82
|                                |                                                                             |                               |
83
|                                | Default Value: /var/metacat/data                                            |                               |
84
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+
85
| application.inlinedatafilepath | The directory where inline data files will be stored. Inline                | /var/metacat/inline-data      |
86
|                                | data files are created from data that is embedded in EML                    |                               |
87
|                                | metadata. The directory should be outside the Metacat installation          |                               |
88
|                                | directories so data files will not be lost when Metacat is upgraded.        |                               |
89
|                                | For clarity of data, this should probably not be the same as                |                               |
90
|                                | ``application.datafilepath``. The data file directory must be               |                               |
91
|                                | writable by the user that starts Tomcat (and thus Metacat).                 |                               |
92
|                                |                                                                             |                               |
93
|                                | Default Value: /var/metacat/inline-data                                     |                               |
94
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+
95
| application.documentfilepath   | The directory where metadata files will be stored.                          | /var/metacat/documents        |
96
|                                | The directory should be outside the Metacat installation directories        |                               |
97
|                                | so document files will not be lost when Metacat is upgraded. For            |                               |
98
|                                | clarity of organization, this should probably not be the same as            |                               |
99
|                                | ``application.datafilepath`` or ``application.inlinedatafilepath``.         |                               |
100
|                                | The data file directory must be writable by the user that                   |                               |
101
|                                | starts Tomcat (and thus Metacat).                                           |                               |
102
|                                |                                                                             |                               |
103
|                                | Default Value: /var/metacat/documents                                       |                               |
104
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+
105
| application.tempDir            | The directory where the Metacat data registry stores temporary              | /var/metacat/temporary        |
106
|                                | files. The directory should not be the same as ``application.datafilepath`` |                               |
107
|                                | or ``application.inlinedatafilepath`` (or any other persistent file path)   |                               |
108
|                                | because all files in this may be purged programmatically. The temporary     |                               |
109
|                                | file directory must be writable by the user that starts Apache.             |                               |
110
|                                |                                                                             |                               |
111
|                                | Default Value: /var/metacat/temporary                                       |                               |
112
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+
113
114
Database Properties
115
-------------------
116
Metacat's database properties are described next. Properties that can only be
117 6940 leinfelder
edited manually in the metacat.properties file are marked. All others
118 6857 jones
are managed with the properties configuration utility.
119
120
Metacat Database Properties
121
122
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
123
| Property                                   | Description                                                                                              | Example                                                 |
124
+============================================+==========================================================================================================+=========================================================+
125
| database.connectionURI                     | The JDBC connection URI for the main database instance of Metacat.                                       | ``jdbc:postgresql://yourserver.yourdomain.edu/metacat`` |
126
|                                            | The URI is formatted like: ``jdbc:<database_type>:thin@<your_server_name>:1521:<metacat_database_name>`` |                                                         |
127
|                                            | NOTE: You must create an empty database prior to initial Metacat configuration.                          |                                                         |
128
|                                            |                                                                                                          |                                                         |
129
|                                            | Default Value: jdbc:postgresql://localhost/metacat                                                       |                                                         |
130
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
131
| database.user                              | The user for the main database instance of Metacat. The user must                                        | metacat-user                                            |
132
|                                            | have already been created on the database.                                                               |                                                         |
133
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
134
| database.password                          | The password of the user for the main database instance of Metacat.                                      | securepassword4843                                      |
135
|                                            | The password must have already been created for the user.                                                |                                                         |
136
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
137
| database.type                              | The type of database you are running. Currently, there are two supported                                 | postgres                                                |
138
|                                            | types, Oracle and Postgres.                                                                              |                                                         |
139
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
140
| database.driver                            | The JDBC driver to be used to access the main database instance of Metacat.                              | org.postgresql.Driver                                   |
141
|                                            | There is one driver associated with each type of database.                                               |                                                         |
142
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
143
| database.adapter                           | The adapter class that allows Metacat to access your database type.                                      | edu.ucsb.nceas.dbadapter.PostgresqlAdapter              |
144
|                                            | There is one adapter associated with each type of database.                                              |                                                         |
145
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
146
| database.scriptsuffix.<database_type>      | The script suffix tells the system which database scripts to run                                         | postgres.sql                                            |
147
|                                            | (postgres or oracle) when installing or updating database schema.                                        |                                                         |
148
|                                            |                                                                                                          |                                                         |
149
|                                            | Default Values:                                                                                          |                                                         |
150
|                                            | database.scriptsuffix.postgres=postgres.sql                                                              |                                                         |
151
|                                            | database.scriptsuffix.oracle=oracle.sql                                                                  |                                                         |
152
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
153
| database.upgradeVersion.<database_version> | Which database scripts to run when updating database schema. There is a                                  | upgrade-db-to-1.2                                       |
154
|                                            | database.upgradeVersion entry for every Metacat database schema version.                                 |                                                         |
155
|                                            | Each schema version corresponds to an application version.                                               |                                                         |
156
|                                            |                                                                                                          |                                                         |
157
|                                            | Default Values:                                                                                          |                                                         |
158
|                                            | database.upgradeVersion.0.0.0=xmltables,loaddtdschema                                                    |                                                         |
159
|                                            | database.upgradeVersion.1.2.0=upgrade-db-to-1.2                                                          |                                                         |
160
|                                            | database.upgradeVersion.1.3.0=upgrade-db-to-1.3                                                          |                                                         |
161
|                                            | database.upgradeVersion.1.4.0=upgrade-db-to-1.4                                                          |                                                         |
162
|                                            | database.upgradeVersion.1.5.0=upgrade-db-to-1.5                                                          |                                                         |
163
|                                            | database.upgradeVersion.1.6.0=upgrade-db-to-1.6                                                          |                                                         |
164
|                                            | database.upgradeVersion.1.7.0=upgrade-db-to-1.7                                                          |                                                         |
165
|                                            | database.upgradeVersion.1.8.0=upgrade-db-to-1.8                                                          |                                                         |
166
|                                            | database.upgradeVersion.1.9.0=upgrade-db-to-1.9                                                          |                                                         |
167 6940 leinfelder
|                                            | database.upgradeVersion.2.0.0=upgrade-db-to-2.0                                                          |                                                         |
168 6857 jones
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
169 6940 leinfelder
| database.initialConnections*               | The number of initial connection that Metacat creates to the database.                                   | 5                                                       |
170 6857 jones
|                                            |                                                                                                          |                                                         |
171
|                                            | Default Value: 5                                                                                         |                                                         |
172
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
173 6940 leinfelder
| database.incrementConnections*             | The number of connections Metacat creates when it requires                                               | 5                                                       |
174 6857 jones
|                                            | more connections.                                                                                        |                                                         |
175
|                                            |                                                                                                          |                                                         |
176
|                                            | Default Value: 5                                                                                         |                                                         |
177
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
178 6940 leinfelder
| database.maximumConnections*               | The maximum number of database connections Metacat can make.                                             | 25                                                      |
179 6857 jones
|                                            |                                                                                                          |                                                         |
180
|                                            | Default Value: 200                                                                                       |                                                         |
181
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
182 6940 leinfelder
| database.maximumConnectionAge*             | The maximum time in milliseconds that a database connection can live.                                    | 120000                                                  |
183 6857 jones
|                                            |                                                                                                          |                                                         |
184
|                                            | Default Value: 120000                                                                                    |                                                         |
185
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
186 6940 leinfelder
| database.maximumConnectionTime*            | The maximum time in milliseconds that a database connection can                                          | 60000                                                   |
187 6857 jones
|                                            | accumulate in actual connection time.                                                                    |                                                         |
188
|                                            |                                                                                                          |                                                         |
189
|                                            | Default Value: 60000                                                                                     |                                                         |
190
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
191 6940 leinfelder
| database.maximumUsageNumber*               | The maximum number of times a single connection can be used.                                             | 100                                                     |
192 6857 jones
|                                            |                                                                                                          |                                                         |
193
|                                            | Default Value: 100                                                                                       |                                                         |
194
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
195 6940 leinfelder
| database.numberOfIndexingThreads*          | The number of threads available for indexing.                                                            | 5                                                       |
196 6857 jones
|                                            |                                                                                                          |                                                         |
197
|                                            | Default Value: 5                                                                                         |                                                         |
198
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
199 6940 leinfelder
| database.indexingTimerTaskTime*            | The time in milliseconds between indexing.                                                               | 604800000                                               |
200 6857 jones
|                                            |                                                                                                          |                                                         |
201
|                                            | Default Value: 604800000                                                                                 |                                                         |
202
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
203 6940 leinfelder
| database.indexingInitialDelay*             | The delay in milliseconds before first indexing is executed.                                             | 3600000                                                 |
204 6857 jones
|                                            |                                                                                                          |                                                         |
205
|                                            | Default Value: 3600000                                                                                   |                                                         |
206
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
207 6940 leinfelder
| database.maximumIndexDelay*                | The time in milliseconds that an indexing thread will wait when it                                       | 5000                                                    |
208 6857 jones
|                                            | can't get a doc id before retrying the indexing.                                                         |                                                         |
209
|                                            |                                                                                                          |                                                         |
210
|                                            | Default Value: 5000                                                                                      |                                                         |
211
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
212 6940 leinfelder
| database.runDBConnectionRecycleThread*     | Determines whether the database connection pool should run a thread to                                   | off                                                     |
213 6857 jones
|                                            | recycle connections. Possible values are "on" and "off"                                                  |                                                         |
214
|                                            |                                                                                                          |                                                         |
215
|                                            | Default Value: off                                                                                       |                                                         |
216
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
217 6940 leinfelder
| database.cycleTimeOfDBConnection*          | The time in milliseconds between connection recycling runs.                                              | 30000                                                   |
218 6857 jones
|                                            |                                                                                                          |                                                         |
219
|                                            | Default Value: 30000                                                                                     |                                                         |
220
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
221 6940 leinfelder
| database.queryignoredparams*               | Parameters to ignore in a structured XML query.                                                          | enableediting                                           |
222 6857 jones
|                                            |                                                                                                          |                                                         |
223
|                                            | Default Value: enableediting,foo                                                                         |                                                         |
224
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
225 6940 leinfelder
| database.usexmlindex*                      | Determines whether to use XML indexes when finding                                                       | true                                                    |
226 6857 jones
|                                            | documents. Possible values are true and false.                                                           |                                                         |
227
|                                            |                                                                                                          |                                                         |
228
|                                            | Default Value: true                                                                                      |                                                         |
229
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
230 6940 leinfelder
| database.appResultsetSize*                 | Determines the number of results that can be returned to an application from a query.                    | 7000                                                    |
231 6857 jones
|                                            |                                                                                                          |                                                         |
232
|                                            | Default Value: 7000                                                                                      |                                                         |
233
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
234 6940 leinfelder
| database.webResultsetSize*                 | Determines the number of results that can be returned to a                                               | 7000                                                    |
235 6857 jones
|                                            | Web browser from a query.                                                                                |                                                         |
236
|                                            |                                                                                                          |                                                         |
237
|                                            | Default Value: 7000                                                                                      |                                                         |
238
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
239 6940 leinfelder
| database.xmlReturnfieldCount*              | If the query results of a query are returned more times                                                  | 0                                                       |
240 6857 jones
|                                            | than this value, then those results will be inserted into the xml_queryresult                            |                                                         |
241
|                                            | table in the database. For example, if you want results for                                              |                                                         |
242
|                                            | a query to be stored in xml_queryresult only when it has been requested                                  |                                                         |
243
|                                            | 50 times, set this value to 50.                                                                          |                                                         |
244
|                                            |                                                                                                          |                                                         |
245
|                                            | Default Value: 0                                                                                         |                                                         |
246
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
247 6940 leinfelder
| database.queryresultStringLength*          | The max size of the query result string in the queryresult table. This                                   | 500000                                                  |
248 6857 jones
|                                            | should be set to some number less than 4000 if an Oracle                                                 |                                                         |
249
|                                            | database is being used.                                                                                  |                                                         |
250
|                                            |                                                                                                          |                                                         |
251
|                                            | Default Value: 500000                                                                                    |                                                         |
252
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
253 6940 leinfelder
| database.queryresultCacheSize*             | The number of query results that will be cached.                                                         | 500                                                     |
254 6857 jones
|                                            |                                                                                                          |                                                         |
255
|                                            | Default Value: 500                                                                                       |                                                         |
256
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
257 6940 leinfelder
| database.queryCacheOn*                     | Determines whether query caching is turned on. Possible values are "on" and "off"                        | on                                                      |
258 6857 jones
|                                            |                                                                                                          |                                                         |
259
|                                            | Default Value: on                                                                                        |                                                         |
260
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
261
262
Authorization and Authentication Properties
263
-------------------------------------------
264
Metacat's authorization and authentication properties are described in the
265
table below. Properties that can only be edited manually in the ``metacat.properties``
266 6940 leinfelder
file are marked. All others are managed with the properties configuration utility.
267 6857 jones
268
Authorization and Authentication Properties
269
270
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
271
| Property                          | Description                                                                   | Example                                       |
272
+===================================+===============================================================================+===============================================+
273
| auth.class                        | The class used for user authentication. Currently, only the AuthLdap          | edu.ucsb.nceas.metacat.AuthLdap               |
274
|                                   | class is included in the Metacat distribution.                                |                                               |
275
|                                   | Note: If you implement another authentication strategy by implementing a Java |                                               |
276
|                                   | class that extends the AuthInterface interface and rebuilding Metacat,        |                                               |
277
|                                   | change this property to the fully qualified class name of your custom         |                                               |
278
|                                   | authentication mechanism.                                                     |                                               |
279
|                                   |                                                                               |                                               |
280
|                                   | Default Value: edu.ucsb.nceas.metacat.AuthLdap                                |                                               |
281
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
282 6940 leinfelder
| auth.timeoutMinutes*              | The number of minutes that a user will stay logged in to Metacat              | 180                                           |
283 6857 jones
|                                   | without any activity.                                                         |                                               |
284
|                                   |                                                                               |                                               |
285
|                                   | Default Value: 180                                                            |                                               |
286
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
287
| auth.administrators               | A colon separated list of LDAP users or groups that have administrative       | uid=youruser,o=NCEAS,dc=ecoinformatics,dc=org |
288
|                                   | Metacat privileges. At least one user or group must be entered when           | cn=yourgroup,o=NCEAS,dc=ecoinformatics,dc=org |
289
|                                   | Metacat is first installed and configured. All accounts must exist            |                                               |
290
|                                   | in LDAP in order to continue with the configuration.                          |                                               |
291
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
292
| auth.url                          | The URL of the server that Metacat should use for authentication.             | ldap://ldap.ecoinformatics.org:389/           |
293
|                                   |                                                                               |                                               |
294
|                                   | Default Value: ldap://ldap.ecoinformatics.org:389/                            |                                               |
295
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
296
| auth.surl                         | The URL of the server that Metacat should use for secure authentication.      | ldap://ldap.ecoinformatics.org:389/           |
297
|                                   |                                                                               |                                               |
298
|                                   | Default Value: ldap://ldap.ecoinformatics.org:389/                            |                                               |
299
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
300
| auth.base                         | The base part of the distinguished name that Metacat uses for authentication. | dc=ecoinformatics,dc=org                      |
301
|                                   |                                                                               |                                               |
302
|                                   | Default Value: dc=ecoinformatics,dc=org                                       |                                               |
303
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
304
| auth.allowedSubmitters            | A colon delimited list of users who should be allowed to submit documents     | uid=youruser,o=NCEAS,dc=ecoinformatics,dc=org |
305
|                                   | to Metacat. If no value is specified, all users will be                       |                                               |
306
|                                   | allowed to submit documents.                                                  |                                               |
307
|                                   |                                                                               |                                               |
308
|                                   | Default Value: (none)                                                         |                                               |
309
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
310
| auth.deniedSubmitters             | A colon delimited list of users who should NOT be allowed to                  | uid=youruser,o=NCEAS,dc=ecoinformatics,dc=org |
311
|                                   | submit documents. If no value is specified, all users will be allowed to      |                                               |
312
|                                   | submit documents.                                                             |                                               |
313
|                                   |                                                                               |                                               |
314
|                                   | Default Value: (none)                                                         |                                               |
315
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
316 6940 leinfelder
| ldap.connectTimeLimit*            | The time in milliseconds allowed for LDAP server connections.                 | 5000                                          |
317 6857 jones
|                                   |                                                                               |                                               |
318
|                                   | Default Value: 5000                                                           |                                               |
319
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
320 6940 leinfelder
| ldap.searchTimeLimit*             | The time in milliseconds allowed for LDAP server searches.                    | 3000                                          |
321 6857 jones
|                                   |                                                                               |                                               |
322
|                                   | Default Value: 30000                                                          |                                               |
323
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
324 6940 leinfelder
| ldap.searchCountLimit*            | The number of return entries allowed for LDAP server searches.                | 30000                                         |
325 6857 jones
|                                   |                                                                               |                                               |
326
|                                   | Default Value: 30000                                                          |                                               |
327
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
328 6940 leinfelder
| ldap.referral*                    | The type of LDAP referrals to use. Possible values are "follow",              | follow                                        |
329 6857 jones
|                                   | "throw" or "none". Refer to LDAP documentation for further information.       |                                               |
330
|                                   |                                                                               |                                               |
331
|                                   | Default Value: follow                                                         |                                               |
332
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
333 6940 leinfelder
| ldap.onlySecureConnection*        | Determines whether to use only a secure LDAP server.                          | false                                         |
334 6857 jones
|                                   | Acceptable values are "true" and "false".                                     |                                               |
335
|                                   |                                                                               |                                               |
336
|                                   | Default Value: false                                                          |                                               |
337
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
338 6940 leinfelder
| ldap.onlySecureReferalsConnection*| Determines whether to only use a secure referral server.                      | false                                         |
339 6857 jones
|                                   | Acceptable values are "true" and "false".                                     |                                               |
340
|                                   |                                                                               |                                               |
341
|                                   | Default Value: false                                                          |                                               |
342
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
343
344
XML/EML Properties
345
------------------
346 6940 leinfelder
Metacat's XML/EML properties are described below. These properties can only be
347
edited manually in the metacat.properties file.
348 6857 jones
349
XML/EML Properties
350
351
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+
352
| Property              | Description                                                      | Example                                           |
353
+=======================+==================================================================+===================================================+
354
| xml.saxparser         | The SAX parser used to parse XML documents. Metacat              | org.apache.xerces.parsers.SAXParser               |
355
|                       | requires a SAX2-compatible XML parser.                           |                                                   |
356
|                       |                                                                  |                                                   |
357
|                       | Default Value: org.apache.xerces.parsers.SAXParser               |                                                   |
358
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+
359
| xml.eml2_0_0namespace | The namespace of EML 2.0.0 documents.                            | eml://ecoinformatics.org/eml-2.0.0                |
360
|                       |                                                                  |                                                   |
361
|                       | Default Value: eml://ecoinformatics.org/eml-2.0.0                |                                                   |
362
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+
363
| xml.eml2_0_1namespace | The namespace of EML 2.0.1 documents.                            | eml://ecoinformatics.org/eml-2.0.1                |
364
|                       |                                                                  |                                                   |
365
|                       | Default Value: eml://ecoinformatics.org/eml-2.0.1                |                                                   |
366
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+
367
| xml.eml2_1_0namespace | The namespace of EML 2.1.0 documents.                            | eml://ecoinformatics.org/eml-2.1.0                |
368
|                       |                                                                  |                                                   |
369
|                       | Default Value: eml://ecoinformatics.org/eml-2.1.0                |                                                   |
370 6937 leinfelder
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+
371 6857 jones
|                       |                                                                  |                                                   |
372
| xml.packagedoctype    | The doctype of a package file. The system will only              | -//ecoinformatics.org//eml-dataset-2.0.0beta6//EN |
373
|                       | recognize documents of this type as package files.               | -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN |
374
|                       | See: package documentation.                                      |                                                   |
375
|                       |                                                                  |                                                   |
376
|                       | Default Value: -//ecoinformatics.org//eml-dataset-2.0.0beta6//EN |                                                   |
377
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+
378
| xml.accessdoctype     | The doctype of an access control list (ACL) file. The system     | -//ecoinformatics.org//eml-access-2.0.0beta6//EN  |
379
|                       | will only recognize documents of this type as                    | -//ecoinformatics.org//eml-access-2.0.0beta4//EN  |
380
|                       | access files. See: access control documentation.                 |                                                   |
381
|                       |                                                                  |                                                   |
382
|                       | Default Value: -//ecoinformatics.org//eml-access-2.0.0beta6//EN  |                                                   |
383
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+
384