hello I try to develop jsf application with pooled postgresql and tomcat 6.
when I try to retrieve large object, I get exception. here is the code that creates exception: PGConnection pgCon = (PGConnection) ((DelegatingConnection)conn).getInnermostDelegate(); java.lang.ClassCastException: org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to org.apache.commons.dbcp.DelegatingConnection what changes should I made ? regards