Project

General

Profile

1
# Properties file defining options for the MetaCatServlet.java servlet
2
#
3
# Matt Jones, Dan Higgins, Jivka Bojilova
4
# '$Id: metacat.properties 4160 2008-07-24 20:53:37Z daigle $'
5
#
6

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

    
9
configutil.propertiesConfigured=false
10
configutil.organizationsConfigured=false
11
configutil.ldapConfigured=false
12
configutil.skinsConfigured=false
13
configutil.databaseConfigured=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
## This is autodiscovered and populated by the config utility
26
application.tomcatDir=
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.datafilepath=/var/metacat/data
33
application.inlinedatafilepath=/var/metacat/inline-data
34
application.cgiDir=/cgi-bin
35

    
36
############### Database Values ###############
37

    
38
database.user=
39
database.password=
40
database.type=
41
database.connectionURI=jdbc:postgresql://localhost/metacat
42
database.driver=  
43
database.adapter=
44
database.scriptsuffix.postgres=postgres.sql
45
database.scriptsuffix.oracle=oracle.sql
46
database.scriptsuffix.sqlserver=sqlserver.sql
47
database.upgradeVersion.0.0.0=xmltables,loaddtdschema
48
database.upgradeVersion.1.2.0=upgrade-db-to-1.2
49
database.upgradeVersion.1.3.0=upgrade-db-to-1.3
50
database.upgradeVersion.1.4.0=upgrade-db-to-1.4
51
database.upgradeVersion.1.5.0=upgrade-db-to-1.5
52
database.upgradeVersion.1.6.0=upgrade-db-to-1.6
53
database.upgradeVersion.1.7.0=upgrade-db-to-1.7
54
database.upgradeVersion.1.8.0=upgrade-db-to-1.8
55
database.upgradeVersion.1.9.0=upgrade-db-to-1.9
56
database.initialConnections=5
57
database.incrementConnections=5
58
database.maximumConnections=25
59
database.maximumConnectionAge=120000
60
database.maximumConnectionTime=60000
61
database.maximumUsageNumber=100
62
database.numberOfIndexingThreads=5
63
database.indexingTimerTaskTime=604800000
64
database.indexingInitialDelay=3600000
65
database.maximumIndexDelay=5000
66
database.runDBConnectionRecycleThread=off
67
database.cycleTimeOfDBConnection=30000
68

    
69
######## LDAP ##############################################
70

    
71
auth.class=edu.ucsb.nceas.metacat.AuthLdap
72
auth.timeoutMinutes=180
73

    
74
# ldap.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
75
ldap.administrators=
76
ldap.url=ldap://ldap.ecoinformatics.org:389/
77
ldap.surl=ldap://ldap.ecoinformatics.org:389/
78
ldap.allowedSubmitters=
79
ldap.deniedSubmitters=
80
# time in milliseconds allowed for ldap server connections
81
ldap.connectTimeLimit=5000
82
# time in milliseconds allowed for ldap server searches
83
ldap.searchTimeLimit=30000
84
# count of return entries allowed for ldap server searches
85
ldap.searchCountLimit=30000
86
ldap.referral=follow
87
ldap.onlySecureConnection=false
88
ldap.onlySecureReferalsConnection=false
89

    
90
# TODO MCD move this to skins
91
ldap.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
92

    
93
# LDAP templates 
94
ldap.templates.stage=initregister
95
ldap.templates.header=genericHeader.tmpl
96
ldap.templates.footer=genericFooter.tmpl
97
ldap.templates.changePass=ldapChangePass.tmpl
98
ldap.templates.changePassSuccess=ldapChangePassSuccess.tmpl
99
ldap.templates.resetPass=ldapResetPass.tmpl
100
ldap.templates.resetPassSuccess=ldapResetPassSuccess.tmpl
101
ldap.templates.register=ldapRegister.tmpl
102
ldap.templates.registerFailed=ldapRegisterFailed.tmpl
103
ldap.templates.registerMatch=ldapRegisterMatch.tmpl
104
ldap.templates.registerSuccess=ldapRegisterSuccess.tmpl
105
ldap.templates.registerLter=ldapRegisterLter.tmpl
106
ldap.templates.success=ldapRegisterSuccess.tmpl
107
ldap.templates.failed=ldapRegisterFailed.tmpl
108
ldap.templates.mainServerFailure=ldapMainServerFailure.tmpl
109
ldap.templates.searchResults=searchResults.tmpl
110

    
111
############### Organization Values ###############
112
#ldap.NCEAS.dn=o=NCEAS,dc=ecoinformatics,dc=org
113
organization.configured.NCEAS=false
114
organization.name.NCEAS=National Center for Ecological Analysis and Synthesis
115
organization.base.NCEAS=dc=ecoinformatics,dc=org
116
organization.org.NCEAS=o=NCEAS
117
organization.user.NCEAS=cn=Manager
118
organization.password.NCEAS=
119
#ldap.OBFS.dn=o=OBFS,dc=ecoinformatics,dc=org
120
organization.configured.OBFS=false
121
organization.name.OBFS=Organization of Biological Field Stations
122
organization.base.OBFS=dc=ecoinformatics,dc=org
123
organization.org.OBFS=o=OBFS
124
organization.user.OBFS=cn=Manager
125
organization.password.OBFS=
126
#ldap.OSUSB.dn=o=OSUSB,dc=ecoinformatics,dc=org
127
organization.configured.OSUSB=false
128
organization.name.OSUSB=
129
organization.base.OSUSB=dc=ecoinformatics,dc=org
130
organization.org.OSUSB=o=OSUSB
131
organization.user.OSUSB=cn=Manager
132
organization.password.OSUSB=
133
#ldap.UCNRS.dn=ou=people,O=ucnrs.org
134
organization.configured.UCNRS=false
135
organization.name.UCNRS=
136
organization.base.UCNRS=ou=people,O=ucnrs.org
137
organization.org.UCNRS=
138
organization.user.UCNRS=cn=Manager
139
organization.password.UCNRS=
140
#ldap.KU.dn=o=KU,dc=ecoinformatics,dc=org
141
organization.configured.KU=false
142
organization.name.KU=
143
organization.base.KU=dc=ecoinformatics,dc=org
144
organization.org.KU=o=KU
145
organization.user.KU=cn=Manager
146
organization.password.KU=
147
#ldap.LTER.dn=o=LTER,dc=ecoinformatics,dc=org
148
organization.configured.LTER=false
149
organization.name.LTER=
150
organization.base.LTER=dc=ecoinformatics,dc=org
151
organization.org.LTER=o=LTER
152
organization.user.LTER=cn=Manager
153
organization.password.LTER=
154
#ldap.UVM.dn=o=UVM,dc=ecoinformatics,dc=org
155
organization.configured.UVM=false
156
organization.name.UVM=
157
organization.base.UVM=dc=ecoinformatics,dc=org
158
organization.org.UVM=o=UVM
159
organization.user.UVM=cn=Manager
160
organization.password.UVM=
161
#ldap.SDSC.dn=o=SDSC,dc=ecoinformatics,dc=org
162
organization.configured.SDSC=false
163
organization.name.SDSC=
164
organization.base.SDSC=dc=ecoinformatics,dc=org
165
organization.org.SDSC=o=SDSC
166
organization.user.SDSC=cn=Manager
167
organization.password.SDSC=
168
#ldap.MSU.dn=o=MSU,dc=ecoinformatics,dc=org
169
organization.configured.MSU=false
170
organization.name.MSU=
171
organization.base.MSU=dc=ecoinformatics,dc=org
172
organization.org.MSU=
173
organization.user.MSU=cn=Manager,dc=ecoinformatics,dc=org
174
organization.password.MSU=
175
#ldap.NAPIER.dn=o=NAPIER,dc=ecoinformatics,dc=org
176
organization.configured.NAPIER=false
177
organization.name.NAPIER=
178
organization.base.NAPIER=dc=ecoinformatics,dc=org
179
organization.org.NAPIER=o=NAPIER
180
organization.user.NAPIER=cn=Manager
181
organization.password.NAPIER=
182
#ldap.SANPARKS.dn=o=SANParks,dc=ecoinformatics,dc=org
183
organization.configured.SANPARKS=false
184
organization.name.SANPARKS=Kruger National Park
185
organization.base.SANPARKS=dc=ecoinformatics,dc=org
186
organization.org.SANPARKS=
187
organization.user.SANPARKS=cn=Manager
188
organization.password.SANPARKS=
189
#ldap.SAEON.dn=o=SAEON,dc=ecoinformatics,dc=org
190
organization.configured.SAEON=false
191
organization.name.SAEON=South African Environmental Observation Network Repository
192
organization.base.SAEON=dc=ecoinformatics,dc=org
193
organization.org.SAEON=
194
organization.user.SAEON=cn=Manager
195
organization.password.SAEON=
196
#ldap.UNAFFILIATED.dn=o=unaffiliated,dc=ecoinformatics,dc=org
197
organization.configured.UNAFFILIATED=false
198
organization.name.UNAFFILIATED=
199
organization.base.UNAFFILIATED=dc=ecoinformatics,dc=org
200
organization.org.UNAFFILIATED=o=unaffiliated
201
organization.user.UNAFFILIATED=cn=Manager
202
organization.password.UNAFFILIATED=
203

    
204
######## Access section               #########################################
205

    
206
timedreplication=false
207
firsttimedreplication=10:00 PM
208
timedreplicationinterval=172800000
209
forcereplicationwaitingtime=30000
210

    
211
######## Log Paths  ##############################################
212

    
213
sitecode=nceas
214
accNumSeparator=.
215

    
216
######## XML / EML  #########################################
217

    
218
saxparser=org.apache.xerces.parsers.SAXParser
219
eml2_0_0namespace=eml://ecoinformatics.org/eml-2.0.0
220
eml2_0_1namespace=eml://ecoinformatics.org/eml-2.0.1
221
eml2_1_0namespace=eml://ecoinformatics.org/eml-2.1.0
222
packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN
223
accessdoctype=-//ecoinformatics.org//eml-access-2.0.0beta6//EN, -//ecoinformatics.org//eml-access-2.0.0beta4//EN
224
physicaldoctype=-//ecoinformatics.org//eml-physical-2.0.0beta6//EN, -//ecoinformatics.org//eml-physical-2.0.0beta4//EN
225
entitydoctype=-//ecoinformatics.org//eml-entity-2.0.0beta6//EN, -//ecoinformatics.org//eml-entity-2.0.0beta4//EN
226
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
227
indexNamespaces=eml://ecoinformatics.org/eml-2.0.0,eml://ecoinformatics.org/eml-2.0.1
228
indexPaths=organizationName,originator/individualName/surName,originator/individualName/givenName,originator/organizationName,creator/individualName/surName,creator/individualName/givenName,creator/organizationName,dataset/title,keyword,geographicCoverage/boundingCoordinates/northBoundingCoordinate,geographicCoverage/boundingCoordinates/southBoundingCoordinate,geographicCoverage/boundingCoordinates/westBoundingCoordinate,geographicCoverage/boundingCoordinates/eastBoundingCoordinate,eastBoundingCoordinate,title,entityName,individualName/surName,abstract/para,surName,givenName,para,geographicDescription,literalLayout,eastbc,northbc,westbc,southbc,dataset/access/allow/principal,entityName,taxonRankValue,dataset/dataTable/physical/distribution/online/url,dataset/spatialRaster/physical/distribution/online/url,@packageId,/reviewHistory/review/packageId,EcogridRegEntry/description,EcogridRegEntry/serviceName,EcogridRegEntry/endPoint,associatedParty/individualName/surName,associatedParty/organizationName,coverage/temporalCoverage/singleDateTime/alternativeTimeScale/timeScaleName,coverage/temporalCoverage/rangeOfDates/beginDate/alternativeTimeScale/timeScaleName,coverage/temporalCoverage/rangeOfDates/endDate/alternativeTimeScale/timeScaleName,placekey,idinfo/citation/citeinfo/title,idinfo/citation/citeinfo/origin,idinfo/keywords/theme/themekey,abstract
229

    
230
######## Outgoing email  #########################################
231

    
232
email.mailhost=localhost
233
email.sender=knb-software@nceas.ucsb.edu
234
email.admin=KNB Support
235
email.recipient=knb-software@nceas.ucsb.edu
236

    
237
######## Registry properties #########################################
238

    
239
cgi-user=@cgi-user@
240

    
241
# TODO SCW should obfs still be the default?
242
registry.config.scope=obfs
243
registry.config.username=uid=knbadmin,o=NCEAS,dc=ecoinformatics,dc=org
244
registry.config.password=your-pw-goes-here
245
registry.config.site=station
246
registry.config.type=Registry
247
registry.config.publicReadable=true
248
registry.config.adminIsDocOwner=false
249
registry.config.organization=
250
registry.config.abbrev=
251
registry.config.debug=false
252

    
253
# registry modules: parts of the form we should be display
254
registry.modules.taxonomic=true
255
registry.modules.method=true
256
registry.modules.spatial=true
257
registry.modules.keyword=true
258
registry.modules.temporal=true
259
registry.modules.upload=false
260

    
261
# skin-specific display settings
262
registry.required.siteList=true
263
registry.required.wgList=false
264
registry.required.organization=true
265
registry.required.temporal=true
266
registry.required.spatial=true
267
registry.required.contactEmail=false
268

    
269
registry.templates.response=genericResponse.tmpl
270
registry.templates.entry=entryForm.tmpl
271
registry.templates.guide=genericGuide.tmpl
272
registry.templates.login=loginForm.tmpl
273
registry.templates.confirmData=confirmData.tmpl
274
registry.templates.deleteData=deleteData.tmpl
275
registry.templates.header=genericHeader.tmpl
276
registry.templates.footer=genericFooter.tmpl
277
# ESA-skin specific templates
278
registry.templates.modEmailNotification=
279
registry.templates.modResult=
280
registry.templates.getReviews=
281

    
282

    
283
######## junit test section  ################
284
test.printdebug=true
285
test.metacat.url=http://localhost:8080/knb/metacat
286
test.mcuser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org
287
test.mcpassword=kepler
288
test.mcanotheruser=uid=test,o=NCEAS,dc=ecoinformatics,dc=org
289
test.mcanotherpassword=test
290
test.piscouser=uid=testPW,o=PISCO,dc=ecoinformatics,dc=org/>
291
test.piscopassword=piscotest/>
292
## TODO MCD get an lter test account
293
test.lteruser=uid=jtao,o=LTER,dc=ecoinformatics,dc=org/>
294
test.lterpassword=yourpass/>
295

    
296
# Replication properties
297

    
298
deltaT=60
299

    
300
debuglevel=55
301

    
302
datafileflag=datafile
303

    
304
datafilesizelimit=1000
305

    
306
defaultcontenttype=application/octet-stream
307

    
308
query.ignored.params=enableediting,foo
309

    
310
usexmlindex=true
311

    
312
######## Skins  #########################################
313
skin.names=default,esa,nceas,knb,obfs,nrs,sanparks
314

    
315
#move this to skin config
316
skin.esa.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
317

    
318
# used for the setting the size of resultset for applications like morpho
319
app_resultsetsize=7000
320

    
321
# used for the setting the size of resultset for searches done using browsers
322
web_resultsetsize=7000
323

    
324
# used for the setting the size of queryresult_string in queryresult table.
325
# the limit is 4000 for oracle
326
queryresult_string_length=500000
327

    
328
# the value of xml_returnfield.usage_count should be more than this value
329
# for records to be entered into xml_queryresult. so if you want results for
330
# any combination of returnfields to be stored in xml_queryresult only when
331
# that combination has been requested 50 times, set this value to 50
332
xml_returnfield_count=0
333

    
334
#the size of query result cache
335
queryresult_cache_size=500
336

    
337
#turn on or off the query result cache
338
query_cache_on=true
339

    
340
#The flag to indicate if invalidated eml 201 documents were corrected.
341
#Before Metacat 1.8.1, metacat uses tag RELEASE_EML_2_0_1_UPDATE_6 as eml
342
#schema, which accidentily points to wrong version of eml-resource.xsd.
343
#If this value is false, metacat will run a class to correct eml201 doucment.
344
eml201_document_corrected=false
345

    
346
#used for writing debug info into a anouther out file
347
writeDebugToFile=true
348
#output file name where debug info will written
349
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
350
debugOutputFile=/tmp/metacat.debug
351
#delimitered text output file name where debug info will be written
352
delimiteredOutputFile=/tmp/metacat.debug.delimitered
353

    
354
######## Harvester section            #########################################
355
connectToMetacat=true
356

    
357
delay=0
358

    
359
harvesterAdministrator=name@institution.edu
360

    
361
logPeriod=90
362

    
363
maxHarvests=0
364

    
365
period=24
366

    
367
smtpServer=localhost
368

    
369
GetDocError=Error getting EML document from site,Error
370

    
371
GetDocSuccess=Success getting EML document from site,Debug
372

    
373
GetHarvestListError=Error getting harvest list from site,Error
374

    
375
GetHarvestListSuccess=Success getting harvest list from site,Debug
376

    
377
HarvesterStartup=Harvester start up,Info
378

    
379
HarvesterShutdown=Harvester shut down,Info
380

    
381
InsertDocError=Error inserting EML document to Metacat,Error
382

    
383
InsertDocSuccess=Success inserting EML document to Metacat,Info
384

    
385
MetacatHasDoc=Metacat already has this EML document,Info
386

    
387
UpdateDocError=Error updating EML document to Metacat,Error
388

    
389
UpdateDocSuccess=Success updating EML document to Metacat,Info
390

    
391
ValidateDocError=Error validating EML docoument,Error
392

    
393
ValidateDocSuccess=Success validating EML document,Debug
394

    
395
ValidateHarvestListError=Error validating harvest list,Error
396

    
397
ValidateHarvestListSuccess=Success validating harvest list,Debug
398

    
399
######## Spatial section              #########################################
400

    
401
runSpatialOption=true
402
regenerateCacheOnRestart=true
403

    
404
# Comma-seperated list of schemas containing spatial bounding boxes
405
# name corresponds to the docname stored in xml_documents table
406
spatialDocnameList=eml,fgdc,metadata
407

    
408
# XML paths to the four bounding coordinates
409
# These paths must be included in your indexPaths variable in build.properties
410
# Note the naming convention:
411
#   {docname}_{direction}BoundingCoordinatePath=.....
412
# Has not been tested with other schemas besides EML
413
eml_westBoundingCoordinatePath=geographicCoverage/boundingCoordinates/westBoundingCoordinate
414
eml_eastBoundingCoordinatePath=geographicCoverage/boundingCoordinates/eastBoundingCoordinate
415
eml_southBoundingCoordinatePath=geographicCoverage/boundingCoordinates/southBoundingCoordinate
416
eml_northBoundingCoordinatePath=geographicCoverage/boundingCoordinates/northBoundingCoordinate
417
fgdc_westBoundingCoordinatePath=spdom/bounding/westbc
418
fgdc_eastBoundingCoordinatePath=spdom/bounding/eastbc
419
fgdc_southBoundingCoordinatePath=spdom/bounding/southbc
420
fgdc_northBoundingCoordinatePath=spdom/bounding/northbc
421
metadata_westBoundingCoordinatePath=westbc
422
metadata_eastBoundingCoordinatePath=eastbc
423
metadata_southBoundingCoordinatePath=southbc
424
metadata_northBoundingCoordinatePath=northbc
425

    
426
docTitle=dataset/title
427

    
428
######## SiteMap section              #########################################
429

    
430
# relative directory path in which sitemap files should be written
431
## sitemapDirectory=@install-dir@/sitemaps
432

    
433
# Interval (in milliseconds) between rebuilding the sitemap
434
sitemapInterval=86400000
435

    
436
######## Developers Section #########################################
437

    
438
# Set dev.runConfiguration to false to keep the system from walking you 
439
# through the configuration utility every time you reinstall metacat.  
440
# Instead,  the system will use backed up configuration values.  If you 
441
# haven't ever configured the app (no backup files) the system will take 
442
# you through the configuration.
443
dev.runConfiguration=true
444

    
(14-14/26)