Added "db.poolname" configuration (so that multiple applications can share a single DBCP). Also add a shutdown method to allow web applications to clean up on undeploy.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2468 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Graham Triggs
2007-12-29 22:19:26 +00:00
parent 8ed598e202
commit ada69cdad8
2 changed files with 31 additions and 3 deletions

View File

@@ -55,6 +55,10 @@ db.maxidle = -1
# Determine if prepared statement should be cached. (default is true)
db.statementpool = true
# Specify a name for the connection pool (useful if you have multiple applications sharing Tomcat's dbcp)
# If not specified, defaults to 'dspacepool'
# db.poolname = dspacepool
##### Email settings ######
# SMTP mail server