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

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

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

    
117
######## Authentication and LDAP ##############################################
118

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

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

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

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

    
192
######## XML / EML  #########################################
193

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

    
262
######## Outgoing email  #########################################
263

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

    
269
######## Replication properties  #########################################
270

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

    
283
######## Skins  #########################################
284

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

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

    
296
######## Harvester section            #########################################
297

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

    
321
######## Spatial section              #########################################
322

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

    
347
######## Geoserver section              #######################################
348

    
349
geoserver.loginPostPage=admin/loginSubmit.do
350
geoserver.loginSuccessString=admin/logout.do
351
geoserver.passwordPostPage=config/loginEditSubmit.do
352
geoserver.passwordSuccessString=Data loaded without incident
353
geoserver.applyPostPage=admin/saveToGeoServer.do
354
geoserver.defaultUsername=admin
355
geoserver.defaultPassword=geoserver
356
geoserver.username=
357
geoserver.password=
358

    
359
######## SiteMap section              #########################################
360

    
361
# relative directory path in which sitemap files should be written
362
## sitemapDirectory=@install-dir@/sitemaps
363

    
364
# Interval (in milliseconds) between rebuilding the sitemap
365
sitemap.interval=86400000
366

    
367
######## junit test section  ################
368

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

    
383
######## Developers Section #########################################
384

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

    
(15-15/28)