From 94e89060ba78dcb5f0470893337c6a64e2111218 Mon Sep 17 00:00:00 2001 From: bjl23 Date: Fri, 14 Jan 2011 16:51:37 +0000 Subject: [PATCH] NIHVIVO-1584 documentation changes for new DB-related deploy properties --- doc/install.txt | 46 +++++++++++++++++++++++++++++++++++++-- example.deploy.properties | 20 ++++++++--------- 2 files changed, 54 insertions(+), 12 deletions(-) diff --git a/doc/install.txt b/doc/install.txt index 7df4c674..2deeb1c3 100644 --- a/doc/install.txt +++ b/doc/install.txt @@ -150,7 +150,49 @@ example value: username Change the password to match the password you created in MySQL property name: VitroConnection.DataSource.password example value: password - + + Specify the Jena triple store technology to use. SDB is Jena's + SPARQL database; this setting allows RDF data to scale beyond the + limits of the JVM heap. Set to RDB to use the older Jena RDB + store with in-memory caching. +property name: VitroConnection.DataSource.tripleStoreType +example value: SDB + + Specify the maximum number of active connections in the database + connection pool to support the anticipated number of concurrent + page requests. It is not necessary to adjust this value when + using the RDB configuration. +property name: VitroConnection.DataSource.pool.maxActive +example value: 40 + + Specify 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. +property name: VitroConnection.DataSource.pool.maxIdle +example value: 10 + + Change the dbtype setting to use a database other than MySQL. + Otherwise, leave this value unchanged. + Possible values are DB2, derby, HSQLDB, H2, MySQL, Oracle, + PostgreSQL, and SQLServer. + Refer to http://openjena.org/wiki/SDB/Databases_Supported + for additional information. +property name: VitroConnection.DataSource.dbtype +example value: MySQL + + Specify a driver class name to use a database other than MySQL. + Otherwise, leave this value unchanged. + This JAR file for this driver must be added to the the + webapp/lib directory within the vitro.core.dir specified above. +property name: VitroConnection.DataSource.driver +example value: com.mysql.jdbc.Driver + + Change the validation query used to test database connections + only if necessary to use a database other than MySQL. + Otherwise, leave this value unchanged. +property name: VitroConnection.DataSource.validationQuery +example value: SELECT 1 + Specify the name of your first admin user for the VIVO application. This user will have an initial temporary password of 'defaultAdmin'. You will be prompted to create a new password on first login. @@ -485,4 +527,4 @@ Finally, test the search index. Type the word "Australia" into the box, and click on the "Search" button.You should see a page of results, with links to countries that border Australia, individuals that include Australia, and to - Australia itself. \ No newline at end of file + Australia itself. diff --git a/example.deploy.properties b/example.deploy.properties index 7fc922c6..65e52d77 100644 --- a/example.deploy.properties +++ b/example.deploy.properties @@ -72,12 +72,11 @@ VitroConnection.DataSource.username = vitrodbUsername VitroConnection.DataSource.password = vitrodbPassword # -# Parameters to change in order to use VIVO with a database other than -# MySQL. +# The Jena triple store technology to use. SDB is Jena's SPARQL database; +# this setting allows RDF data to scale beyond the limits of the JVM heap. +# Set to RDB to use the older Jena RDB store with in-memory caching. # -VitroConnection.DataSource.dbtype = MySQL -VitroConnection.DataSource.driver = com.mysql.jdbc.Driver -VitroConnection.DataSource.validationQuery = SELECT 1 +VitroConnection.DataSource.tripleStoreType = SDB # # The maximum number of active connections in the database connection pool. @@ -95,11 +94,12 @@ VitroConnection.DataSource.pool.maxActive = 40 VitroConnection.DataSource.pool.maxIdle = 10 # -# The Jena triple store technology to use. SDB is Jena's SPARQL database; -# this setting allows RDF data to scale beyond the limits of the JVM heap. -# Set to RDB to use the older Jena RDB store with in-memory caching. +# Parameters to change in order to use VIVO with a database other than +# MySQL. # -VitroConnection.DataSource.tripleStoreType = SDB +VitroConnection.DataSource.dbtype = MySQL +VitroConnection.DataSource.driver = com.mysql.jdbc.Driver +VitroConnection.DataSource.validationQuery = SELECT 1 # # The name of your first admin user for the VIVO application. The password for @@ -133,4 +133,4 @@ selfEditing.idMatchingProperty = http://vivo.mydomain.edu/ns#networkId # In absence of this parameter a SPARQL query will be fired which will attempt to # provide a top level organization. -# visualization.topLevelOrg = http://vivo-trunk.indiana.edu/individual/topLevelOrgURI \ No newline at end of file +# visualization.topLevelOrg = http://vivo-trunk.indiana.edu/individual/topLevelOrgURI