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 4080 2008-07-07 04:25:34Z 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.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

    
65
######## LDAP ##############################################
66

    
67
auth.class=edu.ucsb.nceas.metacat.AuthLdap
68
auth.timeoutMinutes=180
69

    
70
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

    
85
# TODO MCD move this to skins
86
ldap.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
87

    
88
# LDAP supported organization list
89
# ldap.organizations=OBFS,OSUSB,UCNRS,KU,LTER,UVM,NCEAS,SDSC,MSU,NAPIER,SANPARKS,SAEON,UNAFFILIATED
90

    
91
# 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

    
171
# 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

    
189
######## Access section               #########################################
190

    
191
timedreplication=false
192
firsttimedreplication=10:00 PM
193
timedreplicationinterval=172800000
194
forcereplicationwaitingtime=30000
195

    
196
######## Log Paths  ##############################################
197

    
198
sitecode=nceas
199
accNumSeparator=.
200

    
201
######## XML / EML  #########################################
202

    
203
saxparser=org.apache.xerces.parsers.SAXParser
204
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
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
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
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
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
junittesturl=@systemidserver@@servlet-path@
215

    
216
######## Outgoing email  #########################################
217

    
218
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

    
223
######## Registry properties #########################################
224

    
225
cgi-user=@cgi-user@
226

    
227
# 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

    
239
# 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

    
247
# 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

    
255
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

    
268
# Replication properties
269

    
270
deltaT=60
271

    
272
debuglevel=55
273

    
274
datafileflag=datafile
275

    
276
datafilesizelimit=1000
277

    
278
defaultcontenttype=application/octet-stream
279

    
280
query.ignored.params=enableediting,foo
281

    
282
usexmlindex=true
283

    
284
######## Skins  #########################################
285
skin.names=esa,nceas,knb,obfs,nrs,sanparks
286

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

    
290
# used for the setting the size of resultset for applications like morpho
291
app_resultsetsize=7000
292

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

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

    
300
# 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
#the size of query result cache
307
queryresult_cache_size=500
308

    
309
#turn on or off the query result cache
310
query_cache_on=true
311

    
312
#used for writing debug info into a anouther out file
313
writeDebugToFile=true
314
#output file name where debug info will written
315
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
316
debugOutputFile=/tmp/metacat.debug
317
#delimitered text output file name where debug info will be written
318
delimiteredOutputFile=/tmp/metacat.debug.delimitered
319

    
320
# Used for client testing and typically don't need to be changed
321
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

    
330
######## Harvester section            #########################################
331
connectToMetacat=true
332

    
333
delay=0
334

    
335
harvesterAdministrator=name@institution.edu
336

    
337
logPeriod=90
338

    
339
maxHarvests=0
340

    
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
MetacatHasDoc=Metacat already has this EML document,Info
362

    
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
######## Spatial section              #########################################
376

    
377
runSpatialOption=true
378
regenerateCacheOnRestart=true
379

    
380
# Comma-seperated list of schemas containing spatial bounding boxes
381
# name corresponds to the docname stored in xml_documents table
382
spatialDocnameList=eml,fgdc,metadata
383

    
384
# XML paths to the four bounding coordinates
385
# 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
metadata_westBoundingCoordinatePath=westbc
398
metadata_eastBoundingCoordinatePath=eastbc
399
metadata_southBoundingCoordinatePath=southbc
400
metadata_northBoundingCoordinatePath=northbc
401

    
402
docTitle=dataset/title
403

    
404
######## SiteMap section              #########################################
405

    
406
# relative directory path in which sitemap files should be written
407
## sitemapDirectory=@install-dir@/sitemaps
408

    
409
# Interval (in milliseconds) between rebuilding the sitemap
410
sitemapInterval=86400000
411

    
(13-13/26)