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 4101 daigle
database.scriptsuffix.postgres=postgres.sql
43
database.scriptsuffix.oracle=oracle.sql
44
database.scriptsuffix.sqlserver=sqlserver.sql
45 4080 daigle
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 2156 costa
67 4080 daigle
######## LDAP ##############################################
68 2156 costa
69 4080 daigle
auth.class=edu.ucsb.nceas.metacat.AuthLdap
70
auth.timeoutMinutes=180
71 2156 costa
72 4083 daigle
# ldap.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
73
ldap.administrators=
74 4080 daigle
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 2156 costa
88 4080 daigle
# TODO MCD move this to skins
89
ldap.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
90 2156 costa
91 4080 daigle
# LDAP supported organization list
92
# ldap.organizations=OBFS,OSUSB,UCNRS,KU,LTER,UVM,NCEAS,SDSC,MSU,NAPIER,SANPARKS,SAEON,UNAFFILIATED
93 2156 costa
94 4080 daigle
# 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 2156 costa
174 4080 daigle
# 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 2156 costa
192 3081 jones
######## Access section               #########################################
193 2308 jones
194 4080 daigle
timedreplication=false
195
firsttimedreplication=10:00 PM
196
timedreplicationinterval=172800000
197
forcereplicationwaitingtime=30000
198 2577 sgarg
199 4080 daigle
######## Log Paths  ##############################################
200 2577 sgarg
201 615 bojilova
sitecode=nceas
202
accNumSeparator=.
203 2156 costa
204 4080 daigle
######## XML / EML  #########################################
205
206 181 jones
saxparser=org.apache.xerces.parsers.SAXParser
207 4080 daigle
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 887 berkley
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 1549 tao
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 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
215 4080 daigle
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 1084 tao
junittesturl=@systemidserver@@servlet-path@
218 2156 costa
219 4080 daigle
######## Outgoing email  #########################################
220 2156 costa
221 4080 daigle
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 2156 costa
226 4080 daigle
######## Registry properties #########################################
227 2156 costa
228 4080 daigle
cgi-user=@cgi-user@
229 2156 costa
230 4080 daigle
# 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 3154 cjones
242 4080 daigle
# 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 3154 cjones
250 4080 daigle
# 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 3154 cjones
258 4080 daigle
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 2156 costa
271 4080 daigle
# Replication properties
272 2156 costa
273 525 berkley
deltaT=60
274 2156 costa
275 4080 daigle
debuglevel=55
276 2156 costa
277 1033 tao
datafileflag=datafile
278 2156 costa
279 1616 tao
datafilesizelimit=1000
280 2156 costa
281 4080 daigle
defaultcontenttype=application/octet-stream
282 2156 costa
283 1956 jones
query.ignored.params=enableediting,foo
284 2156 costa
285 2257 jones
usexmlindex=true
286 2156 costa
287 4080 daigle
######## Skins  #########################################
288
skin.names=esa,nceas,knb,obfs,nrs,sanparks
289 2898 sgarg
290 4080 daigle
#move this to skin config
291
skin.esa.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
292
293 2417 sgarg
# used for the setting the size of resultset for applications like morpho
294 3369 tao
app_resultsetsize=7000
295 2156 costa
296 2417 sgarg
# used for the setting the size of resultset for searches done using browsers
297 3369 tao
web_resultsetsize=7000
298 2417 sgarg
299
# used for the setting the size of queryresult_string in queryresult table.
300
# the limit is 4000 for oracle
301 3351 tao
queryresult_string_length=500000
302 2417 sgarg
303 2424 sgarg
# 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 3339 tao
#the size of query result cache
310
queryresult_cache_size=500
311 3341 tao
312
#turn on or off the query result cache
313
query_cache_on=true
314
315 4090 daigle
#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 3267 tao
#used for writing debug info into a anouther out file
322
writeDebugToFile=true
323
#output file name where debug info will written
324 4080 daigle
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
325 3267 tao
debugOutputFile=/tmp/metacat.debug
326 3274 tao
#delimitered text output file name where debug info will be written
327
delimiteredOutputFile=/tmp/metacat.debug.delimitered
328 3267 tao
329 3780 daigle
# Used for client testing and typically don't need to be changed
330 4080 daigle
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 3780 daigle
339 3081 jones
######## Harvester section            #########################################
340 2156 costa
connectToMetacat=true
341
342
delay=0
343
344 3994 berkley
harvesterAdministrator=name@institution.edu
345 2156 costa
346
logPeriod=90
347
348 2427 costa
maxHarvests=0
349 2156 costa
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 2766 costa
MetacatHasDoc=Metacat already has this EML document,Info
371 2156 costa
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 4080 daigle
######## Spatial section              #########################################
385 3034 perry
386 3268 tao
runSpatialOption=true
387
regenerateCacheOnRestart=true
388 3034 perry
389 3120 perry
# Comma-seperated list of schemas containing spatial bounding boxes
390
# name corresponds to the docname stored in xml_documents table
391 3452 leinfelder
spatialDocnameList=eml,fgdc,metadata
392 3120 perry
393 3034 perry
# XML paths to the four bounding coordinates
394 3120 perry
# 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 3452 leinfelder
metadata_westBoundingCoordinatePath=westbc
407
metadata_eastBoundingCoordinatePath=eastbc
408
metadata_southBoundingCoordinatePath=southbc
409
metadata_northBoundingCoordinatePath=northbc
410 3034 perry
411 3058 perry
docTitle=dataset/title
412 3244 jones
413 4080 daigle
######## SiteMap section              #########################################
414 3244 jones
415
# relative directory path in which sitemap files should be written
416 4080 daigle
## sitemapDirectory=@install-dir@/sitemaps
417 3244 jones
418
# Interval (in milliseconds) between rebuilding the sitemap
419
sitemapInterval=86400000