tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15778] New: - DBCP ClassCastException / postgresql's PGConnection / getLargeObjectAPI
Date Fri, 03 Jan 2003 12:08:00 GMT
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: tomcat-dev@jakarta.apache.org
        ReportedBy: jfkavaka@icqmail.com


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:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message