}
private static String attemptConnect(PortletRequest request, PoolData data) throws SQLException, IllegalAccessException, InstantiationException {
Class driverClass = attemptDriverLoad(request, data);
Driver driver = (Driver) driverClass.newInstance();
if (driver.acceptsURL(data.url)) {
Properties props = new Properties();
if (data.user != null) {
props.put("user", data.user);
}
if (data.password != null) {