Return-Path: Delivered-To: apmail-xml-cocoon-cvs-archive@xml.apache.org Received: (qmail 14346 invoked by uid 500); 18 Jun 2002 15:43:26 -0000 Mailing-List: contact cocoon-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: cocoon-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cocoon-cvs@xml.apache.org Received: (qmail 14304 invoked by uid 500); 18 Jun 2002 15:43:25 -0000 Delivered-To: apmail-xml-cocoon2-cvs@apache.org Date: 18 Jun 2002 15:43:24 -0000 Message-ID: <20020618154324.39652.qmail@icarus.apache.org> From: shannon@apache.org To: xml-cocoon2-cvs@apache.org Subject: cvs commit: xml-cocoon2/src/documentation/xdocs/faq faq-databases.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N shannon 2002/06/18 08:43:24 Modified: src/documentation/xdocs/faq faq-databases.xml Log: applied Bertrand Delacretaz's new FAQ Revision Changes Path 1.2 +32 -1 xml-cocoon2/src/documentation/xdocs/faq/faq-databases.xml Index: faq-databases.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/faq/faq-databases.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- faq-databases.xml 13 May 2002 17:55:25 -0000 1.1 +++ faq-databases.xml 18 Jun 2002 15:43:24 -0000 1.2 @@ -83,6 +83,37 @@ - + + + I get an AbstractMethodError when Cocoon tries to query my database. + + +

+ In this case Cocoon returns a "500 internal error" result, and the + AbstractMethodError is visible in the tomcat logs after a call to + Connection.prepareStatement(...). +

+

+ This happens when the JDBC driver being used does not implement the + JDBC 1.2 interfaces: using its default configuration, the SQLTransformer + calls a version of the JDBC Connection.prepareStatement(...) method that is not + available in pre-1.2 drivers. +

+

+ To avoid this problem, configure the SQLTransformer with "old-driver=true" in the + sitemap, as shown in this example: +

+ + + true + + ]]> +
+
---------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-cvs-help@xml.apache.org