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 4214 2008-08-06 15:54:03Z 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.tempDir=/var/metacat/temporary
36
application.cgiDir=/cgi-bin
37
#used for writing debug info into a anouther out file
38
application.writeDebugToFile=true
39
#output file name where debug info will written
40
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
41
application.debugOutputFile=/tmp/metacat.debug
42
#delimitered text output file name where debug info will be written
43
application.delimiteredOutputFile=/tmp/metacat.debug.delimitered
44

    
45
############### Database Values ###############
46

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

    
96
######## LDAP ##############################################
97

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

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

    
136
############### Organization Values ###############
137

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

    
230
######## XML / EML  #########################################
231

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

    
244
######## Outgoing email  #########################################
245

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

    
251
######## Registry properties #########################################
252

    
253
cgi-user=@cgi-user@
254

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

    
296

    
297
######## junit test section  ################
298

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

    
312
######## Replication properties  #########################################
313

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

    
326
######## Skins  #########################################
327

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

    
332
######## Document Section  #########################################
333

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

    
342
######## Harvester section            #########################################
343

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

    
367
######## Spatial section              #########################################
368

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

    
393
######## Geoserver section              #######################################
394

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

    
405
######## SiteMap section              #########################################
406

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

    
410
# Interval (in milliseconds) between rebuilding the sitemap
411
sitemap.interval=86400000
412

    
413
######## Developers Section #########################################
414

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

    
(14-14/26)