cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Zamorski" <ram...@tenbit.pl>
Subject Re: MySQL Database Adaptor (Cocoon 1.8)
Date Wed, 13 Dec 2000 20:44:01 GMT

> Andreas Neuenschwander wrote:
> >
> > In the new Cocoon 1.8 rlease the turbine package is integrated.
> >
> > My question is now why there is the MySQL Database Adaptor (in the
> > Turbine package) missing?
>
> No problem, simply use DBMM:
>
> processor.xsp.pool.database.adaptor.DBMM=org.gjt.mm.mysql.Driver
> processor.xsp.pool.database.default.driver=org.gjt.mm.mysql.Driver
> processor.xsp.pool.database.default.url=jdbc:mysql://localhost/db1
>

Does it really works for you? I only got the following message:


>Database type org.gjt.mm.mysql.Driver not implemented.
>
>java.lang.InstantiationException: Database type org.gjt.mm.mysql.Driver not
implemented. at
>org.apache.turbine.util.db.pool.DBFactory.create(DBFactory.java:135) at
>org.apache.turbine.util.db.pool.ConnectionPool.getNewConnection(ConnectionP
ool.java:193) at
>org.apache.turbine.util.db.pool.ConnectionPool.getConnection(ConnectionPool
.java:153) at
>org.apache.turbine.util.db.pool.DBBroker.getConnection(DBBroker.java:161)
at
>org.apache.turbine.util.db.pool.DBBroker.getConnection(DBBroker.java:135)
at
...

Is it some version problem or what? I use cocoon v1.8 + jserv 1.1.2 +
unknown version of mm driver...

roman


Mime
View raw message