On Tuesday 18 June 2002 10:33, Bertrand Delacretaz wrote:
>. . .
> It looks like the connection opens correctly, but then I get "500 internal
> error" from Cocoon, and the following messages in the tomcat logs:
>
> java.lang.AbstractMethodError
> at
> org.apache.avalon.excalibur.datasource.JdbcConnection.prepareStatement
>....
I found my problem: the JDBC driver I'm using is not JDBC 1.2 compliant -
need to tell the SQLTransformer to use the "old-driver" interface by
configuring it like follows in the sitemap:
<map:transformer
logger="sitemap.transformer.sql-old"
name="sql-old"
src="org.apache.cocoon.transformation.SQLTransformer"
>
<old-driver>true</old-driver>
</map:transformer>
And then use <map:transform type="sql-old"> in the sitemap.
-Bertrand
---------------------------------------------------------------------
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]>