Project

General

Profile

metacat / lib / metacat.properties @ 5076

1
# Properties file defining options for the MetaCatServlet.java servlet
2
#
3
# Matt Jones, Dan Higgins, Jivka Bojilova
4
# '$Id: metacat.properties 5041 2009-08-26 21:20:43Z daigle $'
5
#
6

    
7
######## Configuration utility section  ################
8

    
9
configutil.propertiesConfigured=false
10
configutil.authConfigured=false
11
configutil.skinsConfigured=false
12
configutil.databaseConfigured=false
13
configutil.geoserverConfigured=false
14

    
15
############### Server Values #################
16

    
17
server.name=localhost
18
server.httpPort=80
19
server.httpSSLPort=443
20

    
21
############### Application Values ############
22

    
23
## one of the few places where we use ANT tokens
24
application.metacatVersion=@metacatVersion@
25
application.metacatReleaseInfo=@metacatReleaseInfo@
26

    
27
application.deployDir=
28
## This is autodiscovered and populated by the config utility
29
application.context=
30
application.default-style=default
31
application.knbSiteURL=http://knb.ecoinformatics.org
32
application.backupDir=
33
application.datafilepath=/var/metacat/data
34
application.inlinedatafilepath=/var/metacat/inline-data
35
application.documentfilepath=/var/metacat/documents
36
application.expandedArchivePath=/var/metacat/expanded-archives
37
application.tempDir=/var/metacat/temporary
38
# the location of cgi scripts relative to the metacat context directory
39
application.cgiDir=/cgi-bin
40
#used for writing debug info into a anouther out file
41
application.writeDebugToFile=true
42
#output file name where debug info will written
43
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
44
application.debugOutputFile=/tmp/metacat.debug
45
#delimitered text output file name where debug info will be written
46
application.delimiteredOutputFile=/tmp/metacat.debug.delimitered
47

    
48
############### Database Values ###############
49

    
50
database.connectionURI=jdbc:postgresql://localhost/metacat
51
database.user=
52
database.password=
53
database.type=
54
database.driver=
55
database.adapter=
56
database.scriptsuffix.postgres=postgres.sql
57
database.scriptsuffix.oracle=oracle.sql
58
database.scriptsuffix.sqlserver=sqlserver.sql
59
database.upgradeVersion.0.0.0=xmltables,loaddtdschema
60
database.upgradeVersion.1.2.0=upgrade-db-to-1.2
61
database.upgradeVersion.1.3.0=upgrade-db-to-1.3
62
database.upgradeVersion.1.4.0=upgrade-db-to-1.4
63
database.upgradeVersion.1.5.0=upgrade-db-to-1.5
64
database.upgradeVersion.1.6.0=upgrade-db-to-1.6
65
database.upgradeVersion.1.7.0=upgrade-db-to-1.7
66
database.upgradeVersion.1.8.0=upgrade-db-to-1.8
67
database.upgradeVersion.1.9.0=upgrade-db-to-1.9
68
database.upgradeVersion.1.9.1=upgrade-db-to-1.9.1
69
database.upgradeVersion.1.9.2=upgrade-db-to-1.9.2
70
database.initialConnections=5
71
database.incrementConnections=5
72
database.maximumConnections=200
73
database.maximumConnectionAge=120000
74
database.maximumConnectionTime=60000
75
database.maximumUsageNumber=100
76
database.numberOfIndexingThreads=5
77
database.indexingTimerTaskTime=604800000
78
database.indexingInitialDelay=3600000
79
database.maximumIndexDelay=5000
80
database.runDBConnectionRecycleThread=off
81
database.cycleTimeOfDBConnection=30000
82
database.queryignoredparams=enableediting,foo
83
database.usexmlindex=true
84
# used for the setting the size of resultset for applications like morpho
85
database.appResultsetSize=7000
86
# used for the setting the size of resultset for searches done using browsers
87
database.webResultsetSize=7000
88
# the value of xml_returnfield.usage_count should be more than this value
89
# for records to be entered into xml_queryresult. so if you want results for
90
# any combination of returnfields to be stored in xml_queryresult only when
91
# that combination has been requested 50 times, set this value to 50
92
database.xmlReturnfieldCount=0
93
# used for the setting the size of queryresult_string in queryresult table.
94
# the limit is 4000 for oracle
95
database.queryresultStringLength=500000
96
#the size of query result cache
97
database.queryresultCacheSize=500
98
#turn on or off the query result cache
99
database.queryCacheOn=true
100

    
101
######## Datamanager section              #######################################
102
datamanager.adapter=PostgresAdapter
103
datamanager.implementation=edu.ucsb.nceas.metacat.dataquery.PostgresDatabaseConnectionPool
104
datamanager.server=localhost
105
datamanager.database=datamanager
106
datamanager.user=datamanager
107
datamanager.password=datamanager
108
datamanager.maxconnections=10
109

    
110
#datamanager.endpoint.query=http://ecogrid.ecoinformatics.org/knb/services/QueryService
111
#datamanager.endpoint.authenticatedquery=http://ecogrid.ecoinformatics.org/knb/services/AuthenticatedQueryService
112
#datamanager.endpoint.authentication=http://ecogrid.ecoinformatics.org/knb/services/AuthenticationService
113
#datamanager.endpoint.put=http://ecogrid.ecoinformatics.org/knb/services/PutService
114
#datamanager.endpoint.identifier=http://ecogrid.ecoinformatics.org/knb/services/IdentificationService
115
#datamanager.srb.endpoint=
116
#datamanager.srb.machinename=
117

    
118
######## Authentication and LDAP ##############################################
119

    
120
auth.class=edu.ucsb.nceas.metacat.AuthLdap
121
# Use AuthStub to test and guarantee authentication
122
## auth.class=edu.ucsb.nceas.metacat.AuthStub
123
auth.timeoutMinutes=180
124
# auth.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
125
auth.administrators=
126
auth.url=ldap://ldap.ecoinformatics.org:389/
127
auth.surl=ldap://ldap.ecoinformatics.org:389/
128
auth.base=dc=ecoinformatics,dc=org
129
auth.allowedSubmitters=
130
auth.deniedSubmitters=
131
auth.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org:cn=esa-moderators,dc=ecoinformatics,dc=org
132

    
133
# time in milliseconds allowed for ldap server connections
134
ldap.connectTimeLimit=5000
135
# time in milliseconds allowed for ldap server searches
136
ldap.searchTimeLimit=30000
137
# count of return entries allowed for ldap server searches
138
ldap.searchCountLimit=30000
139
ldap.referral=follow
140
ldap.onlySecureConnection=false
141
ldap.onlySecureReferalsConnection=false
142
# LDAP templates 
143
ldap.templates.stage=initregister
144
ldap.templates.header=genericHeader.tmpl
145
ldap.templates.footer=genericFooter.tmpl
146
ldap.templates.changePass=ldapChangePass.tmpl
147
ldap.templates.changePassSuccess=ldapChangePassSuccess.tmpl
148
ldap.templates.resetPass=ldapResetPass.tmpl
149
ldap.templates.resetPassSuccess=ldapResetPassSuccess.tmpl
150
ldap.templates.register=ldapRegister.tmpl
151
ldap.templates.registerFailed=ldapRegisterFailed.tmpl
152
ldap.templates.registerMatch=ldapRegisterMatch.tmpl
153
ldap.templates.registerSuccess=ldapRegisterSuccess.tmpl
154
ldap.templates.registerLter=ldapRegisterLter.tmpl
155
ldap.templates.success=ldapRegisterSuccess.tmpl
156
ldap.templates.failed=ldapRegisterFailed.tmpl
157
ldap.templates.mainServerFailure=ldapMainServerFailure.tmpl
158
ldap.templates.searchResults=searchResults.tmpl
159

    
160
############### Session Values ###############
161
session.timeoutMinutes=360
162

    
163
############### Organization Values ###############
164
organization.configured.NCEAS=false
165
organization.name.NCEAS=National Center for Ecological Analysis and Synthesis
166
organization.configured.OBFS=false
167
organization.name.OBFS=Organization of Biological Field Stations
168
organization.configured.OSUSB=false
169
organization.name.OSUSB=
170
organization.configured.UCNRS=false
171
organization.name.UCNRS=University of California Natural Reserve System
172
organization.base.UCNRS=ou=people,o=ucnrs.org
173
organization.user.UCNRS=uid=nrsadmin,o=NCEAS,dc=ecoinformatics,dc=org
174
organization.password.UCNRS=
175
organization.configured.KU=false
176
organization.name.KU=
177
organization.configured.LTER=false
178
organization.name.LTER=
179
organization.configured.UVM=false
180
organization.name.UVM=
181
organization.configured.SDSC=false
182
organization.name.SDSC=
183
organization.configured.MSU=false
184
organization.name.MSU=
185
organization.configured.NAPIER=false
186
organization.name.NAPIER=
187
organization.configured.SANPARKS=false
188
organization.name.SANPARKS=Kruger National Park
189
organization.configured.SAEON=false
190
organization.name.SAEON=South African Environmental Observation Network Repository
191

    
192
organization.name.unaffiliated=unaffiliated
193
organization.base.unaffiliated=dc=ecoinformatics,dc=org
194
organization.org.unaffiliated=o=unaffiliated
195
organization.user.unaffiliated=cn=Manager
196
organization.password.unaffiliated=
197

    
198
######## XML / EML  #########################################
199

    
200
xml.saxparser=org.apache.xerces.parsers.SAXParser
201
xml.eml2_0_0namespace=eml://ecoinformatics.org/eml-2.0.0
202
xml.eml2_0_1namespace=eml://ecoinformatics.org/eml-2.0.1
203
xml.eml2_1_0namespace=eml://ecoinformatics.org/eml-2.1.0
204
xml.useFullSchemaValidation=true
205
xml.packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN
206
xml.accessdoctype=-//ecoinformatics.org//eml-access-2.0.0beta6//EN, -//ecoinformatics.org//eml-access-2.0.0beta4//EN
207
xml.physicaldoctype=-//ecoinformatics.org//eml-physical-2.0.0beta6//EN, -//ecoinformatics.org//eml-physical-2.0.0beta4//EN
208
xml.entitydoctype=-//ecoinformatics.org//eml-entity-2.0.0beta6//EN, -//ecoinformatics.org//eml-entity-2.0.0beta4//EN
209
xml.packagedoctypeset=BIN,-//ecoinformatics.org//eml-access-2.0.0beta6//EN,-//ecoinformatics.org//eml-access-2.0.0beta4//EN,-//ecoinformatics.org//eml-attribute-2.0.0beta6//EN,-//ecoinformatics.org//eml-attribute-2.0.0beta4//EN,-//ecoinformatics.org//eml-constraint-2.0.0beta6//EN,-//ecoinformatics.org//eml-constraint-2.0.0beta4//EN,-//ecoinformatics.org//eml-coverage-2.0.0beta6//EN,-//ecoinformatics.org//eml-coverage-2.0.0beta4//EN,-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN,-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN,-//ecoinformatics.org//eml-entity-2.0.0beta6//EN,-//ecoinformatics.org//eml-entity-2.0.0beta4//EN,-//ecoinformatics.org//eml-literature-2.0.0beta6//EN,-//ecoinformatics.org//eml-literature-2.0.0beta4//EN,-//ecoinformatics.org//eml-physical-2.0.0beta6//EN,-//ecoinformatics.org//eml-physical-2.0.0beta4//EN,-//ecoinformatics.org//eml-project-2.0.0beta6//EN,-//ecoinformatics.org//eml-project-2.0.0beta4//EN,-//ecoinformatics.org//eml-protocol-2.0.0beta6//EN,-//ecoinformatics.org//eml-protocol-2.0.0beta4//EN,-//ecoinformatics.org//eml-software-2.0.0beta6//EN,-//ecoinformatics.org//eml-software-2.0.0beta4//EN
210
xml.indexNamespaces=eml://ecoinformatics.org/eml-2.0.0,eml://ecoinformatics.org/eml-2.0.1,eml://ecoinformatics.org/eml-2.1.0
211
xml.indexPaths=                            \
212
	@packageId,                            \
213
	/reviewHistory/review/packageId,       \
214
	abstract,                              \
215
	abstract/para,                         \
216
	access/allow/principal,                \
217
	additionalMetadata/moderatorComment    \
218
	associatedParty/individualName/surName,                           \
219
	associatedParty/organizationName,                                 \
220
	coverage/temporalCoverage/rangeOfDates/beginDate/alternativeTimeScale/timeScaleName,   \
221
	coverage/temporalCoverage/rangeOfDates/endDate/alternativeTimeScale/timeScaleName,     \
222
	coverage/temporalCoverage/singleDateTime/alternativeTimeScale/timeScaleName,           \
223
	creator/individualName/surName,        \
224
	creator/individualName/givenName,      \
225
	creator/organizationName,              \
226
	dataset/access/allow/principal,        \
227
	dataset/dataTable/physical/distribution/online/url,               \
228
	dataset/dataTable/physical/distribution/online/url/@function,     \
229
	dataset/spatialRaster/physical/distribution/online/url,           \
230
	dataset/spatialRaster/physical/distribution/online/url/@function, \
231
	dataset/title,                         \
232
	eastBoundingCoordinate,                \
233
	eastbc,                                \
234
	EcogridRegEntry/description,           \
235
	EcogridRegEntry/endPoint,              \
236
	EcogridRegEntry/serviceName,           \
237
	entityName,                            \
238
	geographicCoverage/boundingCoordinates/eastBoundingCoordinate,    \
239
	geographicCoverage/boundingCoordinates/northBoundingCoordinate,   \
240
	geographicCoverage/boundingCoordinates/southBoundingCoordinate,   \
241
	geographicCoverage/boundingCoordinates/westBoundingCoordinate,    \
242
	geographicDescription,                 \
243
	givenName,                             \
244
	idinfo/citation/citeinfo/title,        \
245
	idinfo/citation/citeinfo/origin,       \
246
	idinfo/keywords/theme/themekey,        \
247
	individualName/surName,                \
248
	keyword,                               \
249
	literalLayout,                         \
250
	northbc,                               \
251
	northBoundingCoordinate,               \
252
	organizationName,                      \
253
	originator/individualName/surName,     \
254
	originator/individualName/givenName,   \
255
	originator/organizationName,           \
256
	para,                                  \
257
	placekey,                              \
258
	southBoundingCoordinate,               \
259
	southbc,                               \
260
	surName,                               \
261
	taxonomicClassification/taxonRankName,          \
262
	taxonomicClassification/taxonRankValue,         \
263
	taxonRankValue,                        \
264
	title,                                 \
265
	westBoundingCoordinate,                \
266
	westbc
267

    
268
######## Outgoing email  #########################################
269

    
270
email.mailhost=localhost
271
email.sender=knb-software@nceas.ucsb.edu
272
email.admin=KNB Support
273
email.recipient=knb-software@nceas.ucsb.edu
274

    
275
######## Replication properties  #########################################
276

    
277
replication.logdir=
278
## deltaT=60
279
## debuglevel=55
280
replication.datafileflag=datafile
281
## TODO MCD this seems to be used in other placed besides replication
282
replication.datafilesizelimit=1000
283
replication.defaultcontenttype=application/octet-stream
284
replication.timedreplication=false
285
replication.firsttimedreplication=10:00 PM
286
replication.timedreplicationinterval=172800000
287
replication.forcereplicationwaitingtime=30000
288

    
289
######## Skins  #########################################
290

    
291
skin.names=default,nceas,esa,knb,kepler,lter,ltss,obfs,nrs,sanparks,saeon,first
292
######## Document Section  #########################################
293

    
294
#The flag to indicate if invalidated eml 201 documents were corrected.
295
#Before Metacat 1.8.1, metacat uses tag RELEASE_EML_2_0_1_UPDATE_6 as eml
296
#schema, which accidentily points to wrong version of eml-resource.xsd.
297
#If this value is false, metacat will run a class to correct eml201 doucment.
298
document.eml201DocumentCorrected=false
299
document.sitecode=nceas
300
document.accNumSeparator=.
301

    
302
######## Harvester section            #########################################
303

    
304
harvester.connectToMetacat=true
305
harvester.delay=0
306
harvester.administrator=name@institution.edu
307
harvester.logPeriod=90
308
harvester.maxHarvests=0
309
harvester.period=24
310
harvester.smtpServer=localhost
311
harvester.GetDocError=Error getting EML document from site,Error
312
harvester.GetDocSuccess=Success getting EML document from site,Debug
313
harvester.GetHarvestListError=Error getting harvest list from site,Error
314
harvester.GetHarvestListSuccess=Success getting harvest list from site,Debug
315
harvester.HarvesterStartup=Harvester start up,Info
316
harvester.HarvesterShutdown=Harvester shut down,Info
317
harvester.InsertDocError=Error inserting EML document to Metacat,Error
318
harvester.InsertDocSuccess=Success inserting EML document to Metacat,Info
319
harvester.MetacatHasDoc=Metacat already has this EML document,Info
320
harvester.UpdateDocError=Error updating EML document to Metacat,Error
321
harvester.UpdateDocSuccess=Success updating EML document to Metacat,Info
322
harvester.ValidateDocError=Error validating EML docoument,Error
323
harvester.ValidateDocSuccess=Success validating EML document,Debug
324
harvester.ValidateHarvestListError=Error validating harvest list,Error
325
harvester.ValidateHarvestListSuccess=Success validating harvest list,Debug
326

    
327
######## OAI-PMH section              #######################################
328

    
329
oaipmh.maxListSize=5
330
oaipmh.repositoryIdentifier=metacat.lternet.edu
331
AbstractCatalog.oaiCatalogClassName=edu.ucsb.nceas.metacat.oaipmh.provider.server.catalog.MetacatCatalog
332
AbstractCatalog.recordFactoryClassName=edu.ucsb.nceas.metacat.oaipmh.provider.server.catalog.MetacatRecordFactory
333
# Duration of resumption tokens
334
AbstractCatalog.secondsToLive=3600
335
# Choose one of the following two
336
AbstractCatalog.granularity=YYYY-MM-DD
337
#AbstractCatalog.granularity=YYYY-MM-DDThh:mm:ssZ
338
# Custom Identify response values
339
Identify.repositoryName=Metacat OAI-PMH Data Provider
340
Identify.adminEmail=mailto:tech_support@LTERnet.edu
341
Identify.earliestDatestamp=2000-01-01T00:00:00Z
342
Identify.deletedRecord=no
343
# Append something unique like .1, .2, etc to 'Identify.description' for each occurrence
344
#Identify.description.1=<description><oai-identifier xmlns\="http\://www.openarchives.org/OAI/2.0/oai-identifier" xmlns\:xsi\="http\://www.w3.org/2001/XMLSchema-instance" xsi\:schemaLocation\="http\://www.openarchives.org/OAI/2.0/oai-identifier http\://www.openarchives.org/OAI/2.0/oai-identifier.xsd"><scheme>oai</scheme><repositoryIdentifier>metacat.lternet.edu</repositoryIdentifier><delimiter>\:</delimiter><sampleIdentifier>http\://metacat.lternet.edu/knb/metacat/knb-lter-lno.1</sampleIdentifier></oai-identifier></description>
345
# List the supported metadataPrefixes along with the class that performs the associated crosswalk
346
Crosswalks.oai_dc=edu.ucsb.nceas.metacat.oaipmh.provider.server.crosswalk.Eml2oai_dc
347
Crosswalks.eml-2.0.0=edu.ucsb.nceas.metacat.oaipmh.provider.server.crosswalk.Eml200
348
Crosswalks.eml-2.0.1=edu.ucsb.nceas.metacat.oaipmh.provider.server.crosswalk.Eml201
349
Crosswalks.eml-2.1.0=edu.ucsb.nceas.metacat.oaipmh.provider.server.crosswalk.Eml210
350

    
351
######## Spatial section              #########################################
352

    
353
spatial.runSpatialOption=true
354
spatial.regenerateCacheOnRestart=true
355
# Comma-seperated list of schemas containing spatial bounding boxes
356
# name corresponds to the docname stored in xml_documents table
357
spatial.spatialDocnameList=eml,fgdc,metadata
358
# XML paths to the four bounding coordinates
359
# These paths must be included in your indexPaths variable in build.properties
360
# Note the naming convention:
361
#   {docname}_{direction}BoundingCoordinatePath=.....
362
# Has not been tested with other schemas besides EML
363
spatial.eml_westBoundingCoordinatePath=geographicCoverage/boundingCoordinates/westBoundingCoordinate
364
spatial.eml_eastBoundingCoordinatePath=geographicCoverage/boundingCoordinates/eastBoundingCoordinate
365
spatial.eml_southBoundingCoordinatePath=geographicCoverage/boundingCoordinates/southBoundingCoordinate
366
spatial.eml_northBoundingCoordinatePath=geographicCoverage/boundingCoordinates/northBoundingCoordinate
367
spatial.fgdc_westBoundingCoordinatePath=spdom/bounding/westbc
368
spatial.fgdc_eastBoundingCoordinatePath=spdom/bounding/eastbc
369
spatial.fgdc_southBoundingCoordinatePath=spdom/bounding/southbc
370
spatial.fgdc_northBoundingCoordinatePath=spdom/bounding/northbc
371
spatial.metadata_westBoundingCoordinatePath=westbc
372
spatial.metadata_eastBoundingCoordinatePath=eastbc
373
spatial.metadata_southBoundingCoordinatePath=southbc
374
spatial.metadata_northBoundingCoordinatePath=northbc
375
spatial.docTitle=dataset/title
376

    
377
######## Geoserver section              #######################################
378

    
379
geoserver.loginPostPage=admin/loginSubmit.do
380
geoserver.loginSuccessString=admin/logout.do
381
geoserver.passwordPostPage=config/loginEditSubmit.do
382
geoserver.passwordSuccessString=Data loaded without incident
383
geoserver.applyPostPage=admin/saveToGeoServer.do
384
geoserver.defaultUsername=admin
385
geoserver.defaultPassword=geoserver
386
geoserver.username=
387
geoserver.password=
388

    
389
######## workflowScheduler section              #######################################
390

    
391
workflowScheduler.url=http://indus.msi.ucsb.edu/workflowscheduler/scheduler
392

    
393
######## SiteMap section              #########################################
394

    
395
# relative directory path in which sitemap files should be written
396
## sitemapDirectory=@install-dir@/sitemaps
397

    
398
# Interval (in milliseconds) between rebuilding the sitemap
399
sitemap.interval=86400000
400

    
401
######## Workflow engine section              #########################################
402
executionEngine.endPointAddress=http://localhost:8080/axis2/services/KeplerWebService
403

    
404
######## junit test section  ################
405

    
406
test.printdebug=true
407
test.metacatUrl=http://indus.msi.ucsb.edu/knb/metacat
408
test.contextUrl=http://indus.msi.ucsb.edu/knb
409
test.workflowSchedulerUrl=http://indus.msi.ucsb.edu/workflowscheduler/scheduler
410
test.metacatDeployDir=/usr/local/tomcat/webapps/knb
411
test.mcUser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org
412
test.mcPassword=kepler
413
test.mcAnotherUser=uid=test,o=NCEAS,dc=ecoinformatics,dc=org
414
test.mcAnotherPassword=test
415
test.piscoUser=uid=piscotest,o=PISCO,dc=ecoinformatics,dc=org
416
test.piscoPassword=testPW
417
test.lterUser=uid=tmonkey,o=LTER,dc=ecoinformatics,dc=org
418
test.lterPassword=T3$tusr
419
test.testProperty=testing
420

    
421
######## Developers Section #########################################
422

    
423
# Set dev.runConfiguration to false to keep the system from walking you 
424
# through the configuration utility every time you reinstall metacat.  
425
# Instead,  the system will use backed up configuration values.  If you 
426
# haven't ever configured the app (no backup files) the system will take 
427
# you through the configuration.
428
dev.runConfiguration=true
429