java.sql.SQLException: Connection is closed. at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.checkOpen(PoolingDataSource.java:185) at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:317)
When i'm trying to do get a Preparestatement or sometimes on the execute() command.
My idea is there is too much connection not closed correctly, but i'm sure that i closed every connection that I open. And in my context configuration I use : removeAbandoned="true" removeAbandonedTimeout="1120"
and jdbc:postgresql://localhost/DB?autoReconnect=true