NIHVIVO-1584 documentation changes for new DB-related deploy properties

This commit is contained in:
bjl23 2011-01-14 16:51:37 +00:00
parent 6defdf1784
commit 94e89060ba
2 changed files with 54 additions and 12 deletions

View file

@ -150,7 +150,49 @@ example value: username
Change the password to match the password you created in MySQL Change the password to match the password you created in MySQL
property name: VitroConnection.DataSource.password property name: VitroConnection.DataSource.password
example value: 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. Specify the name of your first admin user for the VIVO application.
This user will have an initial temporary password of 'defaultAdmin'. This user will have an initial temporary password of 'defaultAdmin'.
You will be prompted to create a new password on first login. 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" 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 button.You should see a page of results, with links to countries that
border Australia, individuals that include Australia, and to border Australia, individuals that include Australia, and to
Australia itself. Australia itself.

View file

@ -72,12 +72,11 @@ VitroConnection.DataSource.username = vitrodbUsername
VitroConnection.DataSource.password = vitrodbPassword VitroConnection.DataSource.password = vitrodbPassword
# #
# Parameters to change in order to use VIVO with a database other than # The Jena triple store technology to use. SDB is Jena's SPARQL database;
# MySQL. # 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.tripleStoreType = SDB
VitroConnection.DataSource.driver = com.mysql.jdbc.Driver
VitroConnection.DataSource.validationQuery = SELECT 1
# #
# The maximum number of active connections in the database connection pool. # 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 VitroConnection.DataSource.pool.maxIdle = 10
# #
# The Jena triple store technology to use. SDB is Jena's SPARQL database; # Parameters to change in order to use VIVO with a database other than
# this setting allows RDF data to scale beyond the limits of the JVM heap. # MySQL.
# Set to RDB to use the older Jena RDB store with in-memory caching.
# #
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 # 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 # In absence of this parameter a SPARQL query will be fired which will attempt to
# provide a top level organization. # provide a top level organization.
# visualization.topLevelOrg = http://vivo-trunk.indiana.edu/individual/topLevelOrgURI # visualization.topLevelOrg = http://vivo-trunk.indiana.edu/individual/topLevelOrgURI