# Properties file defining options for the MetaCatServlet.java servlet # # Matt Jones, Dan Higgins, Jivka Bojilova # '$Id: metacat.properties 4117 2008-07-11 20:42:36Z daigle $' # ######## Configuration utility section ######################################### configutil.propertiesConfigured=false configutil.ldapConfigured=false configutil.skinsConfigured=false configutil.databaseConfigured=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.tomcatDir= ## 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.cgiDir=/cgi-bin ############### Database Values ############### database.user= database.password= database.type= database.connectionURI=jdbc:postgresql://localhost/metacat 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 ######## 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 supported organization list # ldap.organizations=OBFS,OSUSB,UCNRS,KU,LTER,UVM,NCEAS,SDSC,MSU,NAPIER,SANPARKS,SAEON,UNAFFILIATED # custom organization parameters #ldap.NCEAS.dn=o=NCEAS,dc=ecoinformatics,dc=org ldap.configured.NCEAS=false ldap.base.NCEAS=dc=ecoinformatics,dc=org ldap.org.NCEAS=o=NCEAS ldap.user.NCEAS=cn=Manager ldap.password.NCEAS= #ldap.OBFS.dn=o=OBFS,dc=ecoinformatics,dc=org ldap.configured.OBFS=false ldap.base.OBFS=dc=ecoinformatics,dc=org ldap.org.OBFS=o=OBFS ldap.user.OBFS=cn=Manager ldap.password.OBFS= #ldap.OSUSB.dn=o=OSUSB,dc=ecoinformatics,dc=org ldap.configured.OSUSB=false ldap.base.OSUSB=dc=ecoinformatics,dc=org ldap.org.OSUSB=o=OSUSB ldap.user.OSUSB=cn=Manager ldap.password.OSUSB= #ldap.UCNRS.dn=ou=people,O=ucnrs.org ldap.configured.UCNRS=false ldap.base.UCNRS=ou=people,O=ucnrs.org ldap.org.UCNRS= ldap.user.UCNRS=cn=Manager ldap.password.UCNRS= #ldap.KU.dn=o=KU,dc=ecoinformatics,dc=org ldap.configured.KU=false ldap.base.KU=dc=ecoinformatics,dc=org ldap.org.KU=o=KU ldap.user.KU=cn=Manager ldap.password.KU= #ldap.LTER.dn=o=LTER,dc=ecoinformatics,dc=org ldap.configured.LTER=false ldap.base.LTER=dc=ecoinformatics,dc=org ldap.org.LTER=o=LTER ldap.user.LTER=cn=Manager ldap.password.LTER= #ldap.UVM.dn=o=UVM,dc=ecoinformatics,dc=org ldap.configured.UVM=false ldap.base.UVM=dc=ecoinformatics,dc=org ldap.org.UVM=o=UVM ldap.user.UVM=cn=Manager ldap.password.UVM= #ldap.SDSC.dn=o=SDSC,dc=ecoinformatics,dc=org ldap.configured.SDSC=false ldap.base.SDSC=dc=ecoinformatics,dc=org ldap.org.SDSC=o=SDSC ldap.user.SDSC=cn=Manager ldap.password.SDSC= #ldap.MSU.dn=o=MSU,dc=ecoinformatics,dc=org ldap.configured.MSU=false ldap.base.MSU=dc=ecoinformatics,dc=org ldap.org.MSU= ldap.user.MSU=cn=Manager,dc=ecoinformatics,dc=org ldap.password.MSU= #ldap.NAPIER.dn=o=NAPIER,dc=ecoinformatics,dc=org ldap.configured.NAPIER=false ldap.base.NAPIER=dc=ecoinformatics,dc=org ldap.org.NAPIER=o=NAPIER ldap.user.NAPIER=cn=Manager ldap.password.NAPIER= #ldap.SANPARKS.dn=o=SANParks,dc=ecoinformatics,dc=org ldap.configured.SANPARKS=false ldap.base.SANPARKS=dc=ecoinformatics,dc=org ldap.org.SANPARKS= ldap.user.SANPARKS=cn=Manager ldap.password.SANPARKS= #ldap.SAEON.dn=o=SAEON,dc=ecoinformatics,dc=org ldap.configured.SAEON=false ldap.base.SAEON=dc=ecoinformatics,dc=org ldap.org.SAEON= ldap.user.SAEON=cn=Manager ldap.password.SAEON= #ldap.UNAFFILIATED.dn=o=unaffiliated,dc=ecoinformatics,dc=org ldap.configured.UNAFFILIATED=false ldap.base.UNAFFILIATED=dc=ecoinformatics,dc=org ldap.org.UNAFFILIATED=o=unaffiliated ldap.user.UNAFFILIATED=cn=Manager ldap.password.UNAFFILIATED= # 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 ######## Access section ######################################### timedreplication=false firsttimedreplication=10:00 PM timedreplicationinterval=172800000 forcereplicationwaitingtime=30000 ######## Log Paths ############################################## sitecode=nceas accNumSeparator=. ######## XML / EML ######################################### saxparser=org.apache.xerces.parsers.SAXParser eml2_0_0namespace="eml://ecoinformatics.org/eml-2.0.0" eml2_0_1namespace="eml://ecoinformatics.org/eml-2.0.1" eml2_1_0namespace="eml://ecoinformatics.org/eml-2.1.0" packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN accessdoctype=-//ecoinformatics.org//eml-access-2.0.0beta6//EN, -//ecoinformatics.org//eml-access-2.0.0beta4//EN physicaldoctype=-//ecoinformatics.org//eml-physical-2.0.0beta6//EN, -//ecoinformatics.org//eml-physical-2.0.0beta4//EN entitydoctype=-//ecoinformatics.org//eml-entity-2.0.0beta6//EN, -//ecoinformatics.org//eml-entity-2.0.0beta4//EN 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 indexNamespaces="eml://ecoinformatics.org/eml-2.0.0","eml://ecoinformatics.org/eml-2.0.1" 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 junittesturl=@systemidserver@@servlet-path@ ######## 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 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 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= # Replication properties deltaT=60 debuglevel=55 datafileflag=datafile datafilesizelimit=1000 defaultcontenttype=application/octet-stream query.ignored.params=enableediting,foo usexmlindex=true ######## 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 # used for the setting the size of resultset for applications like morpho app_resultsetsize=7000 # used for the setting the size of resultset for searches done using browsers web_resultsetsize=7000 # used for the setting the size of queryresult_string in queryresult table. # the limit is 4000 for oracle queryresult_string_length=500000 # 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 xml_returnfield_count=0 #the size of query result cache queryresult_cache_size=500 #turn on or off the query result cache query_cache_on=true #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. eml201_document_corrected=false #used for writing debug info into a anouther out file 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) debugOutputFile=/tmp/metacat.debug #delimitered text output file name where debug info will be written delimiteredOutputFile=/tmp/metacat.debug.delimitered # Used for client testing and typically don't need to be changed mcuser="uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org" mcpassword="kepler" mcanotheruser="uid=tao,o=NCEAS,dc=ecoinformatics,dc=org" mcanotherpassword="yourpass" piscouser="uid=tao,o=PISCO,dc=ecoinformatics,dc=org"/> piscopassword="yourpass"/> lteruser="uid=jtao,o=LTER,dc=ecoinformatics,dc=org"/> lterpassword="yourpass"/> ######## Harvester section ######################################### connectToMetacat=true delay=0 harvesterAdministrator=name@institution.edu logPeriod=90 maxHarvests=0 period=24 smtpServer=localhost GetDocError=Error getting EML document from site,Error GetDocSuccess=Success getting EML document from site,Debug GetHarvestListError=Error getting harvest list from site,Error GetHarvestListSuccess=Success getting harvest list from site,Debug HarvesterStartup=Harvester start up,Info HarvesterShutdown=Harvester shut down,Info InsertDocError=Error inserting EML document to Metacat,Error InsertDocSuccess=Success inserting EML document to Metacat,Info MetacatHasDoc=Metacat already has this EML document,Info UpdateDocError=Error updating EML document to Metacat,Error UpdateDocSuccess=Success updating EML document to Metacat,Info ValidateDocError=Error validating EML docoument,Error ValidateDocSuccess=Success validating EML document,Debug ValidateHarvestListError=Error validating harvest list,Error ValidateHarvestListSuccess=Success validating harvest list,Debug ######## Spatial section ######################################### runSpatialOption=true regenerateCacheOnRestart=true # Comma-seperated list of schemas containing spatial bounding boxes # name corresponds to the docname stored in xml_documents table 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 eml_westBoundingCoordinatePath=geographicCoverage/boundingCoordinates/westBoundingCoordinate eml_eastBoundingCoordinatePath=geographicCoverage/boundingCoordinates/eastBoundingCoordinate eml_southBoundingCoordinatePath=geographicCoverage/boundingCoordinates/southBoundingCoordinate eml_northBoundingCoordinatePath=geographicCoverage/boundingCoordinates/northBoundingCoordinate fgdc_westBoundingCoordinatePath=spdom/bounding/westbc fgdc_eastBoundingCoordinatePath=spdom/bounding/eastbc fgdc_southBoundingCoordinatePath=spdom/bounding/southbc fgdc_northBoundingCoordinatePath=spdom/bounding/northbc metadata_westBoundingCoordinatePath=westbc metadata_eastBoundingCoordinatePath=eastbc metadata_southBoundingCoordinatePath=southbc metadata_northBoundingCoordinatePath=northbc docTitle=dataset/title ######## SiteMap section ######################################### # relative directory path in which sitemap files should be written ## sitemapDirectory=@install-dir@/sitemaps # Interval (in milliseconds) between rebuilding the sitemap sitemapInterval=86400000