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 4195 2008-08-04 23:59:38Z 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
configutil.geoserverConfigured=false
15

    
16
############### Server Values #################
17

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

    
22
############### Application Values ############
23

    
24
## one of the few places where we use ANT tokens
25
application.metacatVersion=@metacatVersion@
26
## This is autodiscovered and populated by the config utility
27

    
28
application.deployDir=
29
## This is autodiscovered and populated by the config utility
30
application.context=
31
application.default-style=default
32
application.knbSiteURL=http://knb.ecoinformatics.org
33
application.datafilepath=/var/metacat/data
34
application.inlinedatafilepath=/var/metacat/inline-data
35
application.cgiDir=/cgi-bin
36

    
37
############### Database Values ###############
38

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

    
72
######## LDAP ##############################################
73

    
74
auth.class=edu.ucsb.nceas.metacat.AuthLdap
75
auth.timeoutMinutes=180
76

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

    
93
# TODO MCD move this to skins
94
ldap.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
95

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

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

    
207
######## Log Paths  ##############################################
208

    
209
sitecode=nceas
210
accNumSeparator=.
211

    
212
######## XML / EML  #########################################
213

    
214
saxparser=org.apache.xerces.parsers.SAXParser
215
eml2_0_0namespace=eml://ecoinformatics.org/eml-2.0.0
216
eml2_0_1namespace=eml://ecoinformatics.org/eml-2.0.1
217
eml2_1_0namespace=eml://ecoinformatics.org/eml-2.1.0
218
packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN
219
accessdoctype=-//ecoinformatics.org//eml-access-2.0.0beta6//EN, -//ecoinformatics.org//eml-access-2.0.0beta4//EN
220
physicaldoctype=-//ecoinformatics.org//eml-physical-2.0.0beta6//EN, -//ecoinformatics.org//eml-physical-2.0.0beta4//EN
221
entitydoctype=-//ecoinformatics.org//eml-entity-2.0.0beta6//EN, -//ecoinformatics.org//eml-entity-2.0.0beta4//EN
222
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
223
indexNamespaces=eml://ecoinformatics.org/eml-2.0.0,eml://ecoinformatics.org/eml-2.0.1
224
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
225

    
226
######## Outgoing email  #########################################
227

    
228
email.mailhost=localhost
229
email.sender=knb-software@nceas.ucsb.edu
230
email.admin=KNB Support
231
email.recipient=knb-software@nceas.ucsb.edu
232

    
233
######## Registry properties #########################################
234

    
235
cgi-user=@cgi-user@
236

    
237
# TODO SCW should obfs still be the default?
238
registry.config.scope=obfs
239
# TODO SCW remove these two properties, rely instead on the skin config
240
#          PASSWORD ONLY USED IN ESA SKIN
241
registry.config.username=uid=knbadmin,o=NCEAS,dc=ecoinformatics,dc=org
242
registry.config.password=your-pw-goes-here
243
registry.config.site=station
244
registry.config.type=Registry
245
registry.config.publicReadable=true
246
# TODO SCW push this out to skin.properties, ONLY true IN ESA SKIN
247
registry.config.adminIsDocOwner=false
248
registry.config.organization=
249
registry.config.abbrev=
250
registry.config.debug=false
251

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

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

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

    
281

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

    
295
######## Replication properties  #########################################
296
replication.logdir=
297
## deltaT=60
298
## debuglevel=55
299
replication.datafileflag=datafile
300
## TODO MCD this seems to be used in other placed besides replication
301
replication.datafilesizelimit=1000
302
replication.defaultcontenttype=application/octet-stream
303
replication.timedreplication=false
304
replication.firsttimedreplication=10:00 PM
305
replication.timedreplicationinterval=172800000
306
forcereplicationwaitingtime=30000
307

    
308
######## Skins  #########################################
309
skin.names=default,esa,nceas,knb,obfs,nrs,sanparks
310

    
311
#move this to skin config
312
skin.esa.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
313

    
314
# used for the setting the size of resultset for applications like morpho
315
app_resultsetsize=7000
316

    
317
# used for the setting the size of resultset for searches done using browsers
318
web_resultsetsize=7000
319

    
320
# used for the setting the size of queryresult_string in queryresult table.
321
# the limit is 4000 for oracle
322
queryresult_string_length=500000
323

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

    
330
#the size of query result cache
331
queryresult_cache_size=500
332

    
333
#turn on or off the query result cache
334
query_cache_on=true
335

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

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

    
350
######## Harvester section            #########################################
351

    
352
harvester.connectToMetacat=true
353
harvester.delay=0
354
harvester.administrator=name@institution.edu
355
harvester.logPeriod=90
356
harvester.maxHarvests=0
357
harvester.period=24
358
harvester.smtpServer=localhost
359
harvester.GetDocError=Error getting EML document from site,Error
360
harvester.GetDocSuccess=Success getting EML document from site,Debug
361
harvester.GetHarvestListError=Error getting harvest list from site,Error
362
harvester.GetHarvestListSuccess=Success getting harvest list from site,Debug
363
harvester.HarvesterStartup=Harvester start up,Info
364
harvester.HarvesterShutdown=Harvester shut down,Info
365
harvester.InsertDocError=Error inserting EML document to Metacat,Error
366
harvester.InsertDocSuccess=Success inserting EML document to Metacat,Info
367
harvester.MetacatHasDoc=Metacat already has this EML document,Info
368
harvester.UpdateDocError=Error updating EML document to Metacat,Error
369
harvester.UpdateDocSuccess=Success updating EML document to Metacat,Info
370
harvester.ValidateDocError=Error validating EML docoument,Error
371
harvester.ValidateDocSuccess=Success validating EML document,Debug
372
harvester.ValidateHarvestListError=Error validating harvest list,Error
373
harvester.ValidateHarvestListSuccess=Success validating harvest list,Debug
374

    
375
######## Spatial section              #########################################
376

    
377
spatial.runSpatialOption=true
378
spatial.regenerateCacheOnRestart=true
379

    
380
# Comma-seperated list of schemas containing spatial bounding boxes
381
# name corresponds to the docname stored in xml_documents table
382
spatial.spatialDocnameList=eml,fgdc,metadata
383

    
384
# XML paths to the four bounding coordinates
385
# These paths must be included in your indexPaths variable in build.properties
386
# Note the naming convention:
387
#   {docname}_{direction}BoundingCoordinatePath=.....
388
# Has not been tested with other schemas besides EML
389
spatial.eml_westBoundingCoordinatePath=geographicCoverage/boundingCoordinates/westBoundingCoordinate
390
spatial.eml_eastBoundingCoordinatePath=geographicCoverage/boundingCoordinates/eastBoundingCoordinate
391
spatial.eml_southBoundingCoordinatePath=geographicCoverage/boundingCoordinates/southBoundingCoordinate
392
spatial.eml_northBoundingCoordinatePath=geographicCoverage/boundingCoordinates/northBoundingCoordinate
393
spatial.fgdc_westBoundingCoordinatePath=spdom/bounding/westbc
394
spatial.fgdc_eastBoundingCoordinatePath=spdom/bounding/eastbc
395
spatial.fgdc_southBoundingCoordinatePath=spdom/bounding/southbc
396
spatial.fgdc_northBoundingCoordinatePath=spdom/bounding/northbc
397
spatial.metadata_westBoundingCoordinatePath=westbc
398
spatial.metadata_eastBoundingCoordinatePath=eastbc
399
spatial.metadata_southBoundingCoordinatePath=southbc
400
spatial.metadata_northBoundingCoordinatePath=northbc
401

    
402
spatial.docTitle=dataset/title
403

    
404
######## Geoserver section              #######################################
405
geoserver.loginPostPage=admin/loginSubmit.do
406
geoserver.loginSuccessString=admin/logout.do
407
geoserver.passwordPostPage=config/loginEditSubmit.do
408
geoserver.passwordSuccessString=Data loaded without incident
409
geoserver.applyPostPage=admin/saveToGeoServer.do
410
geoserver.defaultUsername=admin
411
geoserver.defaultPassword=geoserver
412
geoserver.username=
413
geoserver.password=
414

    
415
######## SiteMap section              #########################################
416

    
417
# relative directory path in which sitemap files should be written
418
## sitemapDirectory=@install-dir@/sitemaps
419

    
420
# Interval (in milliseconds) between rebuilding the sitemap
421
sitemapInterval=86400000
422

    
423
######## Developers Section #########################################
424

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

    
(14-14/26)