Hubert,
how is your pool set up in cocoon.properties? In addition to setting up
the properties for the default pool, you need these lines, I think:
processor.xsp.pool.database.adaptor=DBPostgres
processor.xsp.pool.database.adaptor.DBPostgres=org.postgresql.Driver
-Christopher
Please respond to [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
cc:
Subject: [C1]: ESQL pool connection
Hi
when i try connecting to my db i get this error:
java.lang.RuntimeException: Error opening pooled connection: default:
Database type org.postgresql.Driver not implemented.
xml is:
<esql:connection>
<esql:pool>default</esql:pool>
...
</esql:connection>
when i used same config, not in pooled connection but in:
<esql:connection>
<esql:driver>org.postgresql.Driver</esql:driver>
<esql:dburl>jdbc:postgresql://localhost:5432/dbname</esql:dburl>
<esql:username>dbuser</esql:username>
<esql:password>dbpass</esql:password>
...
</esql:connection>
it's working just as expected.
Why is that so, and how to use pooled connection?
Thanks in advance,
Hubert.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>