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 4083 2008-07-07 20:44:38Z daigle $'
5
#
6

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

    
9
configutil.propertiesConfigured=false
10
configutil.ldapConfigured=false
11
configutil.skinsConfigured=false
12
configutil.databaseConfigured=false
13

    
14
############### Server Values #################
15

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

    
20
############### Application Values ############
21

    
22
## one of the few places where we use ANT tokens
23
application.metacatVersion=@metacatVersion@
24
## This is autodiscovered and populated by the config utility
25
application.tomcatDir=
26
## This is autodiscovered and populated by the config utility
27
application.context=
28
application.default-style=default
29
application.knbSiteURL=http://knb.ecoinformatics.org
30
application.datafilepath=/var/metacat/data
31
application.inlinedatafilepath=/var/metacat/inline-data
32
application.cgiDir=/cgi-bin
33

    
34
############### Database Values ###############
35

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

    
65
######## LDAP ##############################################
66

    
67
auth.class=edu.ucsb.nceas.metacat.AuthLdap
68
auth.timeoutMinutes=180
69

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

    
86
# TODO MCD move this to skins
87
ldap.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
88

    
89
# LDAP supported organization list
90
# ldap.organizations=OBFS,OSUSB,UCNRS,KU,LTER,UVM,NCEAS,SDSC,MSU,NAPIER,SANPARKS,SAEON,UNAFFILIATED
91

    
92
# custom organization parameters
93
#ldap.NCEAS.dn=o=NCEAS,dc=ecoinformatics,dc=org
94
ldap.configured.NCEAS=false
95
ldap.base.NCEAS=dc=ecoinformatics,dc=org
96
ldap.org.NCEAS=o=NCEAS
97
ldap.user.NCEAS=cn=Manager
98
ldap.password.NCEAS=
99
#ldap.OBFS.dn=o=OBFS,dc=ecoinformatics,dc=org
100
ldap.configured.OBFS=false
101
ldap.base.OBFS=dc=ecoinformatics,dc=org
102
ldap.org.OBFS=o=OBFS
103
ldap.user.OBFS=cn=Manager
104
ldap.password.OBFS=
105
#ldap.OSUSB.dn=o=OSUSB,dc=ecoinformatics,dc=org
106
ldap.configured.OSUSB=false
107
ldap.base.OSUSB=dc=ecoinformatics,dc=org
108
ldap.org.OSUSB=o=OSUSB
109
ldap.user.OSUSB=cn=Manager
110
ldap.password.OSUSB=
111
#ldap.UCNRS.dn=ou=people,O=ucnrs.org
112
ldap.configured.UCNRS=false
113
ldap.base.UCNRS=ou=people,O=ucnrs.org
114
ldap.org.UCNRS=
115
ldap.user.UCNRS=cn=Manager
116
ldap.password.UCNRS=
117
#ldap.KU.dn=o=KU,dc=ecoinformatics,dc=org
118
ldap.configured.KU=false
119
ldap.base.KU=dc=ecoinformatics,dc=org
120
ldap.org.KU=o=KU
121
ldap.user.KU=cn=Manager
122
ldap.password.KU=
123
#ldap.LTER.dn=o=LTER,dc=ecoinformatics,dc=org
124
ldap.configured.LTER=false
125
ldap.base.LTER=dc=ecoinformatics,dc=org
126
ldap.org.LTER=o=LTER
127
ldap.user.LTER=cn=Manager
128
ldap.password.LTER=
129
#ldap.UVM.dn=o=UVM,dc=ecoinformatics,dc=org
130
ldap.configured.UVM=false
131
ldap.base.UVM=dc=ecoinformatics,dc=org
132
ldap.org.UVM=o=UVM
133
ldap.user.UVM=cn=Manager
134
ldap.password.UVM=
135
#ldap.SDSC.dn=o=SDSC,dc=ecoinformatics,dc=org
136
ldap.configured.SDSC=false
137
ldap.base.SDSC=dc=ecoinformatics,dc=org
138
ldap.org.SDSC=o=SDSC
139
ldap.user.SDSC=cn=Manager
140
ldap.password.SDSC=
141
#ldap.MSU.dn=o=MSU,dc=ecoinformatics,dc=org
142
ldap.configured.MSU=false
143
ldap.base.MSU=dc=ecoinformatics,dc=org
144
ldap.org.MSU=
145
ldap.user.MSU=cn=Manager,dc=ecoinformatics,dc=org
146
ldap.password.MSU=
147
#ldap.NAPIER.dn=o=NAPIER,dc=ecoinformatics,dc=org
148
ldap.configured.NAPIER=false
149
ldap.base.NAPIER=dc=ecoinformatics,dc=org
150
ldap.org.NAPIER=o=NAPIER
151
ldap.user.NAPIER=cn=Manager
152
ldap.password.NAPIER=
153
#ldap.SANPARKS.dn=o=SANParks,dc=ecoinformatics,dc=org
154
ldap.configured.SANPARKS=false
155
ldap.base.SANPARKS=dc=ecoinformatics,dc=org
156
ldap.org.SANPARKS=
157
ldap.user.SANPARKS=cn=Manager
158
ldap.password.SANPARKS=
159
#ldap.SAEON.dn=o=SAEON,dc=ecoinformatics,dc=org
160
ldap.configured.SAEON=false
161
ldap.base.SAEON=dc=ecoinformatics,dc=org
162
ldap.org.SAEON=
163
ldap.user.SAEON=cn=Manager
164
ldap.password.SAEON=
165
#ldap.UNAFFILIATED.dn=o=unaffiliated,dc=ecoinformatics,dc=org
166
ldap.configured.UNAFFILIATED=false
167
ldap.base.UNAFFILIATED=dc=ecoinformatics,dc=org
168
ldap.org.UNAFFILIATED=o=unaffiliated
169
ldap.user.UNAFFILIATED=cn=Manager
170
ldap.password.UNAFFILIATED=
171

    
172
# LDAP templates 
173
ldap.templates.stage=initregister
174
ldap.templates.header=genericHeader.tmpl
175
ldap.templates.footer=genericFooter.tmpl
176
ldap.templates.changePass=ldapChangePass.tmpl
177
ldap.templates.changePassSuccess=ldapChangePassSuccess.tmpl
178
ldap.templates.resetPass=ldapResetPass.tmpl
179
ldap.templates.resetPassSuccess=ldapResetPassSuccess.tmpl
180
ldap.templates.register=ldapRegister.tmpl
181
ldap.templates.registerFailed=ldapRegisterFailed.tmpl
182
ldap.templates.registerMatch=ldapRegisterMatch.tmpl
183
ldap.templates.registerSuccess=ldapRegisterSuccess.tmpl
184
ldap.templates.registerLter=ldapRegisterLter.tmpl
185
ldap.templates.success=ldapRegisterSuccess.tmpl
186
ldap.templates.failed=ldapRegisterFailed.tmpl
187
ldap.templates.mainServerFailure=ldapMainServerFailure.tmpl
188
ldap.templates.searchResults=searchResults.tmpl
189

    
190
######## Access section               #########################################
191

    
192
timedreplication=false
193
firsttimedreplication=10:00 PM
194
timedreplicationinterval=172800000
195
forcereplicationwaitingtime=30000
196

    
197
######## Log Paths  ##############################################
198

    
199
sitecode=nceas
200
accNumSeparator=.
201

    
202
######## XML / EML  #########################################
203

    
204
saxparser=org.apache.xerces.parsers.SAXParser
205
eml2_0_0namespace="eml://ecoinformatics.org/eml-2.0.0"
206
eml2_0_1namespace="eml://ecoinformatics.org/eml-2.0.1"
207
eml2_1_0namespace="eml://ecoinformatics.org/eml-2.1.0"
208
packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN
209
accessdoctype=-//ecoinformatics.org//eml-access-2.0.0beta6//EN, -//ecoinformatics.org//eml-access-2.0.0beta4//EN
210
physicaldoctype=-//ecoinformatics.org//eml-physical-2.0.0beta6//EN, -//ecoinformatics.org//eml-physical-2.0.0beta4//EN
211
entitydoctype=-//ecoinformatics.org//eml-entity-2.0.0beta6//EN, -//ecoinformatics.org//eml-entity-2.0.0beta4//EN
212
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
213
indexNamespaces="eml://ecoinformatics.org/eml-2.0.0","eml://ecoinformatics.org/eml-2.0.1"
214
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
215
junittesturl=@systemidserver@@servlet-path@
216

    
217
######## Outgoing email  #########################################
218

    
219
email.mailhost=localhost
220
email.sender=knb-software@nceas.ucsb.edu
221
email.admin=KNB Support
222
email.recipient=knb-software@nceas.ucsb.edu
223

    
224
######## Registry properties #########################################
225

    
226
cgi-user=@cgi-user@
227

    
228
# TODO SCW should obfs still be the default?
229
registry.config.scope=obfs
230
registry.config.username=uid=knbadmin,o=NCEAS,dc=ecoinformatics,dc=org
231
registry.config.password=your-pw-goes-here
232
registry.config.site=station
233
registry.config.type=Registry
234
registry.config.publicReadable=true
235
registry.config.adminIsDocOwner=false
236
registry.config.organization=
237
registry.config.abbrev=
238
registry.config.debug=false
239

    
240
# registry modules: parts of the form we should be display
241
registry.modules.taxonomic=true
242
registry.modules.method=true
243
registry.modules.spatial=true
244
registry.modules.keyword=true
245
registry.modules.temporal=true
246
registry.modules.upload=false
247

    
248
# skin-specific display settings
249
registry.required.siteList=true
250
registry.required.wgList=false
251
registry.required.organization=true
252
registry.required.temporal=true
253
registry.required.spatial=true
254
registry.required.contactEmail=false
255

    
256
registry.templates.response=genericResponse.tmpl
257
registry.templates.entry=entryForm.tmpl
258
registry.templates.guide=genericGuide.tmpl
259
registry.templates.login=loginForm.tmpl
260
registry.templates.confirmData=confirmData.tmpl
261
registry.templates.deleteData=deleteData.tmpl
262
registry.templates.header=genericHeader.tmpl
263
registry.templates.footer=genericFooter.tmpl
264
# ESA-skin specific templates
265
registry.templates.modEmailNotification=
266
registry.templates.modResult=
267
registry.templates.getReviews=
268

    
269
# Replication properties
270

    
271
deltaT=60
272

    
273
debuglevel=55
274

    
275
datafileflag=datafile
276

    
277
datafilesizelimit=1000
278

    
279
defaultcontenttype=application/octet-stream
280

    
281
query.ignored.params=enableediting,foo
282

    
283
usexmlindex=true
284

    
285
######## Skins  #########################################
286
skin.names=esa,nceas,knb,obfs,nrs,sanparks
287

    
288
#move this to skin config
289
skin.esa.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
290

    
291
# used for the setting the size of resultset for applications like morpho
292
app_resultsetsize=7000
293

    
294
# used for the setting the size of resultset for searches done using browsers
295
web_resultsetsize=7000
296

    
297
# used for the setting the size of queryresult_string in queryresult table.
298
# the limit is 4000 for oracle
299
queryresult_string_length=500000
300

    
301
# the value of xml_returnfield.usage_count should be more than this value
302
# for records to be entered into xml_queryresult. so if you want results for
303
# any combination of returnfields to be stored in xml_queryresult only when
304
# that combination has been requested 50 times, set this value to 50
305
xml_returnfield_count=0
306

    
307
#the size of query result cache
308
queryresult_cache_size=500
309

    
310
#turn on or off the query result cache
311
query_cache_on=true
312

    
313
#used for writing debug info into a anouther out file
314
writeDebugToFile=true
315
#output file name where debug info will written
316
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
317
debugOutputFile=/tmp/metacat.debug
318
#delimitered text output file name where debug info will be written
319
delimiteredOutputFile=/tmp/metacat.debug.delimitered
320

    
321
# Used for client testing and typically don't need to be changed
322
mcuser="uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org"
323
mcpassword="kepler"
324
mcanotheruser="uid=tao,o=NCEAS,dc=ecoinformatics,dc=org"
325
mcanotherpassword="yourpass"
326
piscouser="uid=tao,o=PISCO,dc=ecoinformatics,dc=org"/>
327
piscopassword="yourpass"/>
328
lteruser="uid=jtao,o=LTER,dc=ecoinformatics,dc=org"/>
329
lterpassword="yourpass"/>
330

    
331
######## Harvester section            #########################################
332
connectToMetacat=true
333

    
334
delay=0
335

    
336
harvesterAdministrator=name@institution.edu
337

    
338
logPeriod=90
339

    
340
maxHarvests=0
341

    
342
period=24
343

    
344
smtpServer=localhost
345

    
346
GetDocError=Error getting EML document from site,Error
347

    
348
GetDocSuccess=Success getting EML document from site,Debug
349

    
350
GetHarvestListError=Error getting harvest list from site,Error
351

    
352
GetHarvestListSuccess=Success getting harvest list from site,Debug
353

    
354
HarvesterStartup=Harvester start up,Info
355

    
356
HarvesterShutdown=Harvester shut down,Info
357

    
358
InsertDocError=Error inserting EML document to Metacat,Error
359

    
360
InsertDocSuccess=Success inserting EML document to Metacat,Info
361

    
362
MetacatHasDoc=Metacat already has this EML document,Info
363

    
364
UpdateDocError=Error updating EML document to Metacat,Error
365

    
366
UpdateDocSuccess=Success updating EML document to Metacat,Info
367

    
368
ValidateDocError=Error validating EML docoument,Error
369

    
370
ValidateDocSuccess=Success validating EML document,Debug
371

    
372
ValidateHarvestListError=Error validating harvest list,Error
373

    
374
ValidateHarvestListSuccess=Success validating harvest list,Debug
375

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

    
378
runSpatialOption=true
379
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
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
eml_westBoundingCoordinatePath=geographicCoverage/boundingCoordinates/westBoundingCoordinate
391
eml_eastBoundingCoordinatePath=geographicCoverage/boundingCoordinates/eastBoundingCoordinate
392
eml_southBoundingCoordinatePath=geographicCoverage/boundingCoordinates/southBoundingCoordinate
393
eml_northBoundingCoordinatePath=geographicCoverage/boundingCoordinates/northBoundingCoordinate
394
fgdc_westBoundingCoordinatePath=spdom/bounding/westbc
395
fgdc_eastBoundingCoordinatePath=spdom/bounding/eastbc
396
fgdc_southBoundingCoordinatePath=spdom/bounding/southbc
397
fgdc_northBoundingCoordinatePath=spdom/bounding/northbc
398
metadata_westBoundingCoordinatePath=westbc
399
metadata_eastBoundingCoordinatePath=eastbc
400
metadata_southBoundingCoordinatePath=southbc
401
metadata_northBoundingCoordinatePath=northbc
402

    
403
docTitle=dataset/title
404

    
405
######## SiteMap section              #########################################
406

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

    
410
# Interval (in milliseconds) between rebuilding the sitemap
411
sitemapInterval=86400000
412

    
(13-13/26)