All Versions
- DSpace 7.x (Current Release)
- DSpace 8.x (Unreleased)
- DSpace 6.x (EOL)
- DSpace 5.x (EOL)
- More Versions...
...
Before it builds a pool of database connections, DSpace always tries to look up an existing, pre-configured 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. If DSpace does not find a pre-configured pool, each web application will fall back to creating its own pool using the settings in local.cfg
.
There are some advantages to doing thisusing an external database pool:
local.cfg
. The Note: the command line tools will cannot use an externally configured pool, and always use the configured settings to in local.cfg
to build their own pool.DSpace applications will specifically look for an object named 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 is not configurable, but is specified in config/spring/api/core-hibernate.xml
if you must know. You must configure the name of the directory object provided to the your web application context(s) , which you will configure in the containerto match this. See below for an example in Tomcat.
First you must make the DBMS driver JAR available to Tomcat. TBS
...