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 4211 2008-08-06 00:32:29Z daigle $'
5
#
6

    
7
######## Configuration utility section  ################
8

    
9
configutil.propertiesConfigured=false
10
## configutil.organizationsConfigured=false
11
configutil.ldapConfigured=false
12
configutil.skinsConfigured=false
13
configutil.databaseConfigured=false
14
configutil.geoserverConfigured=false
15

    
16
############### Server Values #################
17

    
18
server.name=localhost
19
server.httpPort=80
20
server.httpSSLPort=443
21

    
22
############### Application Values ############
23

    
24
## one of the few places where we use ANT tokens
25
application.metacatVersion=@metacatVersion@
26
## This is autodiscovered and populated by the config utility
27

    
28
application.deployDir=
29
## This is autodiscovered and populated by the config utility
30
application.context=
31
application.default-style=default
32
application.knbSiteURL=http://knb.ecoinformatics.org
33
application.datafilepath=/var/metacat/data
34
application.inlinedatafilepath=/var/metacat/inline-data
35
application.cgiDir=/cgi-bin
36
#used for writing debug info into a anouther out file
37
application.writeDebugToFile=true
38
#output file name where debug info will written
39
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
40
application.debugOutputFile=/tmp/metacat.debug
41
#delimitered text output file name where debug info will be written
42
application.delimiteredOutputFile=/tmp/metacat.debug.delimitered
43

    
44
############### Database Values ###############
45

    
46
database.connectionURI=jdbc:postgresql://localhost/metacat
47
database.user=
48
database.password=
49
database.type=
50
database.driver=  
51
database.adapter=
52
database.scriptsuffix.postgres=postgres.sql
53
database.scriptsuffix.oracle=oracle.sql
54
database.scriptsuffix.sqlserver=sqlserver.sql
55
database.upgradeVersion.0.0.0=xmltables,loaddtdschema
56
database.upgradeVersion.1.2.0=upgrade-db-to-1.2
57
database.upgradeVersion.1.3.0=upgrade-db-to-1.3
58
database.upgradeVersion.1.4.0=upgrade-db-to-1.4
59
database.upgradeVersion.1.5.0=upgrade-db-to-1.5
60
database.upgradeVersion.1.6.0=upgrade-db-to-1.6
61
database.upgradeVersion.1.7.0=upgrade-db-to-1.7
62
database.upgradeVersion.1.8.0=upgrade-db-to-1.8
63
database.upgradeVersion.1.9.0=upgrade-db-to-1.9
64
database.initialConnections=5
65
database.incrementConnections=5
66
database.maximumConnections=25
67
database.maximumConnectionAge=120000
68
database.maximumConnectionTime=60000
69
database.maximumUsageNumber=100
70
database.numberOfIndexingThreads=5
71
database.indexingTimerTaskTime=604800000
72
database.indexingInitialDelay=3600000
73
database.maximumIndexDelay=5000
74
database.runDBConnectionRecycleThread=off
75
database.cycleTimeOfDBConnection=30000
76
database.queryignoredparams=enableediting,foo
77
database.usexmlindex=true
78
# used for the setting the size of resultset for applications like morpho
79
database.appResultsetSize=7000
80
# used for the setting the size of resultset for searches done using browsers
81
database.webResultsetSize=7000
82
# the value of xml_returnfield.usage_count should be more than this value
83
# for records to be entered into xml_queryresult. so if you want results for
84
# any combination of returnfields to be stored in xml_queryresult only when
85
# that combination has been requested 50 times, set this value to 50
86
database.xmlReturnfieldCount=0
87
# used for the setting the size of queryresult_string in queryresult table.
88
# the limit is 4000 for oracle
89
database.queryresultStringLength=500000
90
#the size of query result cache
91
database.queryresultCacheSize=500
92
#turn on or off the query result cache
93
database.queryCacheOn=true
94

    
95
######## LDAP ##############################################
96

    
97
auth.class=edu.ucsb.nceas.metacat.AuthLdap
98
auth.timeoutMinutes=180
99

    
100
# ldap.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
101
ldap.administrators=
102
ldap.url=ldap://ldap.ecoinformatics.org:389/
103
ldap.surl=ldap://ldap.ecoinformatics.org:389/
104
ldap.allowedSubmitters=
105
ldap.deniedSubmitters=
106
# time in milliseconds allowed for ldap server connections
107
ldap.connectTimeLimit=5000
108
# time in milliseconds allowed for ldap server searches
109
ldap.searchTimeLimit=30000
110
# count of return entries allowed for ldap server searches
111
ldap.searchCountLimit=30000
112
ldap.referral=follow
113
ldap.onlySecureConnection=false
114
ldap.onlySecureReferalsConnection=false
115
# TODO MCD move this to skins
116
ldap.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
117
# LDAP templates 
118
ldap.templates.stage=initregister
119
ldap.templates.header=genericHeader.tmpl
120
ldap.templates.footer=genericFooter.tmpl
121
ldap.templates.changePass=ldapChangePass.tmpl
122
ldap.templates.changePassSuccess=ldapChangePassSuccess.tmpl
123
ldap.templates.resetPass=ldapResetPass.tmpl
124
ldap.templates.resetPassSuccess=ldapResetPassSuccess.tmpl
125
ldap.templates.register=ldapRegister.tmpl
126
ldap.templates.registerFailed=ldapRegisterFailed.tmpl
127
ldap.templates.registerMatch=ldapRegisterMatch.tmpl
128
ldap.templates.registerSuccess=ldapRegisterSuccess.tmpl
129
ldap.templates.registerLter=ldapRegisterLter.tmpl
130
ldap.templates.success=ldapRegisterSuccess.tmpl
131
ldap.templates.failed=ldapRegisterFailed.tmpl
132
ldap.templates.mainServerFailure=ldapMainServerFailure.tmpl
133
ldap.templates.searchResults=searchResults.tmpl
134

    
135
############### Organization Values ###############
136
#ldap.NCEAS.dn=o=NCEAS,dc=ecoinformatics,dc=org
137
organization.configured.NCEAS=false
138
organization.name.NCEAS=National Center for Ecological Analysis and Synthesis
139
organization.base.NCEAS=dc=ecoinformatics,dc=org
140
organization.org.NCEAS=o=NCEAS
141
organization.user.NCEAS=cn=Manager
142
organization.password.NCEAS=
143
#ldap.OBFS.dn=o=OBFS,dc=ecoinformatics,dc=org
144
organization.configured.OBFS=false
145
organization.name.OBFS=Organization of Biological Field Stations
146
organization.base.OBFS=dc=ecoinformatics,dc=org
147
organization.org.OBFS=o=OBFS
148
organization.user.OBFS=cn=Manager
149
organization.password.OBFS=
150
#ldap.OSUSB.dn=o=OSUSB,dc=ecoinformatics,dc=org
151
organization.configured.OSUSB=false
152
organization.name.OSUSB=
153
organization.base.OSUSB=dc=ecoinformatics,dc=org
154
organization.org.OSUSB=o=OSUSB
155
organization.user.OSUSB=cn=Manager
156
organization.password.OSUSB=
157
#ldap.UCNRS.dn=ou=people,O=ucnrs.org
158
organization.configured.UCNRS=false
159
organization.name.UCNRS=
160
organization.base.UCNRS=ou=people,O=ucnrs.org
161
organization.org.UCNRS=
162
organization.user.UCNRS=cn=Manager
163
organization.password.UCNRS=
164
#ldap.KU.dn=o=KU,dc=ecoinformatics,dc=org
165
organization.configured.KU=false
166
organization.name.KU=
167
organization.base.KU=dc=ecoinformatics,dc=org
168
organization.org.KU=o=KU
169
organization.user.KU=cn=Manager
170
organization.password.KU=
171
#ldap.LTER.dn=o=LTER,dc=ecoinformatics,dc=org
172
organization.configured.LTER=false
173
organization.name.LTER=
174
organization.base.LTER=dc=ecoinformatics,dc=org
175
organization.org.LTER=o=LTER
176
organization.user.LTER=cn=Manager
177
organization.password.LTER=
178
#ldap.UVM.dn=o=UVM,dc=ecoinformatics,dc=org
179
organization.configured.UVM=false
180
organization.name.UVM=
181
organization.base.UVM=dc=ecoinformatics,dc=org
182
organization.org.UVM=o=UVM
183
organization.user.UVM=cn=Manager
184
organization.password.UVM=
185
#ldap.SDSC.dn=o=SDSC,dc=ecoinformatics,dc=org
186
organization.configured.SDSC=false
187
organization.name.SDSC=
188
organization.base.SDSC=dc=ecoinformatics,dc=org
189
organization.org.SDSC=o=SDSC
190
organization.user.SDSC=cn=Manager
191
organization.password.SDSC=
192
#ldap.MSU.dn=o=MSU,dc=ecoinformatics,dc=org
193
organization.configured.MSU=false
194
organization.name.MSU=
195
organization.base.MSU=dc=ecoinformatics,dc=org
196
organization.org.MSU=
197
organization.user.MSU=cn=Manager,dc=ecoinformatics,dc=org
198
organization.password.MSU=
199
#ldap.NAPIER.dn=o=NAPIER,dc=ecoinformatics,dc=org
200
organization.configured.NAPIER=false
201
organization.name.NAPIER=
202
organization.base.NAPIER=dc=ecoinformatics,dc=org
203
organization.org.NAPIER=o=NAPIER
204
organization.user.NAPIER=cn=Manager
205
organization.password.NAPIER=
206
#ldap.SANPARKS.dn=o=SANParks,dc=ecoinformatics,dc=org
207
organization.configured.SANPARKS=false
208
organization.name.SANPARKS=Kruger National Park
209
organization.base.SANPARKS=dc=ecoinformatics,dc=org
210
organization.org.SANPARKS=
211
organization.user.SANPARKS=cn=Manager
212
organization.password.SANPARKS=
213
#ldap.SAEON.dn=o=SAEON,dc=ecoinformatics,dc=org
214
organization.configured.SAEON=false
215
organization.name.SAEON=South African Environmental Observation Network Repository
216
organization.base.SAEON=dc=ecoinformatics,dc=org
217
organization.org.SAEON=
218
organization.user.SAEON=cn=Manager
219
organization.password.SAEON=
220
#ldap.UNAFFILIATED.dn=o=unaffiliated,dc=ecoinformatics,dc=org
221
organization.configured.UNAFFILIATED=false
222
organization.name.UNAFFILIATED=
223
organization.base.UNAFFILIATED=dc=ecoinformatics,dc=org
224
organization.org.UNAFFILIATED=o=unaffiliated
225
organization.user.UNAFFILIATED=cn=Manager
226
organization.password.UNAFFILIATED=
227

    
228
######## XML / EML  #########################################
229

    
230
saxparser=org.apache.xerces.parsers.SAXParser
231
eml2_0_0namespace=eml://ecoinformatics.org/eml-2.0.0
232
eml2_0_1namespace=eml://ecoinformatics.org/eml-2.0.1
233
eml2_1_0namespace=eml://ecoinformatics.org/eml-2.1.0
234
packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN
235
accessdoctype=-//ecoinformatics.org//eml-access-2.0.0beta6//EN, -//ecoinformatics.org//eml-access-2.0.0beta4//EN
236
physicaldoctype=-//ecoinformatics.org//eml-physical-2.0.0beta6//EN, -//ecoinformatics.org//eml-physical-2.0.0beta4//EN
237
entitydoctype=-//ecoinformatics.org//eml-entity-2.0.0beta6//EN, -//ecoinformatics.org//eml-entity-2.0.0beta4//EN
238
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
239
indexNamespaces=eml://ecoinformatics.org/eml-2.0.0,eml://ecoinformatics.org/eml-2.0.1
240
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
241

    
242
######## Outgoing email  #########################################
243

    
244
email.mailhost=localhost
245
email.sender=knb-software@nceas.ucsb.edu
246
email.admin=KNB Support
247
email.recipient=knb-software@nceas.ucsb.edu
248

    
249
######## Registry properties #########################################
250

    
251
cgi-user=@cgi-user@
252

    
253
# TODO SCW should obfs still be the default?
254
registry.config.scope=obfs
255
# TODO SCW remove these two properties, rely instead on the skin config
256
#          PASSWORD ONLY USED IN ESA SKIN
257
registry.config.username=uid=knbadmin,o=NCEAS,dc=ecoinformatics,dc=org
258
registry.config.password=your-pw-goes-here
259
registry.config.site=station
260
registry.config.type=Registry
261
registry.config.publicReadable=true
262
# TODO SCW push this out to skin.properties, ONLY true IN ESA SKIN
263
registry.config.adminIsDocOwner=false
264
registry.config.organization=
265
registry.config.abbrev=
266
registry.config.debug=false
267
# registry modules: parts of the form we should be display
268
registry.modules.taxonomic=true
269
registry.modules.method=true
270
registry.modules.spatial=true
271
registry.modules.keyword=true
272
registry.modules.temporal=true
273
registry.modules.upload=false
274
# skin-specific display settings
275
registry.required.siteList=true
276
registry.required.wgList=false
277
registry.required.organization=true
278
registry.required.temporal=true
279
registry.required.spatial=true
280
registry.required.contactEmail=false
281
registry.templates.response=genericResponse.tmpl
282
registry.templates.entry=entryForm.tmpl
283
registry.templates.guide=genericGuide.tmpl
284
registry.templates.login=loginForm.tmpl
285
registry.templates.confirmData=confirmData.tmpl
286
registry.templates.deleteData=deleteData.tmpl
287
registry.templates.header=genericHeader.tmpl
288
registry.templates.footer=genericFooter.tmpl
289
# ESA-skin specific templates
290
registry.templates.modEmailNotification=
291
registry.templates.modResult=
292
registry.templates.getReviews=
293

    
294

    
295
######## junit test section  ################
296

    
297
test.printdebug=true
298
test.metacat.url=http://localhost:8080/knb/metacat
299
test.mcuser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org
300
test.mcpassword=kepler
301
test.mcanotheruser=uid=test,o=NCEAS,dc=ecoinformatics,dc=org
302
test.mcanotherpassword=test
303
test.piscouser=uid=testPW,o=PISCO,dc=ecoinformatics,dc=org/>
304
test.piscopassword=piscotest/>
305
## TODO MCD get an lter test account
306
test.lteruser=uid=jtao,o=LTER,dc=ecoinformatics,dc=org/>
307
test.lterpassword=yourpass
308
test.testproperty=testing
309

    
310
######## Replication properties  #########################################
311

    
312
replication.logdir=
313
## deltaT=60
314
## debuglevel=55
315
replication.datafileflag=datafile
316
## TODO MCD this seems to be used in other placed besides replication
317
replication.datafilesizelimit=1000
318
replication.defaultcontenttype=application/octet-stream
319
replication.timedreplication=false
320
replication.firsttimedreplication=10:00 PM
321
replication.timedreplicationinterval=172800000
322
replication.forcereplicationwaitingtime=30000
323

    
324
######## Skins  #########################################
325

    
326
skin.names=default,esa,nceas,knb,obfs,nrs,sanparks
327
#move this to skin config
328
skin.esa.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
329

    
330
######## Document Section  #########################################
331

    
332
#The flag to indicate if invalidated eml 201 documents were corrected.
333
#Before Metacat 1.8.1, metacat uses tag RELEASE_EML_2_0_1_UPDATE_6 as eml
334
#schema, which accidentily points to wrong version of eml-resource.xsd.
335
#If this value is false, metacat will run a class to correct eml201 doucment.
336
document.eml201DocumentCorrected=false
337
document.sitecode=nceas
338
document.accNumSeparator=.
339

    
340
######## Harvester section            #########################################
341

    
342
harvester.connectToMetacat=true
343
harvester.delay=0
344
harvester.administrator=name@institution.edu
345
harvester.logPeriod=90
346
harvester.maxHarvests=0
347
harvester.period=24
348
harvester.smtpServer=localhost
349
harvester.GetDocError=Error getting EML document from site,Error
350
harvester.GetDocSuccess=Success getting EML document from site,Debug
351
harvester.GetHarvestListError=Error getting harvest list from site,Error
352
harvester.GetHarvestListSuccess=Success getting harvest list from site,Debug
353
harvester.HarvesterStartup=Harvester start up,Info
354
harvester.HarvesterShutdown=Harvester shut down,Info
355
harvester.InsertDocError=Error inserting EML document to Metacat,Error
356
harvester.InsertDocSuccess=Success inserting EML document to Metacat,Info
357
harvester.MetacatHasDoc=Metacat already has this EML document,Info
358
harvester.UpdateDocError=Error updating EML document to Metacat,Error
359
harvester.UpdateDocSuccess=Success updating EML document to Metacat,Info
360
harvester.ValidateDocError=Error validating EML docoument,Error
361
harvester.ValidateDocSuccess=Success validating EML document,Debug
362
harvester.ValidateHarvestListError=Error validating harvest list,Error
363
harvester.ValidateHarvestListSuccess=Success validating harvest list,Debug
364

    
365
######## Spatial section              #########################################
366

    
367
spatial.runSpatialOption=true
368
spatial.regenerateCacheOnRestart=true
369
# Comma-seperated list of schemas containing spatial bounding boxes
370
# name corresponds to the docname stored in xml_documents table
371
spatial.spatialDocnameList=eml,fgdc,metadata
372
# XML paths to the four bounding coordinates
373
# These paths must be included in your indexPaths variable in build.properties
374
# Note the naming convention:
375
#   {docname}_{direction}BoundingCoordinatePath=.....
376
# Has not been tested with other schemas besides EML
377
spatial.eml_westBoundingCoordinatePath=geographicCoverage/boundingCoordinates/westBoundingCoordinate
378
spatial.eml_eastBoundingCoordinatePath=geographicCoverage/boundingCoordinates/eastBoundingCoordinate
379
spatial.eml_southBoundingCoordinatePath=geographicCoverage/boundingCoordinates/southBoundingCoordinate
380
spatial.eml_northBoundingCoordinatePath=geographicCoverage/boundingCoordinates/northBoundingCoordinate
381
spatial.fgdc_westBoundingCoordinatePath=spdom/bounding/westbc
382
spatial.fgdc_eastBoundingCoordinatePath=spdom/bounding/eastbc
383
spatial.fgdc_southBoundingCoordinatePath=spdom/bounding/southbc
384
spatial.fgdc_northBoundingCoordinatePath=spdom/bounding/northbc
385
spatial.metadata_westBoundingCoordinatePath=westbc
386
spatial.metadata_eastBoundingCoordinatePath=eastbc
387
spatial.metadata_southBoundingCoordinatePath=southbc
388
spatial.metadata_northBoundingCoordinatePath=northbc
389
spatial.docTitle=dataset/title
390

    
391
######## Geoserver section              #######################################
392

    
393
geoserver.loginPostPage=admin/loginSubmit.do
394
geoserver.loginSuccessString=admin/logout.do
395
geoserver.passwordPostPage=config/loginEditSubmit.do
396
geoserver.passwordSuccessString=Data loaded without incident
397
geoserver.applyPostPage=admin/saveToGeoServer.do
398
geoserver.defaultUsername=admin
399
geoserver.defaultPassword=geoserver
400
geoserver.username=
401
geoserver.password=
402

    
403
######## SiteMap section              #########################################
404

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

    
408
# Interval (in milliseconds) between rebuilding the sitemap
409
sitemap.interval=86400000
410

    
411
######## Developers Section #########################################
412

    
413
# Set dev.runConfiguration to false to keep the system from walking you 
414
# through the configuration utility every time you reinstall metacat.  
415
# Instead,  the system will use backed up configuration values.  If you 
416
# haven't ever configured the app (no backup files) the system will take 
417
# you through the configuration.
418
dev.runConfiguration=true
419

    
(14-14/26)