changed datasource implementation to apache BasicDatasource