DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15778>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15778 DBCP ClassCastException / postgresql's PGConnection / getLargeObjectAPI Summary: DBCP ClassCastException / postgresql's PGConnection / getLargeObjectAPI Product: Tomcat 4 Version: 4.1.12 Platform: PC OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: Unknown AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have tomcat 4.1.12 configured with JNDI DataSource with PostgreSQL 7.2.3 connection pool configured like the documentation (tried it with pgjdbc2.jar and also the 7.3 jar from jdbc.postgresql.org that claims to work with PG 7.2 and even a compiled jar from the PG 7.3 source). The connection pool works fine with the "normal" SQL interface (not LargeObject), but when reach this line I get a ClassCastException: LargeObjectManager lobj = ((org.postgresql.PGConnection)db).getLargeObjectAPI(); Before trying to use the DBCP, I never got a ClassCastException here. Is this a new bug or just something that is not supported by the DBCP/JDBC? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>