dbcp

JDBC connection to Virtuoso under LOG4JDBC and DBCP

Submitted by admin on Wed, 02/24/2016 - 12:25

I started to use Apache DBCP because I stumbled upon this error when I was running thousands of SQL queries.

virtuoso.jdbc4.VirtuosoException: Connection failed: Cannot assign requested address

THE SOLUTION

For initial settings, please check this previous post here

DBCP (Database Connection Pools) is described here

http://commons.apache.org/proper/commons-dbcp/