Project

General

Profile

1 82 jones
# Properties file defining options for the MetaCatServlet.java servlet
2 3081 jones
#
3 308 bojilova
# Matt Jones, Dan Higgins, Jivka Bojilova
4 82 jones
# '$Id$'
5
#
6 2156 costa
7 4080 daigle
######## Configuration utility section        #########################################
8 2156 costa
9 4080 daigle
configutil.propertiesConfigured=false
10
configutil.ldapConfigured=false
11
configutil.skinsConfigured=false
12
configutil.databaseConfigured=false
13 3081 jones
14 4080 daigle
############### Server Values #################
15 3081 jones
16 4080 daigle
server.name=localhost
17
server.httpPort=80
18
server.httpSSLPort=443
19 2156 costa
20 4080 daigle
############### Application Values ############
21 2156 costa
22 4080 daigle
## 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 2156 costa
34 4080 daigle
############### Database Values ###############
35 3780 daigle
36 4080 daigle
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 2156 costa
65 4080 daigle
######## LDAP ##############################################
66 2156 costa
67 4080 daigle
auth.class=edu.ucsb.nceas.metacat.AuthLdap
68
auth.timeoutMinutes=180
69 2156 costa
70 4083 daigle
# ldap.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
71
ldap.administrators=
72 4080 daigle
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 2156 costa
86 4080 daigle
# TODO MCD move this to skins
87
ldap.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
88 2156 costa
89 4080 daigle
# LDAP supported organization list
90
# ldap.organizations=OBFS,OSUSB,UCNRS,KU,LTER,UVM,NCEAS,SDSC,MSU,NAPIER,SANPARKS,SAEON,UNAFFILIATED
91 2156 costa
92 4080 daigle
# 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 2156 costa
172 4080 daigle
# 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 2156 costa
190 3081 jones
######## Access section               #########################################
191 2308 jones
192 4080 daigle
timedreplication=false
193
firsttimedreplication=10:00 PM
194
timedreplicationinterval=172800000
195
forcereplicationwaitingtime=30000
196 2577 sgarg
197 4080 daigle
######## Log Paths  ##############################################
198 2577 sgarg
199 615 bojilova
sitecode=nceas
200
accNumSeparator=.
201 2156 costa
202 4080 daigle
######## XML / EML  #########################################
203
204 181 jones
saxparser=org.apache.xerces.parsers.SAXParser
205 4080 daigle
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 887 berkley
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 1549 tao
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 1367 tao
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 4080 daigle
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 1084 tao
junittesturl=@systemidserver@@servlet-path@
216 2156 costa
217 4080 daigle
######## Outgoing email  #########################################
218 2156 costa
219 4080 daigle
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 2156 costa
224 4080 daigle
######## Registry properties #########################################
225 2156 costa
226 4080 daigle
cgi-user=@cgi-user@
227 2156 costa
228 4080 daigle
# 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 3154 cjones
240 4080 daigle
# 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 3154 cjones
248 4080 daigle
# 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 3154 cjones
256 4080 daigle
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 2156 costa
269 4080 daigle
# Replication properties
270 2156 costa
271 525 berkley
deltaT=60
272 2156 costa
273 4080 daigle
debuglevel=55
274 2156 costa
275 1033 tao
datafileflag=datafile
276 2156 costa
277 1616 tao
datafilesizelimit=1000
278 2156 costa
279 4080 daigle
defaultcontenttype=application/octet-stream
280 2156 costa
281 1956 jones
query.ignored.params=enableediting,foo
282 2156 costa
283 2257 jones
usexmlindex=true
284 2156 costa
285 4080 daigle
######## Skins  #########################################
286
skin.names=esa,nceas,knb,obfs,nrs,sanparks
287 2898 sgarg
288 4080 daigle
#move this to skin config
289
skin.esa.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
290
291 2417 sgarg
# used for the setting the size of resultset for applications like morpho
292 3369 tao
app_resultsetsize=7000
293 2156 costa
294 2417 sgarg
# used for the setting the size of resultset for searches done using browsers
295 3369 tao
web_resultsetsize=7000
296 2417 sgarg
297
# used for the setting the size of queryresult_string in queryresult table.
298
# the limit is 4000 for oracle
299 3351 tao
queryresult_string_length=500000
300 2417 sgarg
301 2424 sgarg
# 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 3339 tao
#the size of query result cache
308
queryresult_cache_size=500
309 3341 tao
310
#turn on or off the query result cache
311
query_cache_on=true
312
313 4090 daigle
#The flag to indicate if invalidated eml 201 documents were corrected.
314
#Before Metacat 1.8.1, metacat uses tag RELEASE_EML_2_0_1_UPDATE_6 as eml
315
#schema, which accidentily points to wrong version of eml-resource.xsd.
316
#If this value is false, metacat will run a class to correct eml201 doucment.
317
eml201_document_corrected=false
318
319 3267 tao
#used for writing debug info into a anouther out file
320
writeDebugToFile=true
321
#output file name where debug info will written
322 4080 daigle
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
323 3267 tao
debugOutputFile=/tmp/metacat.debug
324 3274 tao
#delimitered text output file name where debug info will be written
325
delimiteredOutputFile=/tmp/metacat.debug.delimitered
326 3267 tao
327 3780 daigle
# Used for client testing and typically don't need to be changed
328 4080 daigle
mcuser="uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org"
329
mcpassword="kepler"
330
mcanotheruser="uid=tao,o=NCEAS,dc=ecoinformatics,dc=org"
331
mcanotherpassword="yourpass"
332
piscouser="uid=tao,o=PISCO,dc=ecoinformatics,dc=org"/>
333
piscopassword="yourpass"/>
334
lteruser="uid=jtao,o=LTER,dc=ecoinformatics,dc=org"/>
335
lterpassword="yourpass"/>
336 3780 daigle
337 3081 jones
######## Harvester section            #########################################
338 2156 costa
connectToMetacat=true
339
340
delay=0
341
342 3994 berkley
harvesterAdministrator=name@institution.edu
343 2156 costa
344
logPeriod=90
345
346 2427 costa
maxHarvests=0
347 2156 costa
348
period=24
349
350
smtpServer=localhost
351
352
GetDocError=Error getting EML document from site,Error
353
354
GetDocSuccess=Success getting EML document from site,Debug
355
356
GetHarvestListError=Error getting harvest list from site,Error
357
358
GetHarvestListSuccess=Success getting harvest list from site,Debug
359
360
HarvesterStartup=Harvester start up,Info
361
362
HarvesterShutdown=Harvester shut down,Info
363
364
InsertDocError=Error inserting EML document to Metacat,Error
365
366
InsertDocSuccess=Success inserting EML document to Metacat,Info
367
368 2766 costa
MetacatHasDoc=Metacat already has this EML document,Info
369 2156 costa
370
UpdateDocError=Error updating EML document to Metacat,Error
371
372
UpdateDocSuccess=Success updating EML document to Metacat,Info
373
374
ValidateDocError=Error validating EML docoument,Error
375
376
ValidateDocSuccess=Success validating EML document,Debug
377
378
ValidateHarvestListError=Error validating harvest list,Error
379
380
ValidateHarvestListSuccess=Success validating harvest list,Debug
381
382 4080 daigle
######## Spatial section              #########################################
383 3034 perry
384 3268 tao
runSpatialOption=true
385
regenerateCacheOnRestart=true
386 3034 perry
387 3120 perry
# Comma-seperated list of schemas containing spatial bounding boxes
388
# name corresponds to the docname stored in xml_documents table
389 3452 leinfelder
spatialDocnameList=eml,fgdc,metadata
390 3120 perry
391 3034 perry
# XML paths to the four bounding coordinates
392 3120 perry
# These paths must be included in your indexPaths variable in build.properties
393
# Note the naming convention:
394
#   {docname}_{direction}BoundingCoordinatePath=.....
395
# Has not been tested with other schemas besides EML
396
eml_westBoundingCoordinatePath=geographicCoverage/boundingCoordinates/westBoundingCoordinate
397
eml_eastBoundingCoordinatePath=geographicCoverage/boundingCoordinates/eastBoundingCoordinate
398
eml_southBoundingCoordinatePath=geographicCoverage/boundingCoordinates/southBoundingCoordinate
399
eml_northBoundingCoordinatePath=geographicCoverage/boundingCoordinates/northBoundingCoordinate
400
fgdc_westBoundingCoordinatePath=spdom/bounding/westbc
401
fgdc_eastBoundingCoordinatePath=spdom/bounding/eastbc
402
fgdc_southBoundingCoordinatePath=spdom/bounding/southbc
403
fgdc_northBoundingCoordinatePath=spdom/bounding/northbc
404 3452 leinfelder
metadata_westBoundingCoordinatePath=westbc
405
metadata_eastBoundingCoordinatePath=eastbc
406
metadata_southBoundingCoordinatePath=southbc
407
metadata_northBoundingCoordinatePath=northbc
408 3034 perry
409 3058 perry
docTitle=dataset/title
410 3244 jones
411 4080 daigle
######## SiteMap section              #########################################
412 3244 jones
413
# relative directory path in which sitemap files should be written
414 4080 daigle
## sitemapDirectory=@install-dir@/sitemaps
415 3244 jones
416
# Interval (in milliseconds) between rebuilding the sitemap
417
sitemapInterval=86400000