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 4729 2009-01-06 18:28:52Z 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/metacat
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

    
159
#ldap.unaffiliated.dn=o=unaffiliated,dc=ecoinformatics,dc=org
160
organization.configured.unaffiliated=false
161
organization.name.unaffiliated=
162
organization.base.unaffiliated=dc=ecoinformatics,dc=org
163
organization.org.unaffiliated=o=unaffiliated
164
organization.user.unaffiliated=cn=Manager
165
organization.password.unaffiliated=
166

    
167
######## XML / EML  #########################################
168

    
169
xml.saxparser=org.apache.xerces.parsers.SAXParser
170
xml.eml2_0_0namespace=eml://ecoinformatics.org/eml-2.0.0
171
xml.eml2_0_1namespace=eml://ecoinformatics.org/eml-2.0.1
172
xml.eml2_1_0namespace=eml://ecoinformatics.org/eml-2.1.0
173
xml.useFullSchemaValidation=true;
174
xml.packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN
175
xml.accessdoctype=-//ecoinformatics.org//eml-access-2.0.0beta6//EN, -//ecoinformatics.org//eml-access-2.0.0beta4//EN
176
xml.physicaldoctype=-//ecoinformatics.org//eml-physical-2.0.0beta6//EN, -//ecoinformatics.org//eml-physical-2.0.0beta4//EN
177
xml.entitydoctype=-//ecoinformatics.org//eml-entity-2.0.0beta6//EN, -//ecoinformatics.org//eml-entity-2.0.0beta4//EN
178
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
179
xml.indexNamespaces=eml://ecoinformatics.org/eml-2.0.0,eml://ecoinformatics.org/eml-2.0.1
180
xml.indexPaths=organizationName,originator/individualName/surName,originator/individualName/givenName,originator/organizationName,creator/individualName/surName,creator/individualName/givenName,creator/organizationName,dataset/title,keyword,geographicCoverage/boundingCoordinates/northBoundingCoordinate,geographicCoverage/boundingCoordinates/southBoundingCoordinate,geographicCoverage/boundingCoordinates/westBoundingCoordinate,geographicCoverage/boundingCoordinates/eastBoundingCoordinate,eastBoundingCoordinate,title,entityName,individualName/surName,abstract/para,surName,givenName,para,geographicDescription,literalLayout,eastbc,northbc,westbc,southbc,dataset/access/allow/principal,entityName,taxonRankValue,dataset/dataTable/physical/distribution/online/url,dataset/spatialRaster/physical/distribution/online/url,@packageId,/reviewHistory/review/packageId,EcogridRegEntry/description,EcogridRegEntry/serviceName,EcogridRegEntry/endPoint,associatedParty/individualName/surName,associatedParty/organizationName,coverage/temporalCoverage/singleDateTime/alternativeTimeScale/timeScaleName,coverage/temporalCoverage/rangeOfDates/beginDate/alternativeTimeScale/timeScaleName,coverage/temporalCoverage/rangeOfDates/endDate/alternativeTimeScale/timeScaleName,placekey,idinfo/citation/citeinfo/title,idinfo/citation/citeinfo/origin,idinfo/keywords/theme/themekey,abstract
181

    
182
######## Outgoing email  #########################################
183

    
184
email.mailhost=localhost
185
email.sender=knb-software@nceas.ucsb.edu
186
email.admin=KNB Support
187
email.recipient=knb-software@nceas.ucsb.edu
188

    
189
######## Replication properties  #########################################
190

    
191
replication.logdir=
192
## deltaT=60
193
## debuglevel=55
194
replication.datafileflag=datafile
195
## TODO MCD this seems to be used in other placed besides replication
196
replication.datafilesizelimit=1000
197
replication.defaultcontenttype=application/octet-stream
198
replication.timedreplication=false
199
replication.firsttimedreplication=10:00 PM
200
replication.timedreplicationinterval=172800000
201
replication.forcereplicationwaitingtime=30000
202

    
203
######## Skins  #########################################
204

    
205
skin.names=default,nceas,esa,knb,kepler,lter,ltss,obfs,nrs,sanparks,saeon
206
######## Document Section  #########################################
207

    
208
#The flag to indicate if invalidated eml 201 documents were corrected.
209
#Before Metacat 1.8.1, metacat uses tag RELEASE_EML_2_0_1_UPDATE_6 as eml
210
#schema, which accidentily points to wrong version of eml-resource.xsd.
211
#If this value is false, metacat will run a class to correct eml201 doucment.
212
document.eml201DocumentCorrected=false
213
document.sitecode=nceas
214
document.accNumSeparator=.
215

    
216
######## Harvester section            #########################################
217

    
218
harvester.connectToMetacat=true
219
harvester.delay=0
220
harvester.administrator=name@institution.edu
221
harvester.logPeriod=90
222
harvester.maxHarvests=0
223
harvester.period=24
224
harvester.smtpServer=localhost
225
harvester.GetDocError=Error getting EML document from site,Error
226
harvester.GetDocSuccess=Success getting EML document from site,Debug
227
harvester.GetHarvestListError=Error getting harvest list from site,Error
228
harvester.GetHarvestListSuccess=Success getting harvest list from site,Debug
229
harvester.HarvesterStartup=Harvester start up,Info
230
harvester.HarvesterShutdown=Harvester shut down,Info
231
harvester.InsertDocError=Error inserting EML document to Metacat,Error
232
harvester.InsertDocSuccess=Success inserting EML document to Metacat,Info
233
harvester.MetacatHasDoc=Metacat already has this EML document,Info
234
harvester.UpdateDocError=Error updating EML document to Metacat,Error
235
harvester.UpdateDocSuccess=Success updating EML document to Metacat,Info
236
harvester.ValidateDocError=Error validating EML docoument,Error
237
harvester.ValidateDocSuccess=Success validating EML document,Debug
238
harvester.ValidateHarvestListError=Error validating harvest list,Error
239
harvester.ValidateHarvestListSuccess=Success validating harvest list,Debug
240

    
241
######## Spatial section              #########################################
242

    
243
spatial.runSpatialOption=true
244
spatial.regenerateCacheOnRestart=true
245
# Comma-seperated list of schemas containing spatial bounding boxes
246
# name corresponds to the docname stored in xml_documents table
247
spatial.spatialDocnameList=eml,fgdc,metadata
248
# XML paths to the four bounding coordinates
249
# These paths must be included in your indexPaths variable in build.properties
250
# Note the naming convention:
251
#   {docname}_{direction}BoundingCoordinatePath=.....
252
# Has not been tested with other schemas besides EML
253
spatial.eml_westBoundingCoordinatePath=geographicCoverage/boundingCoordinates/westBoundingCoordinate
254
spatial.eml_eastBoundingCoordinatePath=geographicCoverage/boundingCoordinates/eastBoundingCoordinate
255
spatial.eml_southBoundingCoordinatePath=geographicCoverage/boundingCoordinates/southBoundingCoordinate
256
spatial.eml_northBoundingCoordinatePath=geographicCoverage/boundingCoordinates/northBoundingCoordinate
257
spatial.fgdc_westBoundingCoordinatePath=spdom/bounding/westbc
258
spatial.fgdc_eastBoundingCoordinatePath=spdom/bounding/eastbc
259
spatial.fgdc_southBoundingCoordinatePath=spdom/bounding/southbc
260
spatial.fgdc_northBoundingCoordinatePath=spdom/bounding/northbc
261
spatial.metadata_westBoundingCoordinatePath=westbc
262
spatial.metadata_eastBoundingCoordinatePath=eastbc
263
spatial.metadata_southBoundingCoordinatePath=southbc
264
spatial.metadata_northBoundingCoordinatePath=northbc
265
spatial.docTitle=dataset/title
266

    
267
######## Geoserver section              #######################################
268

    
269
geoserver.loginPostPage=admin/loginSubmit.do
270
geoserver.loginSuccessString=admin/logout.do
271
geoserver.passwordPostPage=config/loginEditSubmit.do
272
geoserver.passwordSuccessString=Data loaded without incident
273
geoserver.applyPostPage=admin/saveToGeoServer.do
274
geoserver.defaultUsername=admin
275
geoserver.defaultPassword=geoserver
276
geoserver.username=
277
geoserver.password=
278

    
279
######## SiteMap section              #########################################
280

    
281
# relative directory path in which sitemap files should be written
282
## sitemapDirectory=@install-dir@/sitemaps
283

    
284
# Interval (in milliseconds) between rebuilding the sitemap
285
sitemap.interval=86400000
286

    
287
######## junit test section  ################
288

    
289
test.printdebug=true
290
test.metacatUrl=http://localhost/knb/metacat
291
test.contextUrl=http://localhost/knb
292
test.metacatDeployDir=/usr/local/tomcat/webapps/knb
293
test.mcUser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org
294
test.mcPassword=kepler
295
test.mcAnotherUser=uid=test,o=NCEAS,dc=ecoinformatics,dc=org
296
test.mcAnotherPassword=test
297
test.piscoUser=uid=piscotest,o=PISCO,dc=ecoinformatics,dc=org
298
test.piscoPassword=testPW
299
test.lterUser=uid=tmonkey,o=LTER,dc=ecoinformatics,dc=org
300
test.lterPassword=T3$tusr
301
test.testProperty=testing
302

    
303
######## Developers Section #########################################
304

    
305
# Set dev.runConfiguration to false to keep the system from walking you 
306
# through the configuration utility every time you reinstall metacat.  
307
# Instead,  the system will use backed up configuration values.  If you 
308
# haven't ever configured the app (no backup files) the system will take 
309
# you through the configuration.
310
dev.runConfiguration=true
311

    
(15-15/28)