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 4117 2008-07-11 20:42:36Z 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
junittesturl=@systemidserver@@servlet-path@
218

    
219
######## Outgoing email  #########################################
220

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

    
226
######## Registry properties #########################################
227

    
228
cgi-user=@cgi-user@
229

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

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

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

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

    
271
# Replication properties
272

    
273
deltaT=60
274

    
275
debuglevel=55
276

    
277
datafileflag=datafile
278

    
279
datafilesizelimit=1000
280

    
281
defaultcontenttype=application/octet-stream
282

    
283
query.ignored.params=enableediting,foo
284

    
285
usexmlindex=true
286

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

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

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

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

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

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

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

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

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

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

    
329
# Used for client testing and typically don't need to be changed
330
mcuser="uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org"
331
mcpassword="kepler"
332
mcanotheruser="uid=tao,o=NCEAS,dc=ecoinformatics,dc=org"
333
mcanotherpassword="yourpass"
334
piscouser="uid=tao,o=PISCO,dc=ecoinformatics,dc=org"/>
335
piscopassword="yourpass"/>
336
lteruser="uid=jtao,o=LTER,dc=ecoinformatics,dc=org"/>
337
lterpassword="yourpass"/>
338

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

    
342
delay=0
343

    
344
harvesterAdministrator=name@institution.edu
345

    
346
logPeriod=90
347

    
348
maxHarvests=0
349

    
350
period=24
351

    
352
smtpServer=localhost
353

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

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

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

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

    
362
HarvesterStartup=Harvester start up,Info
363

    
364
HarvesterShutdown=Harvester shut down,Info
365

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

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

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

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

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

    
376
ValidateDocError=Error validating EML docoument,Error
377

    
378
ValidateDocSuccess=Success validating EML document,Debug
379

    
380
ValidateHarvestListError=Error validating harvest list,Error
381

    
382
ValidateHarvestListSuccess=Success validating harvest list,Debug
383

    
384
######## Spatial section              #########################################
385

    
386
runSpatialOption=true
387
regenerateCacheOnRestart=true
388

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

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

    
411
docTitle=dataset/title
412

    
413
######## SiteMap section              #########################################
414

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

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

    
(13-13/25)