Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VIVO 3828: Remove SDB in preparation to moving to new Jena. #3845

Draft
wants to merge 1 commit into
base: jena4-upgrade
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions home/src/main/resources/config/example.applicationSetup.n3
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,10 @@
# The TDB-based implementation is the default option. It reads its parameters
# from the runtime.properties file, for backward compatibility.
#
# Other implementations are based on an SDB instance, a "standard" SPARQL
# endpoint, or a Virtuoso endpoint, with parameters as shown.
# Other implementations are a "standard" SPARQL endpoint or a Virtuoso
# endpoint, with parameters as shown.
#

#:sdbContentTripleSource
# a vitroWebapp:triplesource.impl.sdb.ContentTripleSourceSDB ,
# vitroWebapp:modules.tripleSource.ContentTripleSource .

:tdbContentTripleSource
a vitroWebapp:triplesource.impl.tdb.ContentTripleSourceTDB ,
vitroWebapp:modules.tripleSource.ContentTripleSource ;
Expand Down
14 changes: 6 additions & 8 deletions home/src/main/resources/config/example.runtime.properties
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ argon2.memory = 1024
argon2.time = 1000

#
# NOTE: VitroConnection.DataSource.* properties are only used in conjuction with
# an SDB triple store.
# NOTE: VitroConnection.DataSource.* properties are only used by OpenSocial for
# SQL database interaction.
#
# 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
Expand Down Expand Up @@ -152,21 +152,19 @@ selfEditing.idMatchingProperty = http://vivo.mydomain.edu/ns#networkId
# VitroConnection.DataSource.pool.maxIdle = 10

# -----------------------------------------------------------------------------
# USING A DIFFERENT DATABASE
# USING AN SQL DATABASE
# -----------------------------------------------------------------------------

#
# Parameters to change in order to use VIVO with a database other than
# MySQL.
# MySQL. This may be required for OpenSocial.
#
# VitroConnection.DataSource.dbtype = MySQL
# VitroConnection.DataSource.driver = com.mysql.jdbc.Driver
# VitroConnection.DataSource.validationQuery = SELECT 1

# Note: the above 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.
# Note: you may need to edit applicationSetup.n3. See the installation
# instructions for more details.


# -----------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ log4j.logger.edu.cornell.mannlib.vitro.webapp.servlet.setup.UpdateKnowledgeBase=
log4j.logger.org.semanticweb.owlapi.rdf.rdfxml.parser=WARN

# suppress odd warnings from libraries
log4j.logger.org.apache.jena.sdb.layout2.LoaderTuplesNodes=FATAL
log4j.logger.org.apache.jena.sdb.sql.SDBConnection=ERROR
log4j.logger.org.openjena.riot=FATAL
log4j.logger.org.apache.jena.riot=FATAL
log4j.logger.org.directwebremoting=WARN