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 4948 2009-06-12 23:36:43Z 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.initialConnections=5
72
database.incrementConnections=5
73
database.maximumConnections=200
74
database.maximumConnectionAge=120000
75
database.maximumConnectionTime=60000
76
database.maximumUsageNumber=100
77
database.numberOfIndexingThreads=5
78
database.indexingTimerTaskTime=604800000
79
database.indexingInitialDelay=3600000
80
database.maximumIndexDelay=5000
81
database.runDBConnectionRecycleThread=off
82
database.cycleTimeOfDBConnection=30000
83
database.queryignoredparams=enableediting,foo
84
database.usexmlindex=true
85
# used for the setting the size of resultset for applications like morpho
86
database.appResultsetSize=7000
87
# used for the setting the size of resultset for searches done using browsers
88
database.webResultsetSize=7000
89
# the value of xml_returnfield.usage_count should be more than this value
90
# for records to be entered into xml_queryresult. so if you want results for
91
# any combination of returnfields to be stored in xml_queryresult only when
92
# that combination has been requested 50 times, set this value to 50
93
database.xmlReturnfieldCount=0
94
# used for the setting the size of queryresult_string in queryresult table.
95
# the limit is 4000 for oracle
96
database.queryresultStringLength=500000
97
#the size of query result cache
98
database.queryresultCacheSize=500
99
#turn on or off the query result cache
100
database.queryCacheOn=true
101

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

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

    
119
######## Authentication and LDAP ##############################################
120

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

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

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

    
188
organization.name.unaffiliated=unaffiliated
189
organization.base.unaffiliated=dc=ecoinformatics,dc=org
190
organization.org.unaffiliated=o=unaffiliated
191
organization.user.unaffiliated=cn=Manager
192
organization.password.unaffiliated=
193

    
194
######## XML / EML  #########################################
195

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

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

    
298
######## Harvester section            #########################################
299

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

    
323
######## OAI-PMH section              #######################################
324

    
325
oaipmh.maxListSize=5
326
oaipmh.repositoryIdentifier=metacat.lternet.edu
327
AbstractCatalog.oaiCatalogClassName=edu.ucsb.nceas.metacat.oaipmh.provider.server.catalog.MetacatCatalog
328
AbstractCatalog.recordFactoryClassName=edu.ucsb.nceas.metacat.oaipmh.provider.server.catalog.MetacatRecordFactory
329
# Duration of resumption tokens
330
AbstractCatalog.secondsToLive=3600
331
# Choose one of the following two
332
AbstractCatalog.granularity=YYYY-MM-DD
333
#AbstractCatalog.granularity=YYYY-MM-DDThh:mm:ssZ
334
# Custom Identify response values
335
Identify.repositoryName=Metacat OAI-PMH Data Provider
336
Identify.adminEmail=mailto:tech_support@LTERnet.edu
337
Identify.earliestDatestamp=2000-01-01T00:00:00Z
338
Identify.deletedRecord=no
339
# Append something unique like .1, .2, etc to 'Identify.description' for each occurrence
340
#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>
341
# List the supported metadataPrefixes along with the class that performs the associated crosswalk
342
Crosswalks.oai_dc=edu.ucsb.nceas.metacat.oaipmh.provider.server.crosswalk.Eml2oai_dc
343
Crosswalks.eml-2.0.0=edu.ucsb.nceas.metacat.oaipmh.provider.server.crosswalk.Eml200
344
Crosswalks.eml-2.0.1=edu.ucsb.nceas.metacat.oaipmh.provider.server.crosswalk.Eml201
345
Crosswalks.eml-2.1.0=edu.ucsb.nceas.metacat.oaipmh.provider.server.crosswalk.Eml210
346

    
347
######## Spatial section              #########################################
348

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

    
373
######## Geoserver section              #######################################
374

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

    
385
######## SiteMap section              #########################################
386

    
387
# relative directory path in which sitemap files should be written
388
## sitemapDirectory=@install-dir@/sitemaps
389

    
390
# Interval (in milliseconds) between rebuilding the sitemap
391
sitemap.interval=86400000
392

    
393
######## junit test section  ################
394

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

    
409
######## Developers Section #########################################
410

    
411
# Set dev.runConfiguration to false to keep the system from walking you 
412
# through the configuration utility every time you reinstall metacat.  
413
# Instead,  the system will use backed up configuration values.  If you 
414
# haven't ever configured the app (no backup files) the system will take 
415
# you through the configuration.
416
dev.runConfiguration=true
417

    
(15-15/32)