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 4226 2008-08-08 23:16:20Z 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.authenticatedquery=http://ecogrid.ecoinformatics.org/knb/services/AuthenticatedQueryService
107
datamanager.endpoint.authentication=http://ecogrid.ecoinformatics.org/knb/services/AuthenticationService
108
datamanager.endpoint.put=http://ecogrid.ecoinformatics.org/knb/services/PutService
109
datamanager.endpoint.identifier=http://ecogrid.ecoinformatics.org/knb/services/IdentificationService
110
datamanager.srb.endpoint=
111
datamanager.srb.machinename=
112

    
113
######## LDAP ##############################################
114

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

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

    
153
############### Organization Values ###############
154

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

    
247
######## XML / EML  #########################################
248

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

    
261
######## Outgoing email  #########################################
262

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

    
268
######## Registry properties #########################################
269

    
270
cgi-user=@cgi-user@
271

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

    
313

    
314
######## junit test section  ################
315

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