accessToUnderlyingConnectionAllowed="true"
see exact steps here
http://commons.apache.org/dbcp/configuration.html

Filip


ahmet temiz wrote:
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



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to