Hi, On Wednesday 13 November 2002 21:11, Simon Elbaz wrote: > I am trying to use a PostgreSQL with Cocoon-2.0.2, JDK-1.4. I have > downloaded the PostgreSQL driver pgjdbc2.jar for Java-1.4. The connection > between Tomcat-4.0.3/postgresql at the startings done (started the > postgresql server with -i option). >
> HttpProcessor[10500][4]/LogKitLogger: Could not return Connection > java.lang.ClassCastException: > org.apache.avalon.excalibur.datasource.Jdbc3Connection at > org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcConnectionPool.n >ewPoolable(ResourceLimitingJdbcConnectionPool.java:81) Looks like excalibur datasource expects a JDBC 3 driver. Your driver supports JDBC2 only. Try http://jdbc.postgresql.org/download/pg73b3jdbc1.jar I did not yet tested it with cocoon, but it works fine with other programs. Martin --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
