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 4984 2009-07-20 06:18:53Z daigle $'
5
#
6

    
7
######## Configuration utility section  ################
8

    
9
configutil.propertiesConfigured=false
10
configutil.authConfigured=false
11
configutil.skinsConfigured=false
12
configutil.databaseConfigured=false
13
configutil.geoserverConfigured=false
14

    
15
############### Server Values #################
16

    
17
server.name=localhost
18
server.httpPort=80
19
server.httpSSLPort=443
20

    
21
############### Application Values ############
22

    
23
## one of the few places where we use ANT tokens
24
application.metacatVersion=@metacatVersion@
25
application.metacatReleaseInfo=@metacatReleaseInfo@
26

    
27
application.deployDir=
28
## This is autodiscovered and populated by the config utility
29
application.context=
30
application.default-style=default
31
application.knbSiteURL=http://knb.ecoinformatics.org
32
application.backupDir=
33
application.windowsBackupBaseDir=C:\\Program Files
34
application.linuxBackupBaseDir=/var
35
application.datafilepath=/var/metacat/data
36
application.inlinedatafilepath=/var/metacat/inline-data
37
application.documentfilepath=/var/metacat/documents
38
application.expandedArchivePath=/var/metacat/expanded-archives
39
application.tempDir=/var/metacat/temporary
40
# the location of cgi scripts relative to the metacat context directory
41
application.cgiDir=/cgi-bin
42
#used for writing debug info into a anouther out file
43
application.writeDebugToFile=true
44
#output file name where debug info will written
45
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
46
application.debugOutputFile=/tmp/metacat.debug
47
#delimitered text output file name where debug info will be written
48
application.delimiteredOutputFile=/tmp/metacat.debug.delimitered
49

    
50
############### Database Values ###############
51

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

    
103
######## Datamanager section              #######################################
104
datamanager.adapter=PostgresAdapter
105
datamanager.implementation=edu.ucsb.nceas.metacat.dataquery.PostgresDatabaseConnectionPool
106
datamanager.server=localhost
107
datamanager.database=datamanager
108
datamanager.user=datamanager
109
datamanager.password=datamanager
110
datamanager.maxconnections=10
111

    
112
#datamanager.endpoint.query=http://ecogrid.ecoinformatics.org/knb/services/QueryService
113
#datamanager.endpoint.authenticatedquery=http://ecogrid.ecoinformatics.org/knb/services/AuthenticatedQueryService
114
#datamanager.endpoint.authentication=http://ecogrid.ecoinformatics.org/knb/services/AuthenticationService
115
#datamanager.endpoint.put=http://ecogrid.ecoinformatics.org/knb/services/PutService
116
#datamanager.endpoint.identifier=http://ecogrid.ecoinformatics.org/knb/services/IdentificationService
117
#datamanager.srb.endpoint=
118
#datamanager.srb.machinename=
119

    
120
######## Authentication and LDAP ##############################################
121

    
122
auth.class=edu.ucsb.nceas.metacat.AuthLdap
123
// Use AuthStub to test and guarantee authentication
124
//auth.class=edu.ucsb.nceas.metacat.AuthStub
125
auth.timeoutMinutes=180
126
# auth.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
127
auth.administrators=
128
auth.url=ldap://ldap.ecoinformatics.org:389/
129
auth.surl=ldap://ldap.ecoinformatics.org:389/
130
auth.base=dc=ecoinformatics,dc=org
131
auth.allowedSubmitters=
132
auth.deniedSubmitters=
133
auth.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org:cn=esa-moderators,dc=ecoinformatics,dc=org
134

    
135
# time in milliseconds allowed for ldap server connections
136
ldap.connectTimeLimit=5000
137
# time in milliseconds allowed for ldap server searches
138
ldap.searchTimeLimit=30000
139
# count of return entries allowed for ldap server searches
140
ldap.searchCountLimit=30000
141
ldap.referral=follow
142
ldap.onlySecureConnection=false
143
ldap.onlySecureReferalsConnection=false
144
# LDAP templates 
145
ldap.templates.stage=initregister
146
ldap.templates.header=genericHeader.tmpl
147
ldap.templates.footer=genericFooter.tmpl
148
ldap.templates.changePass=ldapChangePass.tmpl
149
ldap.templates.changePassSuccess=ldapChangePassSuccess.tmpl
150
ldap.templates.resetPass=ldapResetPass.tmpl
151
ldap.templates.resetPassSuccess=ldapResetPassSuccess.tmpl
152
ldap.templates.register=ldapRegister.tmpl
153
ldap.templates.registerFailed=ldapRegisterFailed.tmpl
154
ldap.templates.registerMatch=ldapRegisterMatch.tmpl
155
ldap.templates.registerSuccess=ldapRegisterSuccess.tmpl
156
ldap.templates.registerLter=ldapRegisterLter.tmpl
157
ldap.templates.success=ldapRegisterSuccess.tmpl
158
ldap.templates.failed=ldapRegisterFailed.tmpl
159
ldap.templates.mainServerFailure=ldapMainServerFailure.tmpl
160
ldap.templates.searchResults=searchResults.tmpl
161

    
162
############### Organization Values ###############
163
organization.configured.NCEAS=false
164
organization.name.NCEAS=National Center for Ecological Analysis and Synthesis
165
organization.configured.OBFS=false
166
organization.name.OBFS=Organization of Biological Field Stations
167
organization.configured.OSUSB=false
168
organization.name.OSUSB=
169
organization.configured.UCNRS=false
170
organization.name.UCNRS=University of California Natural Reserve System
171
organization.base.UCNRS=ou=people,o=ucnrs.org
172
organization.user.UCNRS=uid=nrsadmin,o=NCEAS,dc=ecoinformatics,dc=org
173
organization.password.UCNRS=
174
organization.configured.KU=false
175
organization.name.KU=
176
organization.configured.LTER=false
177
organization.name.LTER=
178
organization.configured.UVM=false
179
organization.name.UVM=
180
organization.configured.SDSC=false
181
organization.name.SDSC=
182
organization.configured.MSU=false
183
organization.name.MSU=
184
organization.configured.NAPIER=false
185
organization.name.NAPIER=
186
organization.configured.SANPARKS=false
187
organization.name.SANPARKS=Kruger National Park
188
organization.configured.SAEON=false
189
organization.name.SAEON=South African Environmental Observation Network Repository
190

    
191
organization.name.unaffiliated=unaffiliated
192
organization.base.unaffiliated=dc=ecoinformatics,dc=org
193
organization.org.unaffiliated=o=unaffiliated
194
organization.user.unaffiliated=cn=Manager
195
organization.password.unaffiliated=
196

    
197
######## XML / EML  #########################################
198

    
199
xml.saxparser=org.apache.xerces.parsers.SAXParser
200
xml.eml2_0_0namespace=eml://ecoinformatics.org/eml-2.0.0
201
xml.eml2_0_1namespace=eml://ecoinformatics.org/eml-2.0.1
202
xml.eml2_1_0namespace=eml://ecoinformatics.org/eml-2.1.0
203
xml.useFullSchemaValidation=true
204
xml.packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN
205
xml.accessdoctype=-//ecoinformatics.org//eml-access-2.0.0beta6//EN, -//ecoinformatics.org//eml-access-2.0.0beta4//EN
206
xml.physicaldoctype=-//ecoinformatics.org//eml-physical-2.0.0beta6//EN, -//ecoinformatics.org//eml-physical-2.0.0beta4//EN
207
xml.entitydoctype=-//ecoinformatics.org//eml-entity-2.0.0beta6//EN, -//ecoinformatics.org//eml-entity-2.0.0beta4//EN
208
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
209
xml.indexNamespaces=eml://ecoinformatics.org/eml-2.0.0,eml://ecoinformatics.org/eml-2.0.1,eml://ecoinformatics.org/eml-2.1.0
210
xml.indexPaths=                            \
211
	@packageId,                            \
212
	/reviewHistory/review/packageId,       \
213
	abstract,                              \
214
	abstract/para,                         \
215
	access/allow/principal,                \
216
	additionalMetadata/moderatorComment    \
217
	associatedParty/individualName/surName,                           \
218
	associatedParty/organizationName,                                 \
219
	coverage/temporalCoverage/rangeOfDates/beginDate/alternativeTimeScale/timeScaleName,   \
220
	coverage/temporalCoverage/rangeOfDates/endDate/alternativeTimeScale/timeScaleName,     \
221
	coverage/temporalCoverage/singleDateTime/alternativeTimeScale/timeScaleName,           \
222
	creator/individualName/surName,        \
223
	creator/individualName/givenName,      \
224
	creator/organizationName,              \
225
	dataset/access/allow/principal,        \
226
	dataset/dataTable/physical/distribution/online/url,               \
227
	dataset/dataTable/physical/distribution/online/url/@function,     \
228
	dataset/spatialRaster/physical/distribution/online/url,           \
229
	dataset/spatialRaster/physical/distribution/online/url/@function, \
230
	dataset/title,                         \
231
	eastBoundingCoordinate,                \
232
	eastbc,                                \
233
	EcogridRegEntry/description,           \
234
	EcogridRegEntry/endPoint,              \
235
	EcogridRegEntry/serviceName,           \
236
	entityName,                            \
237
	geographicCoverage/boundingCoordinates/eastBoundingCoordinate,    \
238
	geographicCoverage/boundingCoordinates/northBoundingCoordinate,   \
239
	geographicCoverage/boundingCoordinates/southBoundingCoordinate,   \
240
	geographicCoverage/boundingCoordinates/westBoundingCoordinate,    \
241
	geographicDescription,                 \
242
	givenName,                             \
243
	idinfo/citation/citeinfo/title,        \
244
	idinfo/citation/citeinfo/origin,       \
245
	idinfo/keywords/theme/themekey,        \
246
	individualName/surName,                \
247
	keyword,                               \
248
	literalLayout,                         \
249
	northbc,                               \
250
	northBoundingCoordinate,               \
251
	organizationName,                      \
252
	originator/individualName/surName,     \
253
	originator/individualName/givenName,   \
254
	originator/organizationName,           \
255
	para,                                  \
256
	placekey,                              \
257
	southBoundingCoordinate,               \
258
	southbc,                               \
259
	surName,                               \
260
	taxonomicClassification/taxonRankName,          \
261
	taxonomicClassification/taxonRankValue,         \
262
	taxonRankValue,                        \
263
	title,                                 \
264
	westBoundingCoordinate,                \
265
	westbc
266

    
267
######## Outgoing email  #########################################
268

    
269
email.mailhost=localhost
270
email.sender=knb-software@nceas.ucsb.edu
271
email.admin=KNB Support
272
email.recipient=knb-software@nceas.ucsb.edu
273

    
274
######## Replication properties  #########################################
275

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

    
288
######## Skins  #########################################
289

    
290
skin.names=default,nceas,esa,knb,kepler,lter,ltss,obfs,nrs,sanparks,saeon
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
######## OAI-PMH section              #######################################
327

    
328
oaipmh.maxListSize=5
329
oaipmh.repositoryIdentifier=metacat.lternet.edu
330
AbstractCatalog.oaiCatalogClassName=edu.ucsb.nceas.metacat.oaipmh.provider.server.catalog.MetacatCatalog
331
AbstractCatalog.recordFactoryClassName=edu.ucsb.nceas.metacat.oaipmh.provider.server.catalog.MetacatRecordFactory
332
# Duration of resumption tokens
333
AbstractCatalog.secondsToLive=3600
334
# Choose one of the following two
335
AbstractCatalog.granularity=YYYY-MM-DD
336
#AbstractCatalog.granularity=YYYY-MM-DDThh:mm:ssZ
337
# Custom Identify response values
338
Identify.repositoryName=Metacat OAI-PMH Data Provider
339
Identify.adminEmail=mailto:tech_support@LTERnet.edu
340
Identify.earliestDatestamp=2000-01-01T00:00:00Z
341
Identify.deletedRecord=no
342
# Append something unique like .1, .2, etc to 'Identify.description' for each occurrence
343
#Identify.description.1=<description><oai-identifier xmlns\="http\://www.openarchives.org/OAI/2.0/oai-identifier" xmlns\:xsi\="http\://www.w3.org/2001/XMLSchema-instance" xsi\:schemaLocation\="http\://www.openarchives.org/OAI/2.0/oai-identifier http\://www.openarchives.org/OAI/2.0/oai-identifier.xsd"><scheme>oai</scheme><repositoryIdentifier>metacat.lternet.edu</repositoryIdentifier><delimiter>\:</delimiter><sampleIdentifier>http\://metacat.lternet.edu/knb/metacat/knb-lter-lno.1</sampleIdentifier></oai-identifier></description>
344
# List the supported metadataPrefixes along with the class that performs the associated crosswalk
345
Crosswalks.oai_dc=edu.ucsb.nceas.metacat.oaipmh.provider.server.crosswalk.Eml2oai_dc
346
Crosswalks.eml-2.0.0=edu.ucsb.nceas.metacat.oaipmh.provider.server.crosswalk.Eml200
347
Crosswalks.eml-2.0.1=edu.ucsb.nceas.metacat.oaipmh.provider.server.crosswalk.Eml201
348
Crosswalks.eml-2.1.0=edu.ucsb.nceas.metacat.oaipmh.provider.server.crosswalk.Eml210
349

    
350
######## Spatial section              #########################################
351

    
352
spatial.runSpatialOption=true
353
spatial.regenerateCacheOnRestart=true
354
# Comma-seperated list of schemas containing spatial bounding boxes
355
# name corresponds to the docname stored in xml_documents table
356
spatial.spatialDocnameList=eml,fgdc,metadata
357
# XML paths to the four bounding coordinates
358
# These paths must be included in your indexPaths variable in build.properties
359
# Note the naming convention:
360
#   {docname}_{direction}BoundingCoordinatePath=.....
361
# Has not been tested with other schemas besides EML
362
spatial.eml_westBoundingCoordinatePath=geographicCoverage/boundingCoordinates/westBoundingCoordinate
363
spatial.eml_eastBoundingCoordinatePath=geographicCoverage/boundingCoordinates/eastBoundingCoordinate
364
spatial.eml_southBoundingCoordinatePath=geographicCoverage/boundingCoordinates/southBoundingCoordinate
365
spatial.eml_northBoundingCoordinatePath=geographicCoverage/boundingCoordinates/northBoundingCoordinate
366
spatial.fgdc_westBoundingCoordinatePath=spdom/bounding/westbc
367
spatial.fgdc_eastBoundingCoordinatePath=spdom/bounding/eastbc
368
spatial.fgdc_southBoundingCoordinatePath=spdom/bounding/southbc
369
spatial.fgdc_northBoundingCoordinatePath=spdom/bounding/northbc
370
spatial.metadata_westBoundingCoordinatePath=westbc
371
spatial.metadata_eastBoundingCoordinatePath=eastbc
372
spatial.metadata_southBoundingCoordinatePath=southbc
373
spatial.metadata_northBoundingCoordinatePath=northbc
374
spatial.docTitle=dataset/title
375

    
376
######## Geoserver section              #######################################
377

    
378
geoserver.loginPostPage=admin/loginSubmit.do
379
geoserver.loginSuccessString=admin/logout.do
380
geoserver.passwordPostPage=config/loginEditSubmit.do
381
geoserver.passwordSuccessString=Data loaded without incident
382
geoserver.applyPostPage=admin/saveToGeoServer.do
383
geoserver.defaultUsername=admin
384
geoserver.defaultPassword=geoserver
385
geoserver.username=
386
geoserver.password=
387

    
388
######## SiteMap section              #########################################
389

    
390
# relative directory path in which sitemap files should be written
391
## sitemapDirectory=@install-dir@/sitemaps
392

    
393
# Interval (in milliseconds) between rebuilding the sitemap
394
sitemap.interval=86400000
395

    
396
######## Workflow engine section              #########################################
397
executionEngine.endPointAddress=http://localhost:8080/axis2/services/KeplerWebService
398

    
399
######## junit test section  ################
400

    
401
test.printdebug=true
402
test.metacatUrl=http://localhost/knb/metacat
403
test.contextUrl=http://localhost/knb
404
test.metacatDeployDir=/usr/local/tomcat/webapps/knb
405
test.mcUser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org
406
test.mcPassword=kepler
407
test.mcAnotherUser=uid=test,o=NCEAS,dc=ecoinformatics,dc=org
408
test.mcAnotherPassword=test
409
test.piscoUser=uid=piscotest,o=PISCO,dc=ecoinformatics,dc=org
410
test.piscoPassword=testPW
411
test.lterUser=uid=tmonkey,o=LTER,dc=ecoinformatics,dc=org
412
test.lterPassword=T3$tusr
413
test.testProperty=testing
414

    
415
######## Developers Section #########################################
416

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

    
(17-17/34)