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 4152 2008-07-22 21:18:30Z 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
application.deployDir=
27
## This is autodiscovered and populated by the config utility
28
application.context=
29
application.default-style=default
30
application.knbSiteURL=http://knb.ecoinformatics.org
31
application.datafilepath=/var/metacat/data
32
application.inlinedatafilepath=/var/metacat/inline-data
33
application.cgiDir=/cgi-bin
34

    
35
############### Database Values ###############
36

    
37
database.user=
38
database.password=
39
database.type=
40
database.connectionURI=jdbc:postgresql://localhost/metacat
41
database.driver=  
42
database.adapter=
43
database.scriptsuffix.postgres=postgres.sql
44
database.scriptsuffix.oracle=oracle.sql
45
database.scriptsuffix.sqlserver=sqlserver.sql
46
database.upgradeVersion.0.0.0=xmltables,loaddtdschema
47
database.upgradeVersion.1.2.0=upgrade-db-to-1.2
48
database.upgradeVersion.1.3.0=upgrade-db-to-1.3
49
database.upgradeVersion.1.4.0=upgrade-db-to-1.4
50
database.upgradeVersion.1.5.0=upgrade-db-to-1.5
51
database.upgradeVersion.1.6.0=upgrade-db-to-1.6
52
database.upgradeVersion.1.7.0=upgrade-db-to-1.7
53
database.upgradeVersion.1.8.0=upgrade-db-to-1.8
54
database.upgradeVersion.1.9.0=upgrade-db-to-1.9
55
database.initialConnections=5
56
database.incrementConnections=5
57
database.maximumConnections=25
58
database.maximumConnectionAge=120000
59
database.maximumConnectionTime=60000
60
database.maximumUsageNumber=100
61
database.numberOfIndexingThreads=5
62
database.indexingTimerTaskTime=604800000
63
database.indexingInitialDelay=3600000
64
database.maximumIndexDelay=5000
65
database.runDBConnectionRecycleThread=off
66
database.cycleTimeOfDBConnection=30000
67

    
68
######## LDAP ##############################################
69

    
70
auth.class=edu.ucsb.nceas.metacat.AuthLdap
71
auth.timeoutMinutes=180
72

    
73
# ldap.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
74
ldap.administrators=
75
ldap.url=ldap://ldap.ecoinformatics.org:389/
76
ldap.surl=ldap://ldap.ecoinformatics.org:389/
77
ldap.allowedSubmitters=
78
ldap.deniedSubmitters=
79
# time in milliseconds allowed for ldap server connections
80
ldap.connectTimeLimit=5000
81
# time in milliseconds allowed for ldap server searches
82
ldap.searchTimeLimit=30000
83
# count of return entries allowed for ldap server searches
84
ldap.searchCountLimit=30000
85
ldap.referral=follow
86
ldap.onlySecureConnection=false
87
ldap.onlySecureReferalsConnection=false
88

    
89
# TODO MCD move this to skins
90
ldap.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
91

    
92
# LDAP supported organization list
93
# ldap.organizations=OBFS,OSUSB,UCNRS,KU,LTER,UVM,NCEAS,SDSC,MSU,NAPIER,SANPARKS,SAEON,UNAFFILIATED
94

    
95
# custom organization parameters
96
#ldap.NCEAS.dn=o=NCEAS,dc=ecoinformatics,dc=org
97
ldap.configured.NCEAS=false
98
ldap.base.NCEAS=dc=ecoinformatics,dc=org
99
ldap.org.NCEAS=o=NCEAS
100
ldap.user.NCEAS=cn=Manager
101
ldap.password.NCEAS=
102
#ldap.OBFS.dn=o=OBFS,dc=ecoinformatics,dc=org
103
ldap.configured.OBFS=false
104
ldap.base.OBFS=dc=ecoinformatics,dc=org
105
ldap.org.OBFS=o=OBFS
106
ldap.user.OBFS=cn=Manager
107
ldap.password.OBFS=
108
#ldap.OSUSB.dn=o=OSUSB,dc=ecoinformatics,dc=org
109
ldap.configured.OSUSB=false
110
ldap.base.OSUSB=dc=ecoinformatics,dc=org
111
ldap.org.OSUSB=o=OSUSB
112
ldap.user.OSUSB=cn=Manager
113
ldap.password.OSUSB=
114
#ldap.UCNRS.dn=ou=people,O=ucnrs.org
115
ldap.configured.UCNRS=false
116
ldap.base.UCNRS=ou=people,O=ucnrs.org
117
ldap.org.UCNRS=
118
ldap.user.UCNRS=cn=Manager
119
ldap.password.UCNRS=
120
#ldap.KU.dn=o=KU,dc=ecoinformatics,dc=org
121
ldap.configured.KU=false
122
ldap.base.KU=dc=ecoinformatics,dc=org
123
ldap.org.KU=o=KU
124
ldap.user.KU=cn=Manager
125
ldap.password.KU=
126
#ldap.LTER.dn=o=LTER,dc=ecoinformatics,dc=org
127
ldap.configured.LTER=false
128
ldap.base.LTER=dc=ecoinformatics,dc=org
129
ldap.org.LTER=o=LTER
130
ldap.user.LTER=cn=Manager
131
ldap.password.LTER=
132
#ldap.UVM.dn=o=UVM,dc=ecoinformatics,dc=org
133
ldap.configured.UVM=false
134
ldap.base.UVM=dc=ecoinformatics,dc=org
135
ldap.org.UVM=o=UVM
136
ldap.user.UVM=cn=Manager
137
ldap.password.UVM=
138
#ldap.SDSC.dn=o=SDSC,dc=ecoinformatics,dc=org
139
ldap.configured.SDSC=false
140
ldap.base.SDSC=dc=ecoinformatics,dc=org
141
ldap.org.SDSC=o=SDSC
142
ldap.user.SDSC=cn=Manager
143
ldap.password.SDSC=
144
#ldap.MSU.dn=o=MSU,dc=ecoinformatics,dc=org
145
ldap.configured.MSU=false
146
ldap.base.MSU=dc=ecoinformatics,dc=org
147
ldap.org.MSU=
148
ldap.user.MSU=cn=Manager,dc=ecoinformatics,dc=org
149
ldap.password.MSU=
150
#ldap.NAPIER.dn=o=NAPIER,dc=ecoinformatics,dc=org
151
ldap.configured.NAPIER=false
152
ldap.base.NAPIER=dc=ecoinformatics,dc=org
153
ldap.org.NAPIER=o=NAPIER
154
ldap.user.NAPIER=cn=Manager
155
ldap.password.NAPIER=
156
#ldap.SANPARKS.dn=o=SANParks,dc=ecoinformatics,dc=org
157
ldap.configured.SANPARKS=false
158
ldap.base.SANPARKS=dc=ecoinformatics,dc=org
159
ldap.org.SANPARKS=
160
ldap.user.SANPARKS=cn=Manager
161
ldap.password.SANPARKS=
162
#ldap.SAEON.dn=o=SAEON,dc=ecoinformatics,dc=org
163
ldap.configured.SAEON=false
164
ldap.base.SAEON=dc=ecoinformatics,dc=org
165
ldap.org.SAEON=
166
ldap.user.SAEON=cn=Manager
167
ldap.password.SAEON=
168
#ldap.UNAFFILIATED.dn=o=unaffiliated,dc=ecoinformatics,dc=org
169
ldap.configured.UNAFFILIATED=false
170
ldap.base.UNAFFILIATED=dc=ecoinformatics,dc=org
171
ldap.org.UNAFFILIATED=o=unaffiliated
172
ldap.user.UNAFFILIATED=cn=Manager
173
ldap.password.UNAFFILIATED=
174

    
175
# LDAP templates 
176
ldap.templates.stage=initregister
177
ldap.templates.header=genericHeader.tmpl
178
ldap.templates.footer=genericFooter.tmpl
179
ldap.templates.changePass=ldapChangePass.tmpl
180
ldap.templates.changePassSuccess=ldapChangePassSuccess.tmpl
181
ldap.templates.resetPass=ldapResetPass.tmpl
182
ldap.templates.resetPassSuccess=ldapResetPassSuccess.tmpl
183
ldap.templates.register=ldapRegister.tmpl
184
ldap.templates.registerFailed=ldapRegisterFailed.tmpl
185
ldap.templates.registerMatch=ldapRegisterMatch.tmpl
186
ldap.templates.registerSuccess=ldapRegisterSuccess.tmpl
187
ldap.templates.registerLter=ldapRegisterLter.tmpl
188
ldap.templates.success=ldapRegisterSuccess.tmpl
189
ldap.templates.failed=ldapRegisterFailed.tmpl
190
ldap.templates.mainServerFailure=ldapMainServerFailure.tmpl
191
ldap.templates.searchResults=searchResults.tmpl
192

    
193
######## Access section               #########################################
194

    
195
timedreplication=false
196
firsttimedreplication=10:00 PM
197
timedreplicationinterval=172800000
198
forcereplicationwaitingtime=30000
199

    
200
######## Log Paths  ##############################################
201

    
202
sitecode=nceas
203
accNumSeparator=.
204

    
205
######## XML / EML  #########################################
206

    
207
saxparser=org.apache.xerces.parsers.SAXParser
208
eml2_0_0namespace=eml://ecoinformatics.org/eml-2.0.0
209
eml2_0_1namespace=eml://ecoinformatics.org/eml-2.0.1
210
eml2_1_0namespace=eml://ecoinformatics.org/eml-2.1.0
211
packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN
212
accessdoctype=-//ecoinformatics.org//eml-access-2.0.0beta6//EN, -//ecoinformatics.org//eml-access-2.0.0beta4//EN
213
physicaldoctype=-//ecoinformatics.org//eml-physical-2.0.0beta6//EN, -//ecoinformatics.org//eml-physical-2.0.0beta4//EN
214
entitydoctype=-//ecoinformatics.org//eml-entity-2.0.0beta6//EN, -//ecoinformatics.org//eml-entity-2.0.0beta4//EN
215
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
216
indexNamespaces=eml://ecoinformatics.org/eml-2.0.0,eml://ecoinformatics.org/eml-2.0.1
217
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
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

    
272
######## junit test section  ################
273
test.printdebug=true
274
test.metacat.url=http://localhost:8080/knb/metacat
275
test.mcuser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org
276
test.mcpassword=kepler
277
test.mcanotheruser=uid=test,o=NCEAS,dc=ecoinformatics,dc=org
278
test.mcanotherpassword=test
279
test.piscouser=uid=tao,o=PISCO,dc=ecoinformatics,dc=org/>
280
test.piscopassword=yourpass/>
281
test.lteruser=uid=jtao,o=LTER,dc=ecoinformatics,dc=org/>
282
test.lterpassword=yourpass/>
283

    
284
# Replication properties
285

    
286
deltaT=60
287

    
288
debuglevel=55
289

    
290
datafileflag=datafile
291

    
292
datafilesizelimit=1000
293

    
294
defaultcontenttype=application/octet-stream
295

    
296
query.ignored.params=enableediting,foo
297

    
298
usexmlindex=true
299

    
300
######## Skins  #########################################
301
skin.names=default,esa,nceas,knb,obfs,nrs,sanparks
302

    
303
#move this to skin config
304
skin.esa.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
305

    
306
# used for the setting the size of resultset for applications like morpho
307
app_resultsetsize=7000
308

    
309
# used for the setting the size of resultset for searches done using browsers
310
web_resultsetsize=7000
311

    
312
# used for the setting the size of queryresult_string in queryresult table.
313
# the limit is 4000 for oracle
314
queryresult_string_length=500000
315

    
316
# the value of xml_returnfield.usage_count should be more than this value
317
# for records to be entered into xml_queryresult. so if you want results for
318
# any combination of returnfields to be stored in xml_queryresult only when
319
# that combination has been requested 50 times, set this value to 50
320
xml_returnfield_count=0
321

    
322
#the size of query result cache
323
queryresult_cache_size=500
324

    
325
#turn on or off the query result cache
326
query_cache_on=true
327

    
328
#The flag to indicate if invalidated eml 201 documents were corrected.
329
#Before Metacat 1.8.1, metacat uses tag RELEASE_EML_2_0_1_UPDATE_6 as eml
330
#schema, which accidentily points to wrong version of eml-resource.xsd.
331
#If this value is false, metacat will run a class to correct eml201 doucment.
332
eml201_document_corrected=false
333

    
334
#used for writing debug info into a anouther out file
335
writeDebugToFile=true
336
#output file name where debug info will written
337
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
338
debugOutputFile=/tmp/metacat.debug
339
#delimitered text output file name where debug info will be written
340
delimiteredOutputFile=/tmp/metacat.debug.delimitered
341

    
342
######## Harvester section            #########################################
343
connectToMetacat=true
344

    
345
delay=0
346

    
347
harvesterAdministrator=name@institution.edu
348

    
349
logPeriod=90
350

    
351
maxHarvests=0
352

    
353
period=24
354

    
355
smtpServer=localhost
356

    
357
GetDocError=Error getting EML document from site,Error
358

    
359
GetDocSuccess=Success getting EML document from site,Debug
360

    
361
GetHarvestListError=Error getting harvest list from site,Error
362

    
363
GetHarvestListSuccess=Success getting harvest list from site,Debug
364

    
365
HarvesterStartup=Harvester start up,Info
366

    
367
HarvesterShutdown=Harvester shut down,Info
368

    
369
InsertDocError=Error inserting EML document to Metacat,Error
370

    
371
InsertDocSuccess=Success inserting EML document to Metacat,Info
372

    
373
MetacatHasDoc=Metacat already has this EML document,Info
374

    
375
UpdateDocError=Error updating EML document to Metacat,Error
376

    
377
UpdateDocSuccess=Success updating EML document to Metacat,Info
378

    
379
ValidateDocError=Error validating EML docoument,Error
380

    
381
ValidateDocSuccess=Success validating EML document,Debug
382

    
383
ValidateHarvestListError=Error validating harvest list,Error
384

    
385
ValidateHarvestListSuccess=Success validating harvest list,Debug
386

    
387
######## Spatial section              #########################################
388

    
389
runSpatialOption=true
390
regenerateCacheOnRestart=true
391

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

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

    
414
docTitle=dataset/title
415

    
416
######## SiteMap section              #########################################
417

    
418
# relative directory path in which sitemap files should be written
419
## sitemapDirectory=@install-dir@/sitemaps
420

    
421
# Interval (in milliseconds) between rebuilding the sitemap
422
sitemapInterval=86400000
423

    
424
######## Developers Section #########################################
425

    
426
# Set dev.runConfiguration to false to keep the system from walking you 
427
# through the configuration utility every time you reinstall metacat.  
428
# Instead,  the system will use backed up configuration values.  If you 
429
# haven't ever configured the app (no backup files) the system will take 
430
# you through the configuration.
431
dev.runConfiguration=true
432

    
(13-13/25)