# Properties file defining options for the MetaCatServlet.java servlet # # Matt Jones, Dan Higgins, Jivka Bojilova # '$Id: metacat.properties 4239 2008-08-13 23:53:55Z daigle $' # ######## Configuration utility section ################ configutil.propertiesConfigured=false ## configutil.organizationsConfigured=false configutil.ldapConfigured=false configutil.skinsConfigured=false configutil.databaseConfigured=false configutil.geoserverConfigured=false ############### Server Values ################# server.name=localhost server.httpPort=80 server.httpSSLPort=443 ############### Application Values ############ ## one of the few places where we use ANT tokens application.metacatVersion=@metacatVersion@ ## This is autodiscovered and populated by the config utility application.deployDir= ## This is autodiscovered and populated by the config utility application.context= application.default-style=default application.knbSiteURL=http://knb.ecoinformatics.org application.datafilepath=/var/metacat/data application.inlinedatafilepath=/var/metacat/inline-data application.tempDir=/var/metacat/temporary application.cgiDir=/cgi-bin #used for writing debug info into a anouther out file application.writeDebugToFile=true #output file name where debug info will written # TODO SCW: these should be using the temp-dir property for their paths (change in code) application.debugOutputFile=/tmp/metacat.debug #delimitered text output file name where debug info will be written application.delimiteredOutputFile=/tmp/metacat.debug.delimitered ############### Database Values ############### database.connectionURI=jdbc:postgresql://localhost/metacat database.user= database.password= database.type= database.driver= database.adapter= database.scriptsuffix.postgres=postgres.sql database.scriptsuffix.oracle=oracle.sql database.scriptsuffix.sqlserver=sqlserver.sql database.upgradeVersion.0.0.0=xmltables,loaddtdschema database.upgradeVersion.1.2.0=upgrade-db-to-1.2 database.upgradeVersion.1.3.0=upgrade-db-to-1.3 database.upgradeVersion.1.4.0=upgrade-db-to-1.4 database.upgradeVersion.1.5.0=upgrade-db-to-1.5 database.upgradeVersion.1.6.0=upgrade-db-to-1.6 database.upgradeVersion.1.7.0=upgrade-db-to-1.7 database.upgradeVersion.1.8.0=upgrade-db-to-1.8 database.upgradeVersion.1.9.0=upgrade-db-to-1.9 database.initialConnections=5 database.incrementConnections=5 database.maximumConnections=25 database.maximumConnectionAge=120000 database.maximumConnectionTime=60000 database.maximumUsageNumber=100 database.numberOfIndexingThreads=5 database.indexingTimerTaskTime=604800000 database.indexingInitialDelay=3600000 database.maximumIndexDelay=5000 database.runDBConnectionRecycleThread=off database.cycleTimeOfDBConnection=30000 database.queryignoredparams=enableediting,foo database.usexmlindex=true # used for the setting the size of resultset for applications like morpho database.appResultsetSize=7000 # used for the setting the size of resultset for searches done using browsers database.webResultsetSize=7000 # the value of xml_returnfield.usage_count should be more than this value # for records to be entered into xml_queryresult. so if you want results for # any combination of returnfields to be stored in xml_queryresult only when # that combination has been requested 50 times, set this value to 50 database.xmlReturnfieldCount=0 # used for the setting the size of queryresult_string in queryresult table. # the limit is 4000 for oracle database.queryresultStringLength=500000 #the size of query result cache database.queryresultCacheSize=500 #turn on or off the query result cache database.queryCacheOn=true ######## Datamanager section ####################################### datamanager.adapter=PostgresAdapter datamanager.implementation=edu.ucsb.nceas.metacat.dataquery.PostgresDatabaseConnectionPool datamanager.server=localhost datamanager.database=datamanager datamanager.user=datamanager datamanager.password=datamanager datamanager.maxconnections=10 datamanager.endpoint.query=http://ecogrid.ecoinformatics.org/knb/services/QueryService datamanager.endpoint.authenticatedquery=http://ecogrid.ecoinformatics.org/knb/services/AuthenticatedQueryService datamanager.endpoint.authentication=http://ecogrid.ecoinformatics.org/knb/services/AuthenticationService datamanager.endpoint.put=http://ecogrid.ecoinformatics.org/knb/services/PutService datamanager.endpoint.identifier=http://ecogrid.ecoinformatics.org/knb/services/IdentificationService datamanager.srb.endpoint= datamanager.srb.machinename= ######## LDAP ############################################## auth.class=edu.ucsb.nceas.metacat.AuthLdap auth.timeoutMinutes=180 # ldap.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org ldap.administrators= ldap.url=ldap://ldap.ecoinformatics.org:389/ ldap.surl=ldap://ldap.ecoinformatics.org:389/ ldap.allowedSubmitters= ldap.deniedSubmitters= # time in milliseconds allowed for ldap server connections ldap.connectTimeLimit=5000 # time in milliseconds allowed for ldap server searches ldap.searchTimeLimit=30000 # count of return entries allowed for ldap server searches ldap.searchCountLimit=30000 ldap.referral=follow ldap.onlySecureConnection=false ldap.onlySecureReferalsConnection=false # TODO MCD move this to skins ldap.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org # LDAP templates ldap.templates.stage=initregister ldap.templates.header=genericHeader.tmpl ldap.templates.footer=genericFooter.tmpl ldap.templates.changePass=ldapChangePass.tmpl ldap.templates.changePassSuccess=ldapChangePassSuccess.tmpl ldap.templates.resetPass=ldapResetPass.tmpl ldap.templates.resetPassSuccess=ldapResetPassSuccess.tmpl ldap.templates.register=ldapRegister.tmpl ldap.templates.registerFailed=ldapRegisterFailed.tmpl ldap.templates.registerMatch=ldapRegisterMatch.tmpl ldap.templates.registerSuccess=ldapRegisterSuccess.tmpl ldap.templates.registerLter=ldapRegisterLter.tmpl ldap.templates.success=ldapRegisterSuccess.tmpl ldap.templates.failed=ldapRegisterFailed.tmpl ldap.templates.mainServerFailure=ldapMainServerFailure.tmpl ldap.templates.searchResults=searchResults.tmpl ############### Organization Values ############### #ldap.NCEAS.dn=o=NCEAS,dc=ecoinformatics,dc=org organization.configured.NCEAS=false organization.name.NCEAS=National Center for Ecological Analysis and Synthesis organization.base.NCEAS=dc=ecoinformatics,dc=org organization.org.NCEAS=o=NCEAS organization.user.NCEAS=cn=Manager organization.password.NCEAS= #ldap.OBFS.dn=o=OBFS,dc=ecoinformatics,dc=org organization.configured.OBFS=false organization.name.OBFS=Organization of Biological Field Stations organization.base.OBFS=dc=ecoinformatics,dc=org organization.org.OBFS=o=OBFS organization.user.OBFS=cn=Manager organization.password.OBFS= #ldap.OSUSB.dn=o=OSUSB,dc=ecoinformatics,dc=org organization.configured.OSUSB=false organization.name.OSUSB= organization.base.OSUSB=dc=ecoinformatics,dc=org organization.org.OSUSB=o=OSUSB organization.user.OSUSB=cn=Manager organization.password.OSUSB= #ldap.UCNRS.dn=ou=people,O=ucnrs.org organization.configured.UCNRS=false organization.name.UCNRS= organization.base.UCNRS=ou=people,O=ucnrs.org organization.org.UCNRS= organization.user.UCNRS=cn=Manager organization.password.UCNRS= #ldap.KU.dn=o=KU,dc=ecoinformatics,dc=org organization.configured.KU=false organization.name.KU= organization.base.KU=dc=ecoinformatics,dc=org organization.org.KU=o=KU organization.user.KU=cn=Manager organization.password.KU= #ldap.LTER.dn=o=LTER,dc=ecoinformatics,dc=org organization.configured.LTER=false organization.name.LTER= organization.base.LTER=dc=ecoinformatics,dc=org organization.org.LTER=o=LTER organization.user.LTER=cn=Manager organization.password.LTER= #ldap.UVM.dn=o=UVM,dc=ecoinformatics,dc=org organization.configured.UVM=false organization.name.UVM= organization.base.UVM=dc=ecoinformatics,dc=org organization.org.UVM=o=UVM organization.user.UVM=cn=Manager organization.password.UVM= #ldap.SDSC.dn=o=SDSC,dc=ecoinformatics,dc=org organization.configured.SDSC=false organization.name.SDSC= organization.base.SDSC=dc=ecoinformatics,dc=org organization.org.SDSC=o=SDSC organization.user.SDSC=cn=Manager organization.password.SDSC= #ldap.MSU.dn=o=MSU,dc=ecoinformatics,dc=org organization.configured.MSU=false organization.name.MSU= organization.base.MSU=dc=ecoinformatics,dc=org organization.org.MSU= organization.user.MSU=cn=Manager,dc=ecoinformatics,dc=org organization.password.MSU= #ldap.NAPIER.dn=o=NAPIER,dc=ecoinformatics,dc=org organization.configured.NAPIER=false organization.name.NAPIER= organization.base.NAPIER=dc=ecoinformatics,dc=org organization.org.NAPIER=o=NAPIER organization.user.NAPIER=cn=Manager organization.password.NAPIER= #ldap.SANPARKS.dn=o=SANParks,dc=ecoinformatics,dc=org organization.configured.SANPARKS=false organization.name.SANPARKS=Kruger National Park organization.base.SANPARKS=dc=ecoinformatics,dc=org organization.org.SANPARKS= organization.user.SANPARKS=cn=Manager organization.password.SANPARKS= #ldap.SAEON.dn=o=SAEON,dc=ecoinformatics,dc=org organization.configured.SAEON=false organization.name.SAEON=South African Environmental Observation Network Repository organization.base.SAEON=dc=ecoinformatics,dc=org organization.org.SAEON= organization.user.SAEON=cn=Manager organization.password.SAEON= #ldap.UNAFFILIATED.dn=o=unaffiliated,dc=ecoinformatics,dc=org organization.configured.UNAFFILIATED=false organization.name.UNAFFILIATED= organization.base.UNAFFILIATED=dc=ecoinformatics,dc=org organization.org.UNAFFILIATED=o=unaffiliated organization.user.UNAFFILIATED=cn=Manager organization.password.UNAFFILIATED= ######## XML / EML ######################################### xml.saxparser=org.apache.xerces.parsers.SAXParser xml.eml2_0_0namespace=eml://ecoinformatics.org/eml-2.0.0 xml.eml2_0_1namespace=eml://ecoinformatics.org/eml-2.0.1 xml.eml2_1_0namespace=eml://ecoinformatics.org/eml-2.1.0 xml.packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN xml.accessdoctype=-//ecoinformatics.org//eml-access-2.0.0beta6//EN, -//ecoinformatics.org//eml-access-2.0.0beta4//EN xml.physicaldoctype=-//ecoinformatics.org//eml-physical-2.0.0beta6//EN, -//ecoinformatics.org//eml-physical-2.0.0beta4//EN xml.entitydoctype=-//ecoinformatics.org//eml-entity-2.0.0beta6//EN, -//ecoinformatics.org//eml-entity-2.0.0beta4//EN 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 xml.indexNamespaces=eml://ecoinformatics.org/eml-2.0.0,eml://ecoinformatics.org/eml-2.0.1 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 ######## Outgoing email ######################################### email.mailhost=localhost email.sender=knb-software@nceas.ucsb.edu email.admin=KNB Support email.recipient=knb-software@nceas.ucsb.edu ######## Registry properties ######################################### cgi-user=@cgi-user@ # TODO SCW should obfs still be the default? #registry.config.scope=obfs # TODO SCW remove these two properties, rely instead on the skin config # PASSWORD ONLY USED IN ESA SKIN #registry.config.username=uid=knbadmin,o=NCEAS,dc=ecoinformatics,dc=org #registry.config.password=your-pw-goes-here #registry.config.site=station #registry.config.type=Registry #registry.config.publicReadable=true # TODO SCW push this out to skin.properties, ONLY true IN ESA SKIN #registry.config.adminIsDocOwner=false #registry.config.organization= #registry.config.abbrev= #registry.config.debug=false # registry modules: parts of the form we should be display #registry.modules.taxonomic=true #registry.modules.method=true #registry.modules.spatial=true #registry.modules.keyword=true #registry.modules.temporal=true #registry.modules.upload=false # skin-specific display settings #registry.required.siteList=true #registry.required.wgList=false #registry.required.organization=true #registry.required.temporal=true #registry.required.spatial=true #registry.required.contactEmail=false registry.templates.response=genericResponse.tmpl registry.templates.entry=entryForm.tmpl registry.templates.guide=genericGuide.tmpl registry.templates.login=loginForm.tmpl registry.templates.confirmData=confirmData.tmpl registry.templates.deleteData=deleteData.tmpl registry.templates.header=genericHeader.tmpl registry.templates.footer=genericFooter.tmpl # ESA-skin specific templates registry.templates.modEmailNotification= registry.templates.modResult= registry.templates.getReviews= ######## junit test section ################ test.printdebug=true test.metacatUrl=http://localhost:8080/knb/metacat test.mcUser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org test.mcPassword=kepler test.mcAnotherUser=uid=test,o=NCEAS,dc=ecoinformatics,dc=org test.mcAnotherPassword=test test.piscoUser=uid=testPW,o=PISCO,dc=ecoinformatics,dc=org/> test.piscoPassword=piscotest/> test.lterUser=uid=tmonkey,o=LTER,dc=ecoinformatics,dc=org/> test.lterPassword=T3$tusr test.testProperty=testing ######## Replication properties ######################################### replication.logdir= ## deltaT=60 ## debuglevel=55 replication.datafileflag=datafile ## TODO MCD this seems to be used in other placed besides replication replication.datafilesizelimit=1000 replication.defaultcontenttype=application/octet-stream replication.timedreplication=false replication.firsttimedreplication=10:00 PM replication.timedreplicationinterval=172800000 replication.forcereplicationwaitingtime=30000 ######## Skins ######################################### skin.names=default,esa,nceas,knb,obfs,nrs,sanparks #move this to skin config skin.esa.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org ######## Document Section ######################################### #The flag to indicate if invalidated eml 201 documents were corrected. #Before Metacat 1.8.1, metacat uses tag RELEASE_EML_2_0_1_UPDATE_6 as eml #schema, which accidentily points to wrong version of eml-resource.xsd. #If this value is false, metacat will run a class to correct eml201 doucment. document.eml201DocumentCorrected=false document.sitecode=nceas document.accNumSeparator=. ######## Harvester section ######################################### harvester.connectToMetacat=true harvester.delay=0 harvester.administrator=name@institution.edu harvester.logPeriod=90 harvester.maxHarvests=0 harvester.period=24 harvester.smtpServer=localhost harvester.GetDocError=Error getting EML document from site,Error harvester.GetDocSuccess=Success getting EML document from site,Debug harvester.GetHarvestListError=Error getting harvest list from site,Error harvester.GetHarvestListSuccess=Success getting harvest list from site,Debug harvester.HarvesterStartup=Harvester start up,Info harvester.HarvesterShutdown=Harvester shut down,Info harvester.InsertDocError=Error inserting EML document to Metacat,Error harvester.InsertDocSuccess=Success inserting EML document to Metacat,Info harvester.MetacatHasDoc=Metacat already has this EML document,Info harvester.UpdateDocError=Error updating EML document to Metacat,Error harvester.UpdateDocSuccess=Success updating EML document to Metacat,Info harvester.ValidateDocError=Error validating EML docoument,Error harvester.ValidateDocSuccess=Success validating EML document,Debug harvester.ValidateHarvestListError=Error validating harvest list,Error harvester.ValidateHarvestListSuccess=Success validating harvest list,Debug ######## Spatial section ######################################### spatial.runSpatialOption=true spatial.regenerateCacheOnRestart=true # Comma-seperated list of schemas containing spatial bounding boxes # name corresponds to the docname stored in xml_documents table spatial.spatialDocnameList=eml,fgdc,metadata # XML paths to the four bounding coordinates # These paths must be included in your indexPaths variable in build.properties # Note the naming convention: # {docname}_{direction}BoundingCoordinatePath=..... # Has not been tested with other schemas besides EML spatial.eml_westBoundingCoordinatePath=geographicCoverage/boundingCoordinates/westBoundingCoordinate spatial.eml_eastBoundingCoordinatePath=geographicCoverage/boundingCoordinates/eastBoundingCoordinate spatial.eml_southBoundingCoordinatePath=geographicCoverage/boundingCoordinates/southBoundingCoordinate spatial.eml_northBoundingCoordinatePath=geographicCoverage/boundingCoordinates/northBoundingCoordinate spatial.fgdc_westBoundingCoordinatePath=spdom/bounding/westbc spatial.fgdc_eastBoundingCoordinatePath=spdom/bounding/eastbc spatial.fgdc_southBoundingCoordinatePath=spdom/bounding/southbc spatial.fgdc_northBoundingCoordinatePath=spdom/bounding/northbc spatial.metadata_westBoundingCoordinatePath=westbc spatial.metadata_eastBoundingCoordinatePath=eastbc spatial.metadata_southBoundingCoordinatePath=southbc spatial.metadata_northBoundingCoordinatePath=northbc spatial.docTitle=dataset/title ######## Geoserver section ####################################### geoserver.loginPostPage=admin/loginSubmit.do geoserver.loginSuccessString=admin/logout.do geoserver.passwordPostPage=config/loginEditSubmit.do geoserver.passwordSuccessString=Data loaded without incident geoserver.applyPostPage=admin/saveToGeoServer.do geoserver.defaultUsername=admin geoserver.defaultPassword=geoserver geoserver.username= geoserver.password= ######## SiteMap section ######################################### # relative directory path in which sitemap files should be written ## sitemapDirectory=@install-dir@/sitemaps # Interval (in milliseconds) between rebuilding the sitemap sitemap.interval=86400000 ######## Developers Section ######################################### # Set dev.runConfiguration to false to keep the system from walking you # through the configuration utility every time you reinstall metacat. # Instead, the system will use backed up configuration values. If you # haven't ever configured the app (no backup files) the system will take # you through the configuration. dev.runConfiguration=true