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 4170 2008-07-29 00:02:52Z 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

    
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
database.queryignoredparams=enableediting,foo
69
database.usexmlindex=true
70

    
71
######## LDAP ##############################################
72

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

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

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

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

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

    
206
######## Access section               #########################################
207

    
208
timedreplication=false
209
firsttimedreplication=10:00 PM
210
timedreplicationinterval=172800000
211
forcereplicationwaitingtime=30000
212

    
213
######## Log Paths  ##############################################
214

    
215
sitecode=nceas
216
accNumSeparator=.
217

    
218
######## XML / EML  #########################################
219

    
220
saxparser=org.apache.xerces.parsers.SAXParser
221
eml2_0_0namespace=eml://ecoinformatics.org/eml-2.0.0
222
eml2_0_1namespace=eml://ecoinformatics.org/eml-2.0.1
223
eml2_1_0namespace=eml://ecoinformatics.org/eml-2.1.0
224
packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN
225
accessdoctype=-//ecoinformatics.org//eml-access-2.0.0beta6//EN, -//ecoinformatics.org//eml-access-2.0.0beta4//EN
226
physicaldoctype=-//ecoinformatics.org//eml-physical-2.0.0beta6//EN, -//ecoinformatics.org//eml-physical-2.0.0beta4//EN
227
entitydoctype=-//ecoinformatics.org//eml-entity-2.0.0beta6//EN, -//ecoinformatics.org//eml-entity-2.0.0beta4//EN
228
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
229
indexNamespaces=eml://ecoinformatics.org/eml-2.0.0,eml://ecoinformatics.org/eml-2.0.1
230
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
231

    
232
######## Outgoing email  #########################################
233

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

    
239
######## Registry properties #########################################
240

    
241
cgi-user=@cgi-user@
242

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

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

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

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

    
284

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

    
298
######## Replication properties  #########################################
299
replication.logdir=
300
## deltaT=60
301
## debuglevel=55
302
replication.datafileflag=datafile
303
## TODO MCD this seems to be used in other placed besides replication
304
replication.datafilesizelimit=1000
305
replication.defaultcontenttype=application/octet-stream
306

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

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

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

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

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

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

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

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

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

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

    
349
######## Harvester section            #########################################
350

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

    
374
######## Spatial section              #########################################
375

    
376
runSpatialOption=true
377
regenerateCacheOnRestart=true
378

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

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

    
401
docTitle=dataset/title
402

    
403
######## SiteMap section              #########################################
404

    
405
# relative directory path in which sitemap files should be written
406
## sitemapDirectory=@install-dir@/sitemaps
407

    
408
# Interval (in milliseconds) between rebuilding the sitemap
409
sitemapInterval=86400000
410

    
411
######## Developers Section #########################################
412

    
413
# Set dev.runConfiguration to false to keep the system from walking you 
414
# through the configuration utility every time you reinstall metacat.  
415
# Instead,  the system will use backed up configuration values.  If you 
416
# haven't ever configured the app (no backup files) the system will take 
417
# you through the configuration.
418
dev.runConfiguration=true
419

    
(14-14/26)