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

    
47
############### Database Values ###############
48

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

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

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

    
115
######## LDAP ##############################################
116

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

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

    
155
############### Organization Values ###############
156

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

    
249
######## XML / EML  #########################################
250

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

    
264
######## Outgoing email  #########################################
265

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

    
271
######## Replication properties  #########################################
272

    
273
replication.logdir=
274
## deltaT=60
275
## debuglevel=55
276
replication.datafileflag=datafile
277
## TODO MCD this seems to be used in other placed besides replication
278
replication.datafilesizelimit=1000
279
replication.defaultcontenttype=application/octet-stream
280
replication.timedreplication=false
281
replication.firsttimedreplication=10:00 PM
282
replication.timedreplicationinterval=172800000
283
replication.forcereplicationwaitingtime=30000
284

    
285
######## Skins  #########################################
286

    
287
skin.names=default,esa,nceas,knb,obfs,nrs,sanparks
288
#move this to skin config
289
skin.esa.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
290

    
291
######## Document Section  #########################################
292

    
293
#The flag to indicate if invalidated eml 201 documents were corrected.
294
#Before Metacat 1.8.1, metacat uses tag RELEASE_EML_2_0_1_UPDATE_6 as eml
295
#schema, which accidentily points to wrong version of eml-resource.xsd.
296
#If this value is false, metacat will run a class to correct eml201 doucment.
297
document.eml201DocumentCorrected=false
298
document.sitecode=nceas
299
document.accNumSeparator=.
300

    
301
######## Harvester section            #########################################
302

    
303
harvester.connectToMetacat=true
304
harvester.delay=0
305
harvester.administrator=name@institution.edu
306
harvester.logPeriod=90
307
harvester.maxHarvests=0
308
harvester.period=24
309
harvester.smtpServer=localhost
310
harvester.GetDocError=Error getting EML document from site,Error
311
harvester.GetDocSuccess=Success getting EML document from site,Debug
312
harvester.GetHarvestListError=Error getting harvest list from site,Error
313
harvester.GetHarvestListSuccess=Success getting harvest list from site,Debug
314
harvester.HarvesterStartup=Harvester start up,Info
315
harvester.HarvesterShutdown=Harvester shut down,Info
316
harvester.InsertDocError=Error inserting EML document to Metacat,Error
317
harvester.InsertDocSuccess=Success inserting EML document to Metacat,Info
318
harvester.MetacatHasDoc=Metacat already has this EML document,Info
319
harvester.UpdateDocError=Error updating EML document to Metacat,Error
320
harvester.UpdateDocSuccess=Success updating EML document to Metacat,Info
321
harvester.ValidateDocError=Error validating EML docoument,Error
322
harvester.ValidateDocSuccess=Success validating EML document,Debug
323
harvester.ValidateHarvestListError=Error validating harvest list,Error
324
harvester.ValidateHarvestListSuccess=Success validating harvest list,Debug
325

    
326
######## Spatial section              #########################################
327

    
328
spatial.runSpatialOption=true
329
spatial.regenerateCacheOnRestart=true
330
# Comma-seperated list of schemas containing spatial bounding boxes
331
# name corresponds to the docname stored in xml_documents table
332
spatial.spatialDocnameList=eml,fgdc,metadata
333
# XML paths to the four bounding coordinates
334
# These paths must be included in your indexPaths variable in build.properties
335
# Note the naming convention:
336
#   {docname}_{direction}BoundingCoordinatePath=.....
337
# Has not been tested with other schemas besides EML
338
spatial.eml_westBoundingCoordinatePath=geographicCoverage/boundingCoordinates/westBoundingCoordinate
339
spatial.eml_eastBoundingCoordinatePath=geographicCoverage/boundingCoordinates/eastBoundingCoordinate
340
spatial.eml_southBoundingCoordinatePath=geographicCoverage/boundingCoordinates/southBoundingCoordinate
341
spatial.eml_northBoundingCoordinatePath=geographicCoverage/boundingCoordinates/northBoundingCoordinate
342
spatial.fgdc_westBoundingCoordinatePath=spdom/bounding/westbc
343
spatial.fgdc_eastBoundingCoordinatePath=spdom/bounding/eastbc
344
spatial.fgdc_southBoundingCoordinatePath=spdom/bounding/southbc
345
spatial.fgdc_northBoundingCoordinatePath=spdom/bounding/northbc
346
spatial.metadata_westBoundingCoordinatePath=westbc
347
spatial.metadata_eastBoundingCoordinatePath=eastbc
348
spatial.metadata_southBoundingCoordinatePath=southbc
349
spatial.metadata_northBoundingCoordinatePath=northbc
350
spatial.docTitle=dataset/title
351

    
352
######## Geoserver section              #######################################
353

    
354
geoserver.loginPostPage=admin/loginSubmit.do
355
geoserver.loginSuccessString=admin/logout.do
356
geoserver.passwordPostPage=config/loginEditSubmit.do
357
geoserver.passwordSuccessString=Data loaded without incident
358
geoserver.applyPostPage=admin/saveToGeoServer.do
359
geoserver.defaultUsername=admin
360
geoserver.defaultPassword=geoserver
361
geoserver.username=
362
geoserver.password=
363

    
364
######## SiteMap section              #########################################
365

    
366
# relative directory path in which sitemap files should be written
367
## sitemapDirectory=@install-dir@/sitemaps
368

    
369
# Interval (in milliseconds) between rebuilding the sitemap
370
sitemap.interval=86400000
371

    
372
######## junit test section  ################
373

    
374
test.printdebug=true
375
test.metacatUrl=http://localhost/knb/metacat
376
test.contextUrl=http://localhost/knb
377
test.metacatDeployDir=/usr/local/tomcat/webapps/knb
378
test.mcUser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org
379
test.mcPassword=kepler
380
test.mcAnotherUser=uid=test,o=NCEAS,dc=ecoinformatics,dc=org
381
test.mcAnotherPassword=test
382
test.piscoUser=uid=piscotest,o=PISCO,dc=ecoinformatics,dc=org
383
test.piscoPassword=testPW
384
test.lterUser=uid=tmonkey,o=LTER,dc=ecoinformatics,dc=org
385
test.lterPassword=T3$tusr
386
test.testProperty=testing
387

    
388
######## Developers Section #########################################
389

    
390
# Set dev.runConfiguration to false to keep the system from walking you 
391
# through the configuration utility every time you reinstall metacat.  
392
# Instead,  the system will use backed up configuration values.  If you 
393
# haven't ever configured the app (no backup files) the system will take 
394
# you through the configuration.
395
dev.runConfiguration=true
396

    
(16-16/29)