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 5038 2009-08-24 21:47:14Z 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.datafilepath=/var/metacat/data
34
application.inlinedatafilepath=/var/metacat/inline-data
35
application.documentfilepath=/var/metacat/documents
36
application.expandedArchivePath=/var/metacat/expanded-archives
37
application.tempDir=/var/metacat/temporary
38
# the location of cgi scripts relative to the metacat context directory
39
application.cgiDir=/cgi-bin
40
#used for writing debug info into a anouther out file
41
application.writeDebugToFile=true
42
#output file name where debug info will written
43
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
44
application.debugOutputFile=/tmp/metacat.debug
45
#delimitered text output file name where debug info will be written
46
application.delimiteredOutputFile=/tmp/metacat.debug.delimitered
47

    
48
############### Database Values ###############
49

    
50
database.connectionURI=jdbc:postgresql://localhost/metacat
51
database.user=
52
database.password=
53
database.type=
54
database.driver=
55
database.adapter=
56
database.scriptsuffix.postgres=postgres.sql
57
database.scriptsuffix.oracle=oracle.sql
58
database.scriptsuffix.sqlserver=sqlserver.sql
59
database.upgradeVersion.0.0.0=xmltables,loaddtdschema
60
database.upgradeVersion.1.2.0=upgrade-db-to-1.2
61
database.upgradeVersion.1.3.0=upgrade-db-to-1.3
62
database.upgradeVersion.1.4.0=upgrade-db-to-1.4
63
database.upgradeVersion.1.5.0=upgrade-db-to-1.5
64
database.upgradeVersion.1.6.0=upgrade-db-to-1.6
65
database.upgradeVersion.1.7.0=upgrade-db-to-1.7
66
database.upgradeVersion.1.8.0=upgrade-db-to-1.8
67
database.upgradeVersion.1.9.0=upgrade-db-to-1.9
68
database.upgradeVersion.1.9.1=upgrade-db-to-1.9.1
69
database.upgradeVersion.1.9.2=upgrade-db-to-1.9.2
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
# Use AuthStub to test and guarantee authentication
122
## auth.class=edu.ucsb.nceas.metacat.AuthStub
123
auth.timeoutMinutes=180
124
# auth.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
125
auth.administrators=
126
auth.url=ldap://ldap.ecoinformatics.org:389/
127
auth.surl=ldap://ldap.ecoinformatics.org:389/
128
auth.base=dc=ecoinformatics,dc=org
129
auth.allowedSubmitters=
130
auth.deniedSubmitters=
131
auth.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org:cn=esa-moderators,dc=ecoinformatics,dc=org
132

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

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

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

    
195
######## XML / EML  #########################################
196

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

    
265
######## Outgoing email  #########################################
266

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

    
272
######## Replication properties  #########################################
273

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

    
286
######## Skins  #########################################
287

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

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

    
299
######## Harvester section            #########################################
300

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

    
324
######## OAI-PMH section              #######################################
325

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

    
348
######## Spatial section              #########################################
349

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

    
374
######## Geoserver section              #######################################
375

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

    
386
######## workflowScheduler section              #######################################
387

    
388
workflowScheduler.url=http://indus.msi.ucsb.edu/workflowscheduler/scheduler
389

    
390
######## SiteMap section              #########################################
391

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

    
395
# Interval (in milliseconds) between rebuilding the sitemap
396
sitemap.interval=86400000
397

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

    
401
######## junit test section  ################
402

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

    
417
######## Developers Section #########################################
418

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

    
(17-17/34)