Metacat Properties File |
Back | Home | Next |
Metacat Server has many dynamically settable properties. All of them are kept in the Metacat.properties file. Most can be set from within the build file when you first install Metacat. The following is a summary of each property and its function.
Property | Description | Possible or default value |
user | The username that Metacat will use to access the backend database. | |
password | The password that Metacat will use to access the backend database. | |
defaultDB | The JDBC connection string that Metacat uses to connect to the backend database. | jdbc:oracle:thin:@server.domain.com:1521:Metacat |
dbDriver | The JDBC driver to be used to access the backend database. | oracle.jdbc.driver.OracleDriver |
initialConnections | The number of initial connection that Metacat creates to the database. | 5 |
incrementConnections | The number of connections that are created when Metacat needs more connections. | 5 |
maximumConnections | The maximum number of database connection Metacat can make. | 10 |
resultStyleURL | The URL to the default stylesheet that Metacat should use to transform XML documents when qformat is set to HTML. | file:///opt/tomcat/webapps/Metacat/style/resultset.xsl |
xmlcatalogfile | The default file type catalog file location. | /opt/tomcat/webapps/xmltodb/catalog.txt |
defaultdatapath | DEPRECATED | C:\Temp\ |
executescript | DEPRECATED | test.bat |
sitecode | The sitecode that is used to create accession numbers. | nceas |
accNumSeparator | The separator that is used to separate the sitecode from the unique id in an accession number. | . (period) |
saxparser | The SAX parser to be used to parse XML documents. | org.apache.xerces.parsers.SAXParser |
servletpath | The path on the local machine to the MetacatServlet. | /Metacat/servlet/Metacat |
htmlpath | The path to the HTML server for this Metacat context. This is where the Metacat web interface would be served from. | /Metacat |
packagedoctype | The doctype of a package file. The system will only recognize documents of this type as a package file. | -//NCEAS//package//EN |
accessdoctype | The doctype of an access control list (ACL) file. The system will only recognize documents of this type as an access file. | -//NCEAS//eml-access//EN |
server | The server on which this Metacat server runs. | alpha.nceas.ucsb.edu:8080 |
authclass | The authorization plugin to use. In this example, LDAP. | edu.ucsb.nceas.Metacat.AuthLdap |
ldapurl | The path to your LDAP server (if LDAP authentication is being used. | ldap://ldap.nceas.ucsb.edu:389/ |
ldapbase | LDAP base parameters for the LDAP server. | o=NCEAS,c=US |
deltaT | The default delta T used for replication. | 60 |
replicationpath | The relative path to the replication servlet. | /Metacat/servlet/replication |
replicationlog | Location of the replication log file. | /logs/Metacatreplication.log |
dtdPath | Path to which DTDs are uploaded. | /opt/tomcat/webapps/Metacat/dtd/ |
dtdURL | The HTTP accessable URL to the DTD files specified in dtdPath. | http://server.domain.com/Metacat/dtd/ |
datafilepath | The path to which you want data files uploaded. | /opt/tomcat/webapps/Metacat/data |
dataport | DEPRECATED | 4444 |