Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Overview

VIVO's operation can be determined by setting corresponding properties in runtime.properties.

VIVO Runtime Properties

PropertyDescription
Vitro.defaultNamespace = http://vivo.mydomain.edu/individual/

This namespace will be used when generating URIs for objects created in the editor. In order to serve linked data, the default namespace must be composed as follows (optional elements in parentheses): scheme + server_name (+ port) (+ servlet_context) + "/individual/" For example, Cornell's default namespace is:
http://vivo.cornell.edu/individual/

  
  
  
  
  
  
  
  

rootUser.emailAddress = vivo_root@mydomain.edu

The email address of the root user for the VIVO application. The password for this user is initially set to "rootPassword", but you will be asked to change the password the first time you log in.

VitroConnection.DataSource.url = jdbc:mysql://localhost/vitrodb
VitroConnection.DataSource.username = vitrodbUsername
VitroConnection.DataSource.password = vitrodbPassword

The basic parameters for a database connection. Change the end of the URL to reflect your database name (if it is not "vitrodb"). Change the username and password to match the authorized database user you created.

email.smtpHost = smtp.mydomain.edu
email.replyTo = vivoAdmin@mydomain.edu

Email parameters which VIVO can use to send mail. If these are left empty, the "Contact Us" form will be disabled and users will not be notified of changes to their accounts.

vitro.local.solr.url = http://localhost:8080/vivosolr

URL of Solr context used in local VIVO search. This will usually consist of: scheme + server_name + port + vivo_webapp_name + "solr" In the standard installation, the Solr context will be on the same server as VIVO, and in the same Tomcat instance. The path will be the VIVO webapp.name (specified in build.properties) + "solr" Example: vitro.local.solr.url = http://localhost:8080/vivosolr

selfEditing.idMatchingProperty = http://vivo.mydomain.edu/ns#networkId

How is a logged-in user associated with a particular Individual? One way is for the Individual to have a property whose value is the username of the user. This value should be the URI for that property.

externalAuth.netIdHeaderName = remote_userID

If an external authentication system such as Shibboleth or CUWebAuth is to be used, this property says which HTTP header will contain the user ID from the authentication system. If such a system is not to be used, leave this commented out. See Using an external authentication system

VitroConnection.DataSource.pool.maxActive = 40

The maximum number of active connections in the database connection pool. Increase this value to support a greater number of concurrent page requests.

VitroConnection.DataSource.pool.maxIdle = 10

The maximum number of database connections that will be allowed to remain idle in the connection pool. Default is 25% of the maximum number of active connections.

VitroConnection.DataSource.dbtype = MySQL
VitroConnection.DataSource.driver = com.mysql.jdbc.Driver
VitroConnection.DataSource.validationQuery = SELECT 1

Parameters to change in order to use VIVO with a database other than MySQL. These parameters allow you to change the relational database that is used as the back end for Jena SDB. If you want to use a triple store other than SDB, you will need to edit applicationSetup.n3. See the installation instructions for more details.