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 4812 2009-02-19 00:30:06Z 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.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=25
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=
166
organization.configured.KU=false
167
organization.name.KU=
168
organization.configured.LTER=false
169
organization.name.LTER=
170
organization.configured.UVM=false
171
organization.name.UVM=
172
organization.configured.SDSC=false
173
organization.name.SDSC=
174
organization.configured.MSU=false
175
organization.name.MSU=
176
organization.configured.NAPIER=false
177
organization.name.NAPIER=
178
organization.configured.SANPARKS=false
179
organization.name.SANPARKS=Kruger National Park
180
organization.configured.SAEON=false
181
organization.name.SAEON=South African Environmental Observation Network Repository
182

    
183
organization.name.unaffiliated=unaffiliated
184
organization.base.unaffiliated=dc=ecoinformatics,dc=org
185
organization.org.unaffiliated=o=unaffiliated
186
organization.user.unaffiliated=cn=Manager
187
organization.password.unaffiliated=
188

    
189
######## XML / EML  #########################################
190

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

    
259
######## Outgoing email  #########################################
260

    
261
email.mailhost=localhost
262
email.sender=knb-software@nceas.ucsb.edu
263
email.admin=KNB Support
264
email.recipient=knb-software@nceas.ucsb.edu
265

    
266
######## Replication properties  #########################################
267

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

    
280
######## Skins  #########################################
281

    
282
skin.names=default,nceas,esa,knb,kepler,lter,ltss,obfs,nrs,sanparks,saeon
283
######## Document Section  #########################################
284

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

    
293
######## Harvester section            #########################################
294

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

    
318
######## Spatial section              #########################################
319

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

    
344
######## Geoserver section              #######################################
345

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

    
356
######## SiteMap section              #########################################
357

    
358
# relative directory path in which sitemap files should be written
359
## sitemapDirectory=@install-dir@/sitemaps
360

    
361
# Interval (in milliseconds) between rebuilding the sitemap
362
sitemap.interval=86400000
363

    
364
######## junit test section  ################
365

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

    
380
######## Developers Section #########################################
381

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

    
(15-15/28)