Project

General

Profile

« Previous | Next » 

Revision 3591

Update documentation of build.properties and metacat.properties prior to the metacat 1.7.1 release.

The main goal here was to ensure that all previously undocumented properties are now present in these documents. Some minor edits were also made to a few of the already documented properties.

A fairly lengthy description was written for the 'indexPaths' build property. Perhaps in future documentation there should be a sub-section of the "Query and Results" document that describes indexPaths at greater length.

These revisions were made by costa and tao.

View differences:

docs/user/properties.html
13 13
-->
14 14
<HTML>
15 15
<HEAD>
16
<TITLE>Metacat</TITLE>
16
<TITLE>Metacat Properties File</TITLE>
17 17
<link rel="stylesheet" type="text/css" href="@docrooturl@default.css">
18 18
</HEAD> 
19 19
<BODY>
......
26 26
      </td>
27 27
    </tr>
28 28
  </table>
29
  <p>Metacat Server has many dynamically settable properties.  All of them 
30
  are kept in the Metacat.properties file.  Most can be set from within
31
  the build file when you first install Metacat.  The following is a summary
32
  of each property and its function.</p>
29
  <p>Metacat Server has many dynamically settable properties.  
30
     All of them are kept in the <em>metacat.properties</em> file.  
31
     Most <a href="./metacatinstall.html#buildProperties">can be set from within
32
     the build file</a> when you first install Metacat. 
33
     The following is a summary of each property and its function.
34
  </p>
33 35
  <table border="1">
34 36
    <tr>
35 37
      <td><b>Property</b></td>
......
77 79
    <tr>
78 80
      <td>maximumConnections</td>
79 81
      <td>The maximum number of database connection Metacat can make.</td>
80
      <td>10</td>
82
      <td>25</td>
81 83
    </tr>
82 84
    <tr>
83 85
      <td>config-dir</td>
......
98 100
    <tr>
99 101
      <td>siteCode</td>
100 102
      <td>The code for the current site.</td>
101
      <td>NCEAS</td>
103
      <td>nceas</td>
102 104
    </tr>
103 105
    <tr>
104 106
      <td>accNumSeparator</td>
......
223 225
      </td>
224 226
    </tr>
225 227
    <tr><td> </td></tr>
226
    <tr><td colspan="3"><b>Additional parameters probably not needing to be changed</b></td></tr>
227
    <tr><td>configured</td><td>Configuration flag, currently not used.</td><td>false</td></tr>
228
    <tr><td>version</td><td>Release version.</td><td>1.5.0-</td></tr>
228

  
229

  
230
    <tr><td colspan="3"><b>Additional properties that probably do not need to be changed</b></td></tr>
231
    <tr><td>configured</td><td>Configuration flag</td><td>true</td></tr>
232
    <tr><td>configurationPage</td><td></td>The page to do metacat configuration<td>/configure.jsp</td></tr>
233
    <tr><td>configurationSuccessPage</td><td>The page to show successful message after configuration</td><td>/configure-restart.jsp</td></tr>
234
    <tr><td>version</td><td>Release version.</td><td>1.7.1</td></tr>
229 235
    <tr><td>maximumConnectionAge</td><td> </td><td>120000</td></tr>
230 236
    <tr><td>maximumConnectionTime</td><td> </td><td>60000</td></tr>
231 237
    <tr><td>maximumUsageNumber</td><td> </td><td>100</td></tr>
238
    <tr><td>numberOfIndexingThreads</td><td> </td><td>5</td></tr>
239
    <tr><td>indexingTimerTaskTime</td><td> </td><td>604800000</td></tr>
240
    <tr><td>indexingInitialDelay</td><td> </td><td>3600000</td></tr>
241
    <tr><td>maximumIndexDelay</td><td> </td><td>5000</td></tr>
232 242
    <tr><td>runDBConnectionRecycleThread</td><td> </td><td>off</td></tr>
233 243
    <tr><td>cycleTimeOfDBConnection</td><td> </td><td>30000</td></tr>
244
    <tr>
245
      <td>timedreplication</td>
246
      <td>Determines whether timed replication to other metacat servers is being used.</td>
247
      <td>Default:&nbsp;&nbsp;
248
          <code>false</code>
249
      <br><br>Other possible values:&nbsp;&nbsp;
250
          <code>true</code>
251
      </td>
252
    </tr>
253
    <tr>
254
      <td>firsttimedreplication</td>
255
      <td>The time for starting first timed replication if timedreplication is true.
256
          (See comments in build.properties file for additional details.)</td>
257
      <td>Default:&nbsp;&nbsp;
258
          <code>10:00 PM</code>
259
          <code>&nbsp;</code>
260
      </td>
261
    </tr>
262
    <tr>
263
      <td>timedreplicationinterval</td>
264
      <td>The interval to next timed replication if timedreplication is true.
265
          The value is in milliseconds and default value is 48 hours.</td>
266
      <td>Default:&nbsp;&nbsp;
267
          <code>172800000</code>
268
          <code>&nbsp;</code>
269
      </td>
270
    </tr>
234 271
    <tr><td>forcereplicationwaitingtime</td><td> </td><td></td></tr>
235 272
    <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>
236 273
    <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>
......
238 275
    <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>
239 276
    <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>
240 277
    <tr><td>packagedoctypeset</td><td> </td><td> </td></tr>
241
    <tr><td>httpserver</td><td> </td><td></td></tr>
278
    <tr>
279
      <td>httpserver</td>
280
      <td>httpserver is the plain HTTP address and port number that Metacat uses for purposes
281
          other than replication. Since this property is usually composed of the <code>config.hosthame</code> and <code>config.port</code>
282
          properties (described above), the default setting can be used in most cases.</td>
283
      <td>Default:&nbsp;&nbsp;<code>${config.hostname}:${config.port}</code>
284
      </td>
285
    </tr>
242 286
    <tr><td>junittesturl</td><td>The url of the test server.</td><td></td></tr>
243 287
    <tr><td>replicationerrorlog</td><td> </td><td></td></tr>
244 288
    <tr><td>schemaPath</td><td>Path to installed XSD schemas.</td><td></td></tr>
......
254 298
    <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>
255 299
    <tr><td>web_resultsetsize</td><td>Used for the setting the size of resultset for search done using browser</td><td>900</td></tr>
256 300
    <tr><td>queryresult_string_length</td><td>Used for the setting the size of queryresult_string in queryresult table</td><td>4000</td></tr>
301
    <tr>
302
      <td>queryresult_cache_size</td>
303
      <td>The size of query result cache.</td>
304
      <td>Default:&nbsp;&nbsp;500</td>
305
    </tr>
306
    <tr>
307
      <td>query_cache_on</td>
308
      <td>Turn the query result cache on or off</td>
309
      <td>Default:&nbsp;&nbsp;true</td>
310
    </tr>
257 311
    <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>
312
    <tr>
313
      <td>moderators</td>
314
      <td>Moderator accounts, in a colon-separated list. Special users who will review general user's submission. 
315
             Moderators can approve, revise and reject the submission after reviewing. This property is only used in ESA skin.</td>
316
      <td>Default:&nbsp;&nbsp;<code>cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org</code></td>
317
    </tr>
318
    <tr>
319
      <td>allowedSubmitters</td>
320
      <td>Specifies the list of users who should be allowed to submit documents. 
321
          If no value is specified (the default setting), all users will be allowed to submit documents.
322
      </td>
323
      <td>Default:&nbsp;&nbsp;(no value)</td>
324
    </tr>
325
    <tr>
326
      <td>deniedSubmitters</td>
327
      <td>Specify the list of users who should not be allowed to submit documents. 
328
          If no value is specified (the default setting), all users will be allowed to submit documents.</td>
329
      <td>Default:&nbsp;&nbsp;(no value)</td>
330
    </tr>
331
    <tr>
332
      <td>indexNamespaces</td>
333
      <td>A comma-separated list of doctypes which will be indexed</td>
334
      <td>Default:&nbsp;&nbsp;@eml2_0_0namespace@,@eml2_0_1namespace@</td>
335
    </tr>
336
    <tr>
337
      <td>indexPaths</td>
338
      <td>See <a href="./metacatinstall.html#buildProperties">description of build properties</a></td>
339
      <td>Default:&nbsp;&nbsp;<code>organizationName,originator/individualName/surName,...</code></td>
340
    </tr>
341
    <tr>
342
      <td>ldapconnecttimelimit</td>
343
      <td>The time in milliseconds allowed for ldap server connections.</td>
344
      <td>Default:&nbsp;&nbsp;5000</td>
345
    </tr>
346
    <tr>
347
      <td>ldapsearchtimelimit</td>
348
      <td>The time in milliseconds allowed for ldap server searches.</td>
349
      <td>Default:&nbsp;&nbsp;30000</td>
350
    </tr>
351
    <tr>
352
      <td>ldapsearchcountlimit</td>
353
      <td>The count of return entries allowed for ldap server searches.</td>
354
      <td>Default:&nbsp;&nbsp;30000</td>
355
    </tr>
356
    <tr>
357
      <td>onlySecureLDAPConnection</td>
358
      <td>When set to true, connects main LDAP server only by SSL</td>
359
      <td>Default:&nbsp;&nbsp;false</td>
360
    </tr>
361
    <tr>
362
      <td>onlySecureLDAPReferalsConnection</td>
363
      <td>When set to true, connects referal LDAP server only by SSL</td>
364
      <td>Default:&nbsp;&nbsp;false</td>
365
    </tr>
366
    <tr>
367
      <td>skinconfigfiles</td>
368
      <td>List of skins which have configure files</td>
369
      <td>Default:&nbsp;&nbsp;esa,nceas,knb,obfs,nrs,sanparks</td>
370
    </tr>
371
    <tr>
372
      <td>writeDebugToFile</td>
373
      <td>Used for writing debug info into a another output file.</td>
374
      <td>Default:&nbsp;&nbsp;true</td>
375
    </tr>
376
    <tr>
377
      <td>debugOutputFile</td>
378
      <td>Output file name where debug info will be written.</td>
379
      <td>Default:&nbsp;&nbsp;/tmp/metacat.debug</td>
380
    </tr>
381
    <tr>
382
      <td>delimiteredOutputFile</td>
383
      <td>Delimited text output file name where debug info will be written.</td>
384
      <td>Default:&nbsp;&nbsp;/tmp/metacat.debug.delimitered</td>
385
    </tr>
386
    <tr>
387
      <td><em>Metacat Harvester properties</em>:<br/><br/>
388
          connectToMetacat, delay, harvesterAdministrator, 
389
          logPeriod, maxHarvests, period, smtpServer, GetDocError, GetDocSuccess, GetHarvestListError,
390
          GetHarvestListSuccess, HarvesterStartup, HarvesterShutdown, InsertDocError, InsertDocSuccess,
391
          MetacatHasDoc, UpdateDocError, UpdateDocSuccess, ValidateDocError, ValidateDocSuccess,
392
          ValidateHarvestListError, ValidateHarvestListSuccess</td>
393
      <td>See <a href="./harvester.html">Metacat Harvester</a> documentation</td>
394
      <td></td>
395
    </tr>
396
    <tr>
397
      <td><em>Spatial properties</em>:<br/><br/>
398
              runSpatialOption,
399
              regenerateCacheOnRestart,
400
              spatialDocnameList,
401
              eml_westBoundingCoordinatePath,
402
              eml_eastBoundingCoordinatePath,
403
              eml_southBoundingCoordinatePath,
404
              eml_northBoundingCoordinatePath,
405
              fgdc_westBoundingCoordinatePath,
406
              fgdc_eastBoundingCoordinatePath,
407
              fgdc_southBoundingCoordinatePath,
408
              fgdc_northBoundingCoordinatePath,
409
              metadata_westBoundingCoordinatePath,
410
              metadata_eastBoundingCoordinatePath,
411
              metadata_southBoundingCoordinatePath,
412
              metadata_northBoundingCoordinatePath,
413
              docTitle,
414
              metacatUrl,
415
              baseUrl
416
      </td>
417
      <td>See <a href="./spatial_option.html">Metacat Spatial Option</a> documentation</td>
418
      <td></td>
419
    </tr>
420
    <tr>
421
      <td>sitemapDirectory</td>
422
      <td>The relative directory path in which sitemap files should be written.</td>
423
      <td>Default:&nbsp;&nbsp;@install-dir@/sitemaps</td>
424
    </tr>
425
    <tr>
426
      <td>sitemapInterval</td>
427
      <td>The time interval (in milliseconds) between rebuilding the sitemap.</td>
428
      <td>Default:&nbsp;&nbsp;86400000</td>
429
    </tr>
258 430
  </table>
259 431
  
260 432
  <br>
docs/user/metacatinstall.html
212 212
   <a href="@server@/software/download.html">download</a> a gzipped tar file
213 213
   from this site.
214 214
  </p>
215

  
216
  <p> 
217
  <a name="buildProperties" />
218
  <h2>Edit <code>build.properties</code> File</h2>
219
  </p>
215 220
  <p>
216
  
217
  <h2>Edit <code>build.properties</code> File</h2></p>
218
  <p>
219 221
   Once you have either checked out or unzipped and untarred the source
220 222
   distribution, you can begin the installation process.  Change into the 
221 223
   metacat directory and edit the file called "<code>build.properties</code>".  You will need 
222 224
   to change a number of configuration properties to match the setup on
223
   your system.
225
   your system. The property values that you will likely need to change are described in 
226
   detail in the following table:
224 227
  </p>
225
  <p>
226
  The properties that you will likely need to change will include:
227
  <ul>
228
  <li><code>tomcat</code></li>
229
  <li><code>deploy.dir</code></li>
230
  <li><code>tomcatversion</code></li>
231
  <li><code>metacat.context</code></li> 
232
  <li><code>config.hostname</code></li>
233
  <li><code>config.port</code></li>
234
  <li><code>config.port.https</code></li>
235
  <li><code>ldapUrl</code></li>
236
  <li><code>database</code></li>
237
  <li><code>jdbc-connect</code></li>
238
  <li><code>jdbc-base</code></li>
239
  <li><code>user</code></li>
240
  <li><code>password</code></li>
241
  <li><code>datafilepath</code></li>
242
  <li><code>inlinedatafilepath</code></li>
243
  <li><code>default-style</code></li>
244
  <li><code>administrators</code></li>
245
  <li><code>authority.context</code></li>
246
  <li><code>config.lsidauthority</code></li>
247
  </ul>
248

  
249
  Each is described in detail in the following table:
250
  </p>
251
  <br><br>
228
  <br/>
252 229
  <table border="1">
253 230
    <tr>
254 231
      <td><b>Property</b></td>
......
278 255
    </tr>
279 256
    <tr>
280 257
      <td>tomcatversion</td>
281
      <td>The tomcatversion property is the version of tomcat in which you 
258
      <td>The tomcatversion property is the version of Tomcat in which you 
282 259
          want Metacat to run. This will determine the location of some
283
          jar files coming with tomcat.</td>
260
          jar files coming with Tomcat. 
261
          <p>
262
            <em>Note: Tomcat 3 and 4 are no longer tested or supported by Metacat.
263
                Users are highly encouraged to upgrade to Tomcat 5.5.
264
            </em>
265
          </p>
266
          <p>
267
            <em>Also note: a property value of 'tomcat5' can be set when using
268
                either Tomcat 5.0 or Tomcat 5.5.
269
            </em>
270
          </p>
271
      </td>
284 272
      <td>Default:&nbsp;&nbsp;
285 273
          <code>tomcat5</code>
286
      <br><br>Example:&nbsp;&nbsp;
287
          <code>tomcat4</code>
274
      <br><br>Other possible values (deprecated):&nbsp;&nbsp;
275
          <code>tomcat3 tomcat4</code>
288 276
      </td>
277
      </td>
289 278
    </tr>
290 279
    <tr>
291 280
      <td>metacat.context</td>
......
347 336
    <tr>
348 337
      <td>database</td>
349 338
      <td>Select the database to use for metadata storage.
339
          <p>
340
          The build file is preconfigured to install Metacat either using 
341
          Oracle, PostgreSQL, or Microsoft SQL Server as a backend database.  
342
          To change the database system, simply change the value of the 'database' 
343
          property to be the name of the database target that you wish to use.
344
          </p>
345
          <p>
350 346
          Valid values are <code>oracle</code>, <code>postgresql</code>, or
351 347
          <code>sqlserver</code>. <em>Note that sqlserver support is minimal and
352 348
          probably will not work without substantial changes on your part,
353 349
          possibly including code changes.  We have not recently tested on 
354 350
          sqlserver.</em>
351
          </p>
355 352
      </td>
356 353
      <td>Default:&nbsp;&nbsp;
357 354
          <code>postgresql</code>
......
364 361
      <td>jdbc-connect</td>
365 362
      <td>The JDBC connection string used to connect to the database.</td>
366 363
      <td>Default:&nbsp;&nbsp;
367
          <code>jdbc-connect=jdbc:postgresql://localhost/metacat</code>
364
          <code>jdbc:postgresql://localhost/metacat</code>
368 365
      <br><br>Example:&nbsp;&nbsp;
369 366
          <code>jdbc:oracle:thin:@somehost.university.edu:1521:metacat</code>
370 367
      </td>
......
448 445
        LSID support is an optional feature which can be configured to provide
449 446
        metacat access to LSID clients. For more information on LSID's see <a href="http://wiki.gbif.org/guidwiki/wikka.php?wakka=LSID">TDWG
450 447
        site</a>.</td>
451
      <td>Default: authority</td>
448
      <td>Default: <code>authority</code></td>
452 449
    </tr>
453 450
	<tr>
454 451
      <td>config.lsidauthority</td>
455 452
      <td>This is the name of the LSID authority that this metacat should use.
456 453
        This authority needs to be defined as SRV record in a DNS.</td>
457
      <td><p>Default: ecoinformatics.org</p>
458
        <p>Examples: esa.org or sulphur.ecoinformatics.org</p></td>
454
      <td><p>Default: <code>ecoinformatics.org</code></p>
455
        <p>Examples: <code>esa.org</code> or <code>sulphur.ecoinformatics.org</code></p></td>
459 456
    </tr>
457
    <tr>
458
      <td>install.ecogrid</td>
459
      <td>Enables EarthGrid web services. EarthGrid web services are disabled by default. 
460
          To enable EarthGrid web services (including query, put, authentication and 
461
          identifier interface), set this value to <code>true</code>, and also set the value
462
          of the <em>metacat.dir</em> property as detailed below.</td>
463
      <td>
464
          Default:&nbsp;&nbsp;<code>false</code>
465
      </td>
466
    </tr>
467
    <tr>
468
      <td>metacat.dir</td>
469
      <td>If the <em>install.ecogrid</em> property (see above) is set to <code>true</code>, this
470
          property should be set to the absolute path of the top-level metacat directory.
471
          If <em>install.ecogrid</em> is set to <code>false</code> (the default setting), 
472
          the value of <em>metacat.dir</em> is ignored.          
473
      </td>
474
      <td>Default:&nbsp;&nbsp;<code>/home/tao/project/metacat</code></td>
475
    </tr>
460 476
  </table>
477

  
461 478
  <br>
479

  
462 480
  <p>
463
   Note that the build file is preconfigured to install Metacat either using 
464
   Oracle, PostgreSQL, or Microsoft SQL Server as a backend database.  
465
   To change the database system, simply change the value of the 'database' 
466
   property to be the name of the database target that you wish to use 
467
   (either 'oracle', 'postgresql', or 'sqlserver').
481
  Other properties in <code>build.properties</code> that you can (but generally need not) change:
468 482
  </p>
469
  <p>
470
  If you want to enable EarthGrid web services (including query, put, authentication and identifier interface), you should
471
  modify the following two properties:
472
  <pre>
473
        install.ecogrid=true
474
        metacat.dir=your-current-metacat-direcotry
475
  </pre>
476
  </p>
477
  Other properties in <code>build.properties</code> that you can (but generally need not) change:<br />
478
  <br>
483

  
479 484
  <table border="1">
480 485
    <tr>
481 486
      <td><b>Property</b></td>
......
488 493
          for replicating documents to and from other Metacat servers, which should be with the secure (HTTPS) port.
489 494
          Since this property is usually composed of the <code>config.hostname</code> and <code>config.port.https</code> properties (described above),
490 495
          the default setting can be used in most cases.
491
      <td>Default:&nbsp;&nbsp;<code>${config.hostname}:${config.port.https}</code>
492 496
      </td>
497
      <td>Default:&nbsp;&nbsp;<code>${config.hostname}:${config.port.https}</code></td>
493 498
    </tr>
494 499
    <tr>
495 500
      <td>httpserver</td>
......
500 505
      </td>
501 506
    </tr>
502 507
    <tr>
508
      <td>http.protocol</td>
509
      <td>http.protocol is the string used in the leading part of a URL to indicate use of the HTTP protocol.</td>
510
      <td>Default:&nbsp;&nbsp;<code>http</code>
511
      </td>
512
    </tr>
513
    <tr>
514
      <td>config.metacatserver</td>
515
      <td>The URL to the metacat server, composed in part from three other properties (http.protocol, httpserver, and metacat.context).</td>
516
      <td>Default:&nbsp;&nbsp;<code>${http.protocol}://${httpserver}/${metacat.context}/metacat</code>
517
      </td>
518
    </tr>
519
    <tr>
503 520
      <td>inst.cgi.dir</td>
504 521
      <td>Installation directory for registry CGI scripts</td>
505 522
      <td>Default:&nbsp;&nbsp;
......
508 525
    </tr>
509 526
    <tr>
510 527
      <td>cgi-prefix</td>
511
      <td>&nbsp;</td>
528
      <td>The URL used for executing CGI scripts</td>
512 529
      <td>Default:&nbsp;&nbsp;
513 530
          <code>http://${httpserver}/cgi-bin</code>
514 531
      </td>
......
567 584
          <code>&nbsp;</code>
568 585
      </td>
569 586
    </tr>
587
    <tr>
588
      <td>log.dir</td>
589
      <td>The directory where replication log files are to be written by Metacat.</td>
590
      <td>Default:&nbsp;&nbsp;<code>${tomcat}/logs</code></td>
591
    </tr>
592
    <tr>
593
      <td>moderators</td>
594
      <td>Moderator accounts, in a colon-separated list. Specifies a list of special users who can review a general user's submission. 
595
             Moderators can approve, revise and reject the submission after reviewing. This property is only used in the ESA skin.</td>
596
      <td>Default:&nbsp;&nbsp;<code>cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org</code></td>
597
    </tr>
598
    <tr>
599
      <td>allowedSubmitters</td>
600
      <td>Specifies the list of users who should be allowed to submit documents. 
601
          If no value is specified (the default setting), all users will be allowed to submit documents.
602
      </td>
603
      <td>Default:&nbsp;&nbsp;(no value)</td>
604
    </tr>
605
    <tr>
606
      <td>deniedSubmitters</td>
607
      <td>Specify the list of users who should not be allowed to submit documents. 
608
          If no value is specified (the default setting), all users will be allowed to submit documents.</td>
609
      <td>Default:&nbsp;&nbsp;(no value)</td>
610
    </tr>
611
    <tr>
612
      <td>config.metadataLabelLsid</td>
613
      <td> </td>
614
      <td>Default:&nbsp;&nbsp;<code>${config.lsidauthority}</code></td>
615
    </tr>
616
    <tr>
617
      <td>build.dir</td>
618
      <td>The name of the subdirectory that is created when metacat is built by the 'ant' tool.</td>
619
      <td>Default:&nbsp;&nbsp;<code>build</code></td>
620
    </tr>
621
    <tr>
622
      <td>lsid.build.dir</td>
623
      <td>The name of the subdirectory for building the LSID component of metacat.</td>
624
      <td>Default:&nbsp;&nbsp;<code>${build.dir}/lsid</code></td>
625
    </tr>
626
    <tr>
627
      <td>lib.dir</td>
628
      <td>The name of the subdirectory where library (.jar) files and a number of other important files are located.</td>
629
      <td>Default:&nbsp;&nbsp;<code>lib</code></td>
630
    </tr>
631
    <tr>
632
      <td>lsid.lib.dir</td>
633
      <td>The name of the subdirectory where LSID library (.jar) files are located.</td>
634
      <td>Default:&nbsp;&nbsp;<code>${lib.dir}/lsid_lib</code></td>
635
    </tr>
636
    <tr>
637
      <td>lsid.classes.dir</td>
638
      <td>The relative path to the location of Java classes that support LSID.</td>
639
      <td>Default:&nbsp;&nbsp;<code>edu/ucsb/nceas/metacat/lsid</code></td>
640
    </tr>
641
    <tr>
642
      <td>conf.dir</td>
643
      <td>The name of the directory where LSID configuration files are located.</td>
644
      <td>Default:&nbsp;&nbsp;<code>lib/lsid_conf</code></td>
645
    </tr>
646
    <tr>
647
      <td>services.dir</td>
648
      <td>The name of the directory where LSID services configuration files are located.</td>
649
      <td>Default:&nbsp;&nbsp;<code>${conf.dir}/services</code></td>
650
    </tr>
651
    <tr>
652
      <td>webinf.dir</td>
653
      <td>The name of the directory where additional LSID web services files are located.</td>
654
      <td>Default:&nbsp;&nbsp;<code>${conf.dir}/WEB-INF</code></td>
655
    </tr>
656
    <tr>
657
      <td>compile.debug</td>
658
      <td>Indicates whether Java source should be compiled with debug information.</td>
659
      <td>Default:&nbsp;&nbsp;<code>true</code></td>
660
    </tr>
661
    <tr>
662
      <td>compile.deprecation</td>
663
      <td>Indicates whether Java source should be compiled with deprecation information.</td>
664
      <td>Default:&nbsp;&nbsp;<code>false</code></td>
665
    </tr>
666
    <tr>
667
      <td>compile.optimize</td>
668
      <td>Indicates whether Java source should be compiled with optimization.</td>
669
      <td>Default:&nbsp;&nbsp;<code>true</code></td>
670
    </tr>
671
    <tr>
672
      <td>indexPaths</td>
673
      <td>The <em>indexPaths</em> property specifies a comma-separated (potentially long) list 
674
          of indexed paths that can be utilized to improve the
675
          performance of metacat queries. Each component of the <em>indexPaths</em> property
676
          should specify an absolute or relative path (using an XPath-like syntax) to an XML element or 
677
          attribute present in the XML documents being queried. Metacat stores XML 
678
          element and attribute values for indexed paths in a special database table 
679
          that optimizes search performance.
680
          <p>Metacat queries allow you to specify (using the &lt;pathexpr&gt; tag in search query) 
681
          an exact path to which you want
682
          to restrict the search. When the &lt;pathexpr&gt; path that is specified in the query
683
          is a member of the <em>indexPaths</em> list, search results are returned faster 
684
          because metacat can conduct its search using the optimized database table.
685
          <p>
686
          The default value for the <em>indexPaths</em> property contains numerous paths to EML
687
          elements and attributes that are commonly queried by metacat search tools. 
688
          For example, <em>keyword</em> is a
689
          member of this list because it is common for search tools to query
690
          the <em>keyword</em> field in EML documents. For most purposes, the default value will
691
          optimize various types of searches on EML documents and need not be changed.
692
          <p>
693
          For more information about metacat queries, 
694
          see <a href="./metacatquery.html">Queries and Results</a>.
695
      </td>
696
      <td>Default:&nbsp;&nbsp;<code>organizationName,originator/individualName/surName,...</code></td>
697
    </tr>
570 698
  </table>
571 699
  <p>
572 700
  Metacat has a number of additional settable properties in file

Also available in: Unified diff