Switch from DBCP2 to ObjectFactory for creating Datasources.