Change to use DB connection pool

Description

databaseContext.xml currently uses org.springframework.jdbc.datasource.DriverManagerDataSource for DB connections. This is not a DB connection pool. It gets a new DB connection on each request. This is a problem because

1. It is inefficient
2. If there is an error, the Calendar can continue obtaining new DB connections without bound until the DB server runs out of connections

Change to use Apache DB Commons or c3p0 connection pool. Announcements uses the former. Simple Content Portlet uses the latter.

Environment

None

Activity

Show:

Details

Assignee

Reporter

Fix versions

Priority

Created December 2, 2014 at 5:45 PM
Updated July 7, 2017 at 6:18 PM