tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ahmet temiz" <ahmettemi...@gmail.com>
Subject problem in getting large object in pooled database
Date Mon, 22 Dec 2008 19:26:38 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message