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 4243 2008-08-14 18:08:27Z 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
# the location of cgi scripts relative to the metacat context directory
37
application.cgiDir=/cgi-bin
38
#used for writing debug info into a anouther out file
39
application.writeDebugToFile=true
40
#output file name where debug info will written
41
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
42
application.debugOutputFile=/tmp/metacat.debug
43
#delimitered text output file name where debug info will be written
44
application.delimiteredOutputFile=/tmp/metacat.debug.delimitered
45

    
46
############### Database Values ###############
47

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

    
97
######## Datamanager section              #######################################
98
datamanager.adapter=PostgresAdapter
99
datamanager.implementation=edu.ucsb.nceas.metacat.dataquery.PostgresDatabaseConnectionPool
100
datamanager.server=localhost
101
datamanager.database=datamanager
102
datamanager.user=datamanager
103
datamanager.password=datamanager
104
datamanager.maxconnections=10
105

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

    
114
######## LDAP ##############################################
115

    
116
auth.class=edu.ucsb.nceas.metacat.AuthLdap
117
auth.timeoutMinutes=180
118

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

    
154
############### Organization Values ###############
155

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

    
248
######## XML / EML  #########################################
249

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

    
262
######## Outgoing email  #########################################
263

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

    
269
######## Registry properties #########################################
270

    
271
cgi-user=@cgi-user@
272

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

    
314

    
315
######## junit test section  ################
316

    
317
test.printdebug=true
318
test.metacatUrl=http://localhost:8080/knb/metacat
319
test.mcUser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org
320
test.mcPassword=kepler
321
test.mcAnotherUser=uid=test,o=NCEAS,dc=ecoinformatics,dc=org
322
test.mcAnotherPassword=test
323
test.piscoUser=uid=testPW,o=PISCO,dc=ecoinformatics,dc=org/>
324
test.piscoPassword=piscotest/>
325
test.lterUser=uid=tmonkey,o=LTER,dc=ecoinformatics,dc=org/>
326
test.lterPassword=T3$tusr
327
test.testProperty=testing
328

    
329
######## Replication properties  #########################################
330

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

    
343
######## Skins  #########################################
344

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

    
349
######## Document Section  #########################################
350

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

    
359
######## Harvester section            #########################################
360

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

    
384
######## Spatial section              #########################################
385

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

    
410
######## Geoserver section              #######################################
411

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

    
422
######## SiteMap section              #########################################
423

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

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

    
430
######## Developers Section #########################################
431

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

    
(15-15/28)