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 4122 2008-07-15 16:55:15Z 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.scriptsuffix.postgres=postgres.sql
43
database.scriptsuffix.oracle=oracle.sql
44
database.scriptsuffix.sqlserver=sqlserver.sql
45
database.upgradeVersion.0.0.0=xmltables,loaddtdschema
46
database.upgradeVersion.1.2.0=upgrade-db-to-1.2
47
database.upgradeVersion.1.3.0=upgrade-db-to-1.3
48
database.upgradeVersion.1.4.0=upgrade-db-to-1.4
49
database.upgradeVersion.1.5.0=upgrade-db-to-1.5
50
database.upgradeVersion.1.6.0=upgrade-db-to-1.6
51
database.upgradeVersion.1.7.0=upgrade-db-to-1.7
52
database.upgradeVersion.1.8.0=upgrade-db-to-1.8
53
database.upgradeVersion.1.9.0=upgrade-db-to-1.9
54
database.initialConnections=5
55
database.incrementConnections=5
56
database.maximumConnections=25
57
database.maximumConnectionAge=120000
58
database.maximumConnectionTime=60000
59
database.maximumUsageNumber=100
60
database.numberOfIndexingThreads=5
61
database.indexingTimerTaskTime=604800000
62
database.indexingInitialDelay=3600000
63
database.maximumIndexDelay=5000
64
database.runDBConnectionRecycleThread=off
65
database.cycleTimeOfDBConnection=30000
66

    
67
######## LDAP ##############################################
68

    
69
auth.class=edu.ucsb.nceas.metacat.AuthLdap
70
auth.timeoutMinutes=180
71

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

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

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

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

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

    
192
######## Access section               #########################################
193

    
194
timedreplication=false
195
firsttimedreplication=10:00 PM
196
timedreplicationinterval=172800000
197
forcereplicationwaitingtime=30000
198

    
199
######## Log Paths  ##############################################
200

    
201
sitecode=nceas
202
accNumSeparator=.
203

    
204
######## XML / EML  #########################################
205

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

    
218
######## Outgoing email  #########################################
219

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

    
225
######## Registry properties #########################################
226

    
227
cgi-user=@cgi-user@
228

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

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

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

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

    
270
# Replication properties
271

    
272
deltaT=60
273

    
274
debuglevel=55
275

    
276
datafileflag=datafile
277

    
278
datafilesizelimit=1000
279

    
280
defaultcontenttype=application/octet-stream
281

    
282
query.ignored.params=enableediting,foo
283

    
284
usexmlindex=true
285

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

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

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

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

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

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

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

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

    
314
#The flag to indicate if invalidated eml 201 documents were corrected.
315
#Before Metacat 1.8.1, metacat uses tag RELEASE_EML_2_0_1_UPDATE_6 as eml
316
#schema, which accidentily points to wrong version of eml-resource.xsd.
317
#If this value is false, metacat will run a class to correct eml201 doucment.
318
eml201_document_corrected=false
319

    
320
#used for writing debug info into a anouther out file
321
writeDebugToFile=true
322
#output file name where debug info will written
323
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
324
debugOutputFile=/tmp/metacat.debug
325
#delimitered text output file name where debug info will be written
326
delimiteredOutputFile=/tmp/metacat.debug.delimitered
327

    
328
######## junit test section  ################
329
# junittesturl=@systemidserver@@servlet-path@
330
test.metacat.url=http://localhost:8080/knb/metacat
331
test.mcuser="uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org"
332
test.mcpassword="kepler"
333
test.mcanotheruser="uid=tao,o=NCEAS,dc=ecoinformatics,dc=org"
334
test.mcanotherpassword="yourpass"
335
test.piscouser="uid=tao,o=PISCO,dc=ecoinformatics,dc=org"/>
336
test.piscopassword="yourpass"/>
337
test.lteruser="uid=jtao,o=LTER,dc=ecoinformatics,dc=org"/>
338
test.lterpassword="yourpass"/>
339

    
340
######## Harvester section            #########################################
341
connectToMetacat=true
342

    
343
delay=0
344

    
345
harvesterAdministrator=name@institution.edu
346

    
347
logPeriod=90
348

    
349
maxHarvests=0
350

    
351
period=24
352

    
353
smtpServer=localhost
354

    
355
GetDocError=Error getting EML document from site,Error
356

    
357
GetDocSuccess=Success getting EML document from site,Debug
358

    
359
GetHarvestListError=Error getting harvest list from site,Error
360

    
361
GetHarvestListSuccess=Success getting harvest list from site,Debug
362

    
363
HarvesterStartup=Harvester start up,Info
364

    
365
HarvesterShutdown=Harvester shut down,Info
366

    
367
InsertDocError=Error inserting EML document to Metacat,Error
368

    
369
InsertDocSuccess=Success inserting EML document to Metacat,Info
370

    
371
MetacatHasDoc=Metacat already has this EML document,Info
372

    
373
UpdateDocError=Error updating EML document to Metacat,Error
374

    
375
UpdateDocSuccess=Success updating EML document to Metacat,Info
376

    
377
ValidateDocError=Error validating EML docoument,Error
378

    
379
ValidateDocSuccess=Success validating EML document,Debug
380

    
381
ValidateHarvestListError=Error validating harvest list,Error
382

    
383
ValidateHarvestListSuccess=Success validating harvest list,Debug
384

    
385
######## Spatial section              #########################################
386

    
387
runSpatialOption=true
388
regenerateCacheOnRestart=true
389

    
390
# Comma-seperated list of schemas containing spatial bounding boxes
391
# name corresponds to the docname stored in xml_documents table
392
spatialDocnameList=eml,fgdc,metadata
393

    
394
# XML paths to the four bounding coordinates
395
# These paths must be included in your indexPaths variable in build.properties
396
# Note the naming convention:
397
#   {docname}_{direction}BoundingCoordinatePath=.....
398
# Has not been tested with other schemas besides EML
399
eml_westBoundingCoordinatePath=geographicCoverage/boundingCoordinates/westBoundingCoordinate
400
eml_eastBoundingCoordinatePath=geographicCoverage/boundingCoordinates/eastBoundingCoordinate
401
eml_southBoundingCoordinatePath=geographicCoverage/boundingCoordinates/southBoundingCoordinate
402
eml_northBoundingCoordinatePath=geographicCoverage/boundingCoordinates/northBoundingCoordinate
403
fgdc_westBoundingCoordinatePath=spdom/bounding/westbc
404
fgdc_eastBoundingCoordinatePath=spdom/bounding/eastbc
405
fgdc_southBoundingCoordinatePath=spdom/bounding/southbc
406
fgdc_northBoundingCoordinatePath=spdom/bounding/northbc
407
metadata_westBoundingCoordinatePath=westbc
408
metadata_eastBoundingCoordinatePath=eastbc
409
metadata_southBoundingCoordinatePath=southbc
410
metadata_northBoundingCoordinatePath=northbc
411

    
412
docTitle=dataset/title
413

    
414
######## SiteMap section              #########################################
415

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

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

    
(13-13/25)