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 4080 daigle
ldap.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
71
ldap.url=ldap://ldap.ecoinformatics.org:389/
72
ldap.surl=ldap://ldap.ecoinformatics.org:389/
73
ldap.allowedSubmitters=
74
ldap.deniedSubmitters=
75
# time in milliseconds allowed for ldap server connections
76
ldap.connectTimeLimit=5000
77
# time in milliseconds allowed for ldap server searches
78
ldap.searchTimeLimit=30000
79
# count of return entries allowed for ldap server searches
80
ldap.searchCountLimit=30000
81
ldap.referral=follow
82
ldap.onlySecureConnection=false
83
ldap.onlySecureReferalsConnection=false
84 2156 costa
85 4080 daigle
# TODO MCD move this to skins
86
ldap.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
87 2156 costa
88 4080 daigle
# LDAP supported organization list
89
# ldap.organizations=OBFS,OSUSB,UCNRS,KU,LTER,UVM,NCEAS,SDSC,MSU,NAPIER,SANPARKS,SAEON,UNAFFILIATED
90 2156 costa
91 4080 daigle
# custom organization parameters
92
#ldap.NCEAS.dn=o=NCEAS,dc=ecoinformatics,dc=org
93
ldap.configured.NCEAS=false
94
ldap.base.NCEAS=dc=ecoinformatics,dc=org
95
ldap.org.NCEAS=o=NCEAS
96
ldap.user.NCEAS=cn=Manager
97
ldap.password.NCEAS=
98
#ldap.OBFS.dn=o=OBFS,dc=ecoinformatics,dc=org
99
ldap.configured.OBFS=false
100
ldap.base.OBFS=dc=ecoinformatics,dc=org
101
ldap.org.OBFS=o=OBFS
102
ldap.user.OBFS=cn=Manager
103
ldap.password.OBFS=
104
#ldap.OSUSB.dn=o=OSUSB,dc=ecoinformatics,dc=org
105
ldap.configured.OSUSB=false
106
ldap.base.OSUSB=dc=ecoinformatics,dc=org
107
ldap.org.OSUSB=o=OSUSB
108
ldap.user.OSUSB=cn=Manager
109
ldap.password.OSUSB=
110
#ldap.UCNRS.dn=ou=people,O=ucnrs.org
111
ldap.configured.UCNRS=false
112
ldap.base.UCNRS=ou=people,O=ucnrs.org
113
ldap.org.UCNRS=
114
ldap.user.UCNRS=cn=Manager
115
ldap.password.UCNRS=
116
#ldap.KU.dn=o=KU,dc=ecoinformatics,dc=org
117
ldap.configured.KU=false
118
ldap.base.KU=dc=ecoinformatics,dc=org
119
ldap.org.KU=o=KU
120
ldap.user.KU=cn=Manager
121
ldap.password.KU=
122
#ldap.LTER.dn=o=LTER,dc=ecoinformatics,dc=org
123
ldap.configured.LTER=false
124
ldap.base.LTER=dc=ecoinformatics,dc=org
125
ldap.org.LTER=o=LTER
126
ldap.user.LTER=cn=Manager
127
ldap.password.LTER=
128
#ldap.UVM.dn=o=UVM,dc=ecoinformatics,dc=org
129
ldap.configured.UVM=false
130
ldap.base.UVM=dc=ecoinformatics,dc=org
131
ldap.org.UVM=o=UVM
132
ldap.user.UVM=cn=Manager
133
ldap.password.UVM=
134
#ldap.SDSC.dn=o=SDSC,dc=ecoinformatics,dc=org
135
ldap.configured.SDSC=false
136
ldap.base.SDSC=dc=ecoinformatics,dc=org
137
ldap.org.SDSC=o=SDSC
138
ldap.user.SDSC=cn=Manager
139
ldap.password.SDSC=
140
#ldap.MSU.dn=o=MSU,dc=ecoinformatics,dc=org
141
ldap.configured.MSU=false
142
ldap.base.MSU=dc=ecoinformatics,dc=org
143
ldap.org.MSU=
144
ldap.user.MSU=cn=Manager,dc=ecoinformatics,dc=org
145
ldap.password.MSU=
146
#ldap.NAPIER.dn=o=NAPIER,dc=ecoinformatics,dc=org
147
ldap.configured.NAPIER=false
148
ldap.base.NAPIER=dc=ecoinformatics,dc=org
149
ldap.org.NAPIER=o=NAPIER
150
ldap.user.NAPIER=cn=Manager
151
ldap.password.NAPIER=
152
#ldap.SANPARKS.dn=o=SANParks,dc=ecoinformatics,dc=org
153
ldap.configured.SANPARKS=false
154
ldap.base.SANPARKS=dc=ecoinformatics,dc=org
155
ldap.org.SANPARKS=
156
ldap.user.SANPARKS=cn=Manager
157
ldap.password.SANPARKS=
158
#ldap.SAEON.dn=o=SAEON,dc=ecoinformatics,dc=org
159
ldap.configured.SAEON=false
160
ldap.base.SAEON=dc=ecoinformatics,dc=org
161
ldap.org.SAEON=
162
ldap.user.SAEON=cn=Manager
163
ldap.password.SAEON=
164
#ldap.UNAFFILIATED.dn=o=unaffiliated,dc=ecoinformatics,dc=org
165
ldap.configured.UNAFFILIATED=false
166
ldap.base.UNAFFILIATED=dc=ecoinformatics,dc=org
167
ldap.org.UNAFFILIATED=o=unaffiliated
168
ldap.user.UNAFFILIATED=cn=Manager
169
ldap.password.UNAFFILIATED=
170 2156 costa
171 4080 daigle
# LDAP templates
172
ldap.templates.stage=initregister
173
ldap.templates.header=genericHeader.tmpl
174
ldap.templates.footer=genericFooter.tmpl
175
ldap.templates.changePass=ldapChangePass.tmpl
176
ldap.templates.changePassSuccess=ldapChangePassSuccess.tmpl
177
ldap.templates.resetPass=ldapResetPass.tmpl
178
ldap.templates.resetPassSuccess=ldapResetPassSuccess.tmpl
179
ldap.templates.register=ldapRegister.tmpl
180
ldap.templates.registerFailed=ldapRegisterFailed.tmpl
181
ldap.templates.registerMatch=ldapRegisterMatch.tmpl
182
ldap.templates.registerSuccess=ldapRegisterSuccess.tmpl
183
ldap.templates.registerLter=ldapRegisterLter.tmpl
184
ldap.templates.success=ldapRegisterSuccess.tmpl
185
ldap.templates.failed=ldapRegisterFailed.tmpl
186
ldap.templates.mainServerFailure=ldapMainServerFailure.tmpl
187
ldap.templates.searchResults=searchResults.tmpl
188 2156 costa
189 3081 jones
######## Access section               #########################################
190 2308 jones
191 4080 daigle
timedreplication=false
192
firsttimedreplication=10:00 PM
193
timedreplicationinterval=172800000
194
forcereplicationwaitingtime=30000
195 2577 sgarg
196 4080 daigle
######## Log Paths  ##############################################
197 2577 sgarg
198 615 bojilova
sitecode=nceas
199
accNumSeparator=.
200 2156 costa
201 4080 daigle
######## XML / EML  #########################################
202
203 181 jones
saxparser=org.apache.xerces.parsers.SAXParser
204 4080 daigle
eml2_0_0namespace="eml://ecoinformatics.org/eml-2.0.0"
205
eml2_0_1namespace="eml://ecoinformatics.org/eml-2.0.1"
206
eml2_1_0namespace="eml://ecoinformatics.org/eml-2.1.0"
207 887 berkley
packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN
208
accessdoctype=-//ecoinformatics.org//eml-access-2.0.0beta6//EN, -//ecoinformatics.org//eml-access-2.0.0beta4//EN
209 1549 tao
physicaldoctype=-//ecoinformatics.org//eml-physical-2.0.0beta6//EN, -//ecoinformatics.org//eml-physical-2.0.0beta4//EN
210
entitydoctype=-//ecoinformatics.org//eml-entity-2.0.0beta6//EN, -//ecoinformatics.org//eml-entity-2.0.0beta4//EN
211 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
212 4080 daigle
indexNamespaces="eml://ecoinformatics.org/eml-2.0.0","eml://ecoinformatics.org/eml-2.0.1"
213
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
214 1084 tao
junittesturl=@systemidserver@@servlet-path@
215 2156 costa
216 4080 daigle
######## Outgoing email  #########################################
217 2156 costa
218 4080 daigle
email.mailhost=localhost
219
email.sender=knb-software@nceas.ucsb.edu
220
email.admin=KNB Support
221
email.recipient=knb-software@nceas.ucsb.edu
222 2156 costa
223 4080 daigle
######## Registry properties #########################################
224 2156 costa
225 4080 daigle
cgi-user=@cgi-user@
226 2156 costa
227 4080 daigle
# TODO SCW should obfs still be the default?
228
registry.config.scope=obfs
229
registry.config.username=uid=knbadmin,o=NCEAS,dc=ecoinformatics,dc=org
230
registry.config.password=your-pw-goes-here
231
registry.config.site=station
232
registry.config.type=Registry
233
registry.config.publicReadable=true
234
registry.config.adminIsDocOwner=false
235
registry.config.organization=
236
registry.config.abbrev=
237
registry.config.debug=false
238 3154 cjones
239 4080 daigle
# registry modules: parts of the form we should be display
240
registry.modules.taxonomic=true
241
registry.modules.method=true
242
registry.modules.spatial=true
243
registry.modules.keyword=true
244
registry.modules.temporal=true
245
registry.modules.upload=false
246 3154 cjones
247 4080 daigle
# skin-specific display settings
248
registry.required.siteList=true
249
registry.required.wgList=false
250
registry.required.organization=true
251
registry.required.temporal=true
252
registry.required.spatial=true
253
registry.required.contactEmail=false
254 3154 cjones
255 4080 daigle
registry.templates.response=genericResponse.tmpl
256
registry.templates.entry=entryForm.tmpl
257
registry.templates.guide=genericGuide.tmpl
258
registry.templates.login=loginForm.tmpl
259
registry.templates.confirmData=confirmData.tmpl
260
registry.templates.deleteData=deleteData.tmpl
261
registry.templates.header=genericHeader.tmpl
262
registry.templates.footer=genericFooter.tmpl
263
# ESA-skin specific templates
264
registry.templates.modEmailNotification=
265
registry.templates.modResult=
266
registry.templates.getReviews=
267 2156 costa
268 4080 daigle
# Replication properties
269 2156 costa
270 525 berkley
deltaT=60
271 2156 costa
272 4080 daigle
debuglevel=55
273 2156 costa
274 1033 tao
datafileflag=datafile
275 2156 costa
276 1616 tao
datafilesizelimit=1000
277 2156 costa
278 4080 daigle
defaultcontenttype=application/octet-stream
279 2156 costa
280 1956 jones
query.ignored.params=enableediting,foo
281 2156 costa
282 2257 jones
usexmlindex=true
283 2156 costa
284 4080 daigle
######## Skins  #########################################
285
skin.names=esa,nceas,knb,obfs,nrs,sanparks
286 2898 sgarg
287 4080 daigle
#move this to skin config
288
skin.esa.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
289
290 2417 sgarg
# used for the setting the size of resultset for applications like morpho
291 3369 tao
app_resultsetsize=7000
292 2156 costa
293 2417 sgarg
# used for the setting the size of resultset for searches done using browsers
294 3369 tao
web_resultsetsize=7000
295 2417 sgarg
296
# used for the setting the size of queryresult_string in queryresult table.
297
# the limit is 4000 for oracle
298 3351 tao
queryresult_string_length=500000
299 2417 sgarg
300 2424 sgarg
# the value of xml_returnfield.usage_count should be more than this value
301
# for records to be entered into xml_queryresult. so if you want results for
302
# any combination of returnfields to be stored in xml_queryresult only when
303
# that combination has been requested 50 times, set this value to 50
304
xml_returnfield_count=0
305
306 3339 tao
#the size of query result cache
307
queryresult_cache_size=500
308 3341 tao
309
#turn on or off the query result cache
310
query_cache_on=true
311
312 3267 tao
#used for writing debug info into a anouther out file
313
writeDebugToFile=true
314
#output file name where debug info will written
315 4080 daigle
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
316 3267 tao
debugOutputFile=/tmp/metacat.debug
317 3274 tao
#delimitered text output file name where debug info will be written
318
delimiteredOutputFile=/tmp/metacat.debug.delimitered
319 3267 tao
320 3780 daigle
# Used for client testing and typically don't need to be changed
321 4080 daigle
mcuser="uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org"
322
mcpassword="kepler"
323
mcanotheruser="uid=tao,o=NCEAS,dc=ecoinformatics,dc=org"
324
mcanotherpassword="yourpass"
325
piscouser="uid=tao,o=PISCO,dc=ecoinformatics,dc=org"/>
326
piscopassword="yourpass"/>
327
lteruser="uid=jtao,o=LTER,dc=ecoinformatics,dc=org"/>
328
lterpassword="yourpass"/>
329 3780 daigle
330 3081 jones
######## Harvester section            #########################################
331 2156 costa
connectToMetacat=true
332
333
delay=0
334
335 3994 berkley
harvesterAdministrator=name@institution.edu
336 2156 costa
337
logPeriod=90
338
339 2427 costa
maxHarvests=0
340 2156 costa
341
period=24
342
343
smtpServer=localhost
344
345
GetDocError=Error getting EML document from site,Error
346
347
GetDocSuccess=Success getting EML document from site,Debug
348
349
GetHarvestListError=Error getting harvest list from site,Error
350
351
GetHarvestListSuccess=Success getting harvest list from site,Debug
352
353
HarvesterStartup=Harvester start up,Info
354
355
HarvesterShutdown=Harvester shut down,Info
356
357
InsertDocError=Error inserting EML document to Metacat,Error
358
359
InsertDocSuccess=Success inserting EML document to Metacat,Info
360
361 2766 costa
MetacatHasDoc=Metacat already has this EML document,Info
362 2156 costa
363
UpdateDocError=Error updating EML document to Metacat,Error
364
365
UpdateDocSuccess=Success updating EML document to Metacat,Info
366
367
ValidateDocError=Error validating EML docoument,Error
368
369
ValidateDocSuccess=Success validating EML document,Debug
370
371
ValidateHarvestListError=Error validating harvest list,Error
372
373
ValidateHarvestListSuccess=Success validating harvest list,Debug
374
375 4080 daigle
######## Spatial section              #########################################
376 3034 perry
377 3268 tao
runSpatialOption=true
378
regenerateCacheOnRestart=true
379 3034 perry
380 3120 perry
# Comma-seperated list of schemas containing spatial bounding boxes
381
# name corresponds to the docname stored in xml_documents table
382 3452 leinfelder
spatialDocnameList=eml,fgdc,metadata
383 3120 perry
384 3034 perry
# XML paths to the four bounding coordinates
385 3120 perry
# These paths must be included in your indexPaths variable in build.properties
386
# Note the naming convention:
387
#   {docname}_{direction}BoundingCoordinatePath=.....
388
# Has not been tested with other schemas besides EML
389
eml_westBoundingCoordinatePath=geographicCoverage/boundingCoordinates/westBoundingCoordinate
390
eml_eastBoundingCoordinatePath=geographicCoverage/boundingCoordinates/eastBoundingCoordinate
391
eml_southBoundingCoordinatePath=geographicCoverage/boundingCoordinates/southBoundingCoordinate
392
eml_northBoundingCoordinatePath=geographicCoverage/boundingCoordinates/northBoundingCoordinate
393
fgdc_westBoundingCoordinatePath=spdom/bounding/westbc
394
fgdc_eastBoundingCoordinatePath=spdom/bounding/eastbc
395
fgdc_southBoundingCoordinatePath=spdom/bounding/southbc
396
fgdc_northBoundingCoordinatePath=spdom/bounding/northbc
397 3452 leinfelder
metadata_westBoundingCoordinatePath=westbc
398
metadata_eastBoundingCoordinatePath=eastbc
399
metadata_southBoundingCoordinatePath=southbc
400
metadata_northBoundingCoordinatePath=northbc
401 3034 perry
402 3058 perry
docTitle=dataset/title
403 3244 jones
404 4080 daigle
######## SiteMap section              #########################################
405 3244 jones
406
# relative directory path in which sitemap files should be written
407 4080 daigle
## sitemapDirectory=@install-dir@/sitemaps
408 3244 jones
409
# Interval (in milliseconds) between rebuilding the sitemap
410
sitemapInterval=86400000