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 4221 2008-08-07 23:44:28Z leinfelder $'
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
######## Datamanager section              #######################################
97
datamanager.adapter=PostgresAdapter
98
datamanager.implementation=edu.ucsb.nceas.metacat.dataquery.PostgresDatabaseConnectionPool
99
datamanager.server=localhost
100
datamanager.database=datamanager
101
datamanager.user=datamanager
102
datamanager.password=datamanager
103
datamanager.maxconnections=10
104

    
105
datamanager.endpoint.query=http://ecogrid.ecoinformatics.org/knb/services/QueryService
106
datamanager.endpoint.authentication=http://ecogrid.ecoinformatics.org/knb/services/AuthenticationService
107
datamanager.endpoint.put=http://ecogrid.ecoinformatics.org/knb/services/PutService
108
datamanager.endpoint.identifier=http://ecogrid.ecoinformatics.org/knb/services/IdentificationService
109
datamanager.srb.endpoint=
110
datamanager.srb.machinename=
111

    
112
######## LDAP ##############################################
113

    
114
auth.class=edu.ucsb.nceas.metacat.AuthLdap
115
auth.timeoutMinutes=180
116

    
117
# ldap.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
118
ldap.administrators=
119
ldap.url=ldap://ldap.ecoinformatics.org:389/
120
ldap.surl=ldap://ldap.ecoinformatics.org:389/
121
ldap.allowedSubmitters=
122
ldap.deniedSubmitters=
123
# time in milliseconds allowed for ldap server connections
124
ldap.connectTimeLimit=5000
125
# time in milliseconds allowed for ldap server searches
126
ldap.searchTimeLimit=30000
127
# count of return entries allowed for ldap server searches
128
ldap.searchCountLimit=30000
129
ldap.referral=follow
130
ldap.onlySecureConnection=false
131
ldap.onlySecureReferalsConnection=false
132
# TODO MCD move this to skins
133
ldap.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
134
# LDAP templates 
135
ldap.templates.stage=initregister
136
ldap.templates.header=genericHeader.tmpl
137
ldap.templates.footer=genericFooter.tmpl
138
ldap.templates.changePass=ldapChangePass.tmpl
139
ldap.templates.changePassSuccess=ldapChangePassSuccess.tmpl
140
ldap.templates.resetPass=ldapResetPass.tmpl
141
ldap.templates.resetPassSuccess=ldapResetPassSuccess.tmpl
142
ldap.templates.register=ldapRegister.tmpl
143
ldap.templates.registerFailed=ldapRegisterFailed.tmpl
144
ldap.templates.registerMatch=ldapRegisterMatch.tmpl
145
ldap.templates.registerSuccess=ldapRegisterSuccess.tmpl
146
ldap.templates.registerLter=ldapRegisterLter.tmpl
147
ldap.templates.success=ldapRegisterSuccess.tmpl
148
ldap.templates.failed=ldapRegisterFailed.tmpl
149
ldap.templates.mainServerFailure=ldapMainServerFailure.tmpl
150
ldap.templates.searchResults=searchResults.tmpl
151

    
152
############### Organization Values ###############
153

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

    
246
######## XML / EML  #########################################
247

    
248
xml.saxparser=org.apache.xerces.parsers.SAXParser
249
xml.eml2_0_0namespace=eml://ecoinformatics.org/eml-2.0.0
250
xml.eml2_0_1namespace=eml://ecoinformatics.org/eml-2.0.1
251
xml.eml2_1_0namespace=eml://ecoinformatics.org/eml-2.1.0
252
xml.packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN
253
xml.accessdoctype=-//ecoinformatics.org//eml-access-2.0.0beta6//EN, -//ecoinformatics.org//eml-access-2.0.0beta4//EN
254
xml.physicaldoctype=-//ecoinformatics.org//eml-physical-2.0.0beta6//EN, -//ecoinformatics.org//eml-physical-2.0.0beta4//EN
255
xml.entitydoctype=-//ecoinformatics.org//eml-entity-2.0.0beta6//EN, -//ecoinformatics.org//eml-entity-2.0.0beta4//EN
256
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
257
xml.indexNamespaces=eml://ecoinformatics.org/eml-2.0.0,eml://ecoinformatics.org/eml-2.0.1
258
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
259

    
260
######## Outgoing email  #########################################
261

    
262
email.mailhost=localhost
263
email.sender=knb-software@nceas.ucsb.edu
264
email.admin=KNB Support
265
email.recipient=knb-software@nceas.ucsb.edu
266

    
267
######## Registry properties #########################################
268

    
269
cgi-user=@cgi-user@
270

    
271
# TODO SCW should obfs still be the default?
272
#registry.config.scope=obfs
273
# TODO SCW remove these two properties, rely instead on the skin config
274
#          PASSWORD ONLY USED IN ESA SKIN
275
#registry.config.username=uid=knbadmin,o=NCEAS,dc=ecoinformatics,dc=org
276
#registry.config.password=your-pw-goes-here
277
#registry.config.site=station
278
#registry.config.type=Registry
279
#registry.config.publicReadable=true
280
# TODO SCW push this out to skin.properties, ONLY true IN ESA SKIN
281
#registry.config.adminIsDocOwner=false
282
#registry.config.organization=
283
#registry.config.abbrev=
284
#registry.config.debug=false
285
# registry modules: parts of the form we should be display
286
#registry.modules.taxonomic=true
287
#registry.modules.method=true
288
#registry.modules.spatial=true
289
#registry.modules.keyword=true
290
#registry.modules.temporal=true
291
#registry.modules.upload=false
292
# skin-specific display settings
293
#registry.required.siteList=true
294
#registry.required.wgList=false
295
#registry.required.organization=true
296
#registry.required.temporal=true
297
#registry.required.spatial=true
298
#registry.required.contactEmail=false
299
registry.templates.response=genericResponse.tmpl
300
registry.templates.entry=entryForm.tmpl
301
registry.templates.guide=genericGuide.tmpl
302
registry.templates.login=loginForm.tmpl
303
registry.templates.confirmData=confirmData.tmpl
304
registry.templates.deleteData=deleteData.tmpl
305
registry.templates.header=genericHeader.tmpl
306
registry.templates.footer=genericFooter.tmpl
307
# ESA-skin specific templates
308
registry.templates.modEmailNotification=
309
registry.templates.modResult=
310
registry.templates.getReviews=
311

    
312

    
313
######## junit test section  ################
314

    
315
test.printdebug=true
316
test.metacat.url=http://localhost:8080/knb/metacat
317
test.mcuser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org
318
test.mcpassword=kepler
319
test.mcanotheruser=uid=test,o=NCEAS,dc=ecoinformatics,dc=org
320
test.mcanotherpassword=test
321
test.piscouser=uid=testPW,o=PISCO,dc=ecoinformatics,dc=org/>
322
test.piscopassword=piscotest/>
323
## TODO MCD get an lter test account
324
test.lteruser=uid=jtao,o=LTER,dc=ecoinformatics,dc=org/>
325
test.lterpassword=yourpass
326
test.testproperty=testing
327

    
328
######## Replication properties  #########################################
329

    
330
replication.logdir=
331
## deltaT=60
332
## debuglevel=55
333
replication.datafileflag=datafile
334
## TODO MCD this seems to be used in other placed besides replication
335
replication.datafilesizelimit=1000
336
replication.defaultcontenttype=application/octet-stream
337
replication.timedreplication=false
338
replication.firsttimedreplication=10:00 PM
339
replication.timedreplicationinterval=172800000
340
replication.forcereplicationwaitingtime=30000
341

    
342
######## Skins  #########################################
343

    
344
skin.names=default,esa,nceas,knb,obfs,nrs,sanparks
345
#move this to skin config
346
skin.esa.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
347

    
348
######## Document Section  #########################################
349

    
350
#The flag to indicate if invalidated eml 201 documents were corrected.
351
#Before Metacat 1.8.1, metacat uses tag RELEASE_EML_2_0_1_UPDATE_6 as eml
352
#schema, which accidentily points to wrong version of eml-resource.xsd.
353
#If this value is false, metacat will run a class to correct eml201 doucment.
354
document.eml201DocumentCorrected=false
355
document.sitecode=nceas
356
document.accNumSeparator=.
357

    
358
######## Harvester section            #########################################
359

    
360
harvester.connectToMetacat=true
361
harvester.delay=0
362
harvester.administrator=name@institution.edu
363
harvester.logPeriod=90
364
harvester.maxHarvests=0
365
harvester.period=24
366
harvester.smtpServer=localhost
367
harvester.GetDocError=Error getting EML document from site,Error
368
harvester.GetDocSuccess=Success getting EML document from site,Debug
369
harvester.GetHarvestListError=Error getting harvest list from site,Error
370
harvester.GetHarvestListSuccess=Success getting harvest list from site,Debug
371
harvester.HarvesterStartup=Harvester start up,Info
372
harvester.HarvesterShutdown=Harvester shut down,Info
373
harvester.InsertDocError=Error inserting EML document to Metacat,Error
374
harvester.InsertDocSuccess=Success inserting EML document to Metacat,Info
375
harvester.MetacatHasDoc=Metacat already has this EML document,Info
376
harvester.UpdateDocError=Error updating EML document to Metacat,Error
377
harvester.UpdateDocSuccess=Success updating EML document to Metacat,Info
378
harvester.ValidateDocError=Error validating EML docoument,Error
379
harvester.ValidateDocSuccess=Success validating EML document,Debug
380
harvester.ValidateHarvestListError=Error validating harvest list,Error
381
harvester.ValidateHarvestListSuccess=Success validating harvest list,Debug
382

    
383
######## Spatial section              #########################################
384

    
385
spatial.runSpatialOption=true
386
spatial.regenerateCacheOnRestart=true
387
# Comma-seperated list of schemas containing spatial bounding boxes
388
# name corresponds to the docname stored in xml_documents table
389
spatial.spatialDocnameList=eml,fgdc,metadata
390
# XML paths to the four bounding coordinates
391
# These paths must be included in your indexPaths variable in build.properties
392
# Note the naming convention:
393
#   {docname}_{direction}BoundingCoordinatePath=.....
394
# Has not been tested with other schemas besides EML
395
spatial.eml_westBoundingCoordinatePath=geographicCoverage/boundingCoordinates/westBoundingCoordinate
396
spatial.eml_eastBoundingCoordinatePath=geographicCoverage/boundingCoordinates/eastBoundingCoordinate
397
spatial.eml_southBoundingCoordinatePath=geographicCoverage/boundingCoordinates/southBoundingCoordinate
398
spatial.eml_northBoundingCoordinatePath=geographicCoverage/boundingCoordinates/northBoundingCoordinate
399
spatial.fgdc_westBoundingCoordinatePath=spdom/bounding/westbc
400
spatial.fgdc_eastBoundingCoordinatePath=spdom/bounding/eastbc
401
spatial.fgdc_southBoundingCoordinatePath=spdom/bounding/southbc
402
spatial.fgdc_northBoundingCoordinatePath=spdom/bounding/northbc
403
spatial.metadata_westBoundingCoordinatePath=westbc
404
spatial.metadata_eastBoundingCoordinatePath=eastbc
405
spatial.metadata_southBoundingCoordinatePath=southbc
406
spatial.metadata_northBoundingCoordinatePath=northbc
407
spatial.docTitle=dataset/title
408

    
409
######## Geoserver section              #######################################
410

    
411
geoserver.loginPostPage=admin/loginSubmit.do
412
geoserver.loginSuccessString=admin/logout.do
413
geoserver.passwordPostPage=config/loginEditSubmit.do
414
geoserver.passwordSuccessString=Data loaded without incident
415
geoserver.applyPostPage=admin/saveToGeoServer.do
416
geoserver.defaultUsername=admin
417
geoserver.defaultPassword=geoserver
418
geoserver.username=
419
geoserver.password=
420

    
421
######## SiteMap section              #########################################
422

    
423
# relative directory path in which sitemap files should be written
424
## sitemapDirectory=@install-dir@/sitemaps
425

    
426
# Interval (in milliseconds) between rebuilding the sitemap
427
sitemap.interval=86400000
428

    
429
######## Developers Section #########################################
430

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

    
(15-15/28)