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 4943 2009-05-11 15:39:50Z costa $'
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.tempDir=/var/metacat/temporary
39
# the location of cgi scripts relative to the metacat context directory
40
application.cgiDir=/cgi-bin
41
#used for writing debug info into a anouther out file
42
application.writeDebugToFile=true
43
#output file name where debug info will written
44
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
45
application.debugOutputFile=/tmp/metacat.debug
46
#delimitered text output file name where debug info will be written
47
application.delimiteredOutputFile=/tmp/metacat.debug.delimitered
48

    
49
############### Database Values ###############
50

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

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

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

    
118
######## Authentication and LDAP ##############################################
119

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

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

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

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

    
193
######## XML / EML  #########################################
194

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

    
263
######## Outgoing email  #########################################
264

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

    
270
######## Replication properties  #########################################
271

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

    
284
######## Skins  #########################################
285

    
286
skin.names=default,nceas,esa,knb,kepler,lter,ltss,obfs,nrs,sanparks,saeon
287
######## Document Section  #########################################
288

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

    
297
######## Harvester section            #########################################
298

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

    
322
######## OAI-PMH section              #######################################
323

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

    
343
######## Spatial section              #########################################
344

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

    
369
######## Geoserver section              #######################################
370

    
371
geoserver.loginPostPage=admin/loginSubmit.do
372
geoserver.loginSuccessString=admin/logout.do
373
geoserver.passwordPostPage=config/loginEditSubmit.do
374
geoserver.passwordSuccessString=Data loaded without incident
375
geoserver.applyPostPage=admin/saveToGeoServer.do
376
geoserver.defaultUsername=admin
377
geoserver.defaultPassword=geoserver
378
geoserver.username=
379
geoserver.password=
380

    
381
######## SiteMap section              #########################################
382

    
383
# relative directory path in which sitemap files should be written
384
## sitemapDirectory=@install-dir@/sitemaps
385

    
386
# Interval (in milliseconds) between rebuilding the sitemap
387
sitemap.interval=86400000
388

    
389
######## junit test section  ################
390

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

    
405
######## Developers Section #########################################
406

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

    
(15-15/28)