All Versions
- DSpace 7.x (Current Release)
- DSpace 8.x (Unreleased)
- DSpace 6.x (EOL)
- DSpace 5.x (EOL)
- More Versions...
...
DSpace uses the Apache Solr application underlaying the statistics. There is no need to download any separate software. All the necessary software is included. To understand all of the configuration property keys, the user should refer to DSpace Statistic Configuration for detailed information.
Before it builds a pool of database connections, DSpace tries to look up an existing pool in a directory service (if such a service is provided). Many web application containers supply such a service and can be configured to provide the connection pool to DSpace.
There are some advantages to doing this:
Unless you have reconfigured db.jndi
in config/local.cfg
, DSpace applications will look up java:comp/env/jdbc/dspace
. The value of db.jndi
must match the name of the directory object provided to the web application context(s), which you will configure in the container.
First you must make the DBMS driver JAR available to Tomcat. TBS
Add a <Resource>
in Tomcat's server.xml
to define the pool:
Code Block | ||||
---|---|---|---|---|
| ||||
<GlobalNamingResources>
...
<Resource
name='jdbc/instance'
description='Our DSpace DBMS connection pool'
type='javax.sql.DataSource'
auth='Container'
username='USER'
password='SECRET'
driverClassName='org.postgresql.Driver'
url='jdbc:postgresql://dbms.example.com:5432/dspace'
initialSize='5'
maxTotal='50'
maxIdle='15'
minIdle='5'
maxWaitMillis='5000'
/>
...
</GlobalNamingResources>
|
Add a <ResourceLink> in each Context:
Code Block | ||
---|---|---|
| ||
<Context
...
<ResourceLink
name='jdbc/dspace'
global='jdbc/instance'
type='javax.sql.DataSource'
/>
...
</Context> |
Notice that the name
of the ResourceLink
matches the value of db.jndi
, and the global
in the ResourceLink
matches the name
of the Resource
.
Essentially installing on Windows is the same as installing on Unix so please refer back to the main Installation Instructions section.
...