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 4208 2008-08-05 23:43:50Z 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
test.testproperty=testing
295

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

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

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

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

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

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

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

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

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

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

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

    
351
######## Harvester section            #########################################
352

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

    
376
######## Spatial section              #########################################
377

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

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

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

    
403
spatial.docTitle=dataset/title
404

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

    
416
######## SiteMap section              #########################################
417

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

    
421
# Interval (in milliseconds) between rebuilding the sitemap
422
sitemap.interval=86400000
423

    
424
######## Developers Section #########################################
425

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

    
(14-14/26)