When I try to use connection pooling rather than "in page" logic, I get an error.
 
I had:
  <esql:driver>org.gjt.mm.mysql.Driver</esql:driver>
  <esql:dburl><xsp:expr>DBName</xsp:expr></esql:dburl>
  <esql:username><xsp:expr>DBUser</xsp:expr></esql:username>
  <esql:password><xsp:expr>DBPass</xsp:expr></esql:password>
which worked fine...
 
and now have changed to:
 
<esql:pool>mydb</esql:pool>
 
where mydb is specified in the cocoon.properties file as:
 
processor.xsp.pool.database.mydb.driver=org.gjt.mm.mysql.Driver
processor.xsp.pool.database.mydb.url=jdbc:mysql:localhost/mydb
processor.xsp.pool.database.mydb.username=user
processor.xsp.pool.database.mydb.password=pass
processor.xsp.pool.database.mydb.maxConnections=10
processor.xsp.pool.database.mydb.expiryTime=3600000
 
The error I get is :
 
java.lang.RuntimeException:
Error opening pooled connection: mydb:
Database type org.gjt.mm.mysql.Driver not implemented.
What do I need to do??
 
Thanks
Derek

Reply via email to