You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ka...@mn.man.de on 2000/11/27 08:44:18 UTC
SQL Connection-Pool with DB2
I want to use the SQL Connection-Pool with DB2:
The following have I add to the cocoon.properties-File:
processor.xsp.pool.database.default.driver=COM.ibm.db2.jdbc.app.DB2Driver
processor.xsp.pool.database.default.url=jdbc:db2:TUCNBST4
processor.xsp.pool.database.default.username=db2admin
processor.xsp.pool.database.default.password=admin
processor.xsp.pool.database.default.maxConnections=3
processor.xsp.pool.database.default.expiryTime=3600000
But there is the following Exception:
java.lang.InstantiationException: Database type
COM.ibm.db2.jdbc.app.DB2Driver not implemented.
Wath can I do?
Katrin Seiffert
RE: SQL Connection-Pool with DB2
Posted by Mauro Canal <mc...@dachcomdigital.com>.
You must define the adaptors in cocoon.properties:
processor.xsp.pool.database.adaptor=DBDB2Net,DBDB2App
processor.xsp.pool.database.adaptor.DBDB2App=COM.ibm.db2.jdbc.net.DB2Driver
processor.xsp.pool.database.adaptor.DBDB2Net=COM.ibm.db2.jdbc.app.DB2Driver
Mauro Canal
...........................................................
> -----Original Message-----
> From: Katrin_Seiffert@mn.man.de [mailto:Katrin_Seiffert@mn.man.de]
> Sent: Monday, November 27, 2000 8:44 AM
> To: cocoon-users@xml.apache.org
> Subject: SQL Connection-Pool with DB2
>
>
>
> I want to use the SQL Connection-Pool with DB2:
>
> The following have I add to the cocoon.properties-File:
>
> processor.xsp.pool.database.default.driver=COM.ibm.db2.jdbc.app.DB2Driver
> processor.xsp.pool.database.default.url=jdbc:db2:TUCNBST4
> processor.xsp.pool.database.default.username=db2admin
> processor.xsp.pool.database.default.password=admin
> processor.xsp.pool.database.default.maxConnections=3
> processor.xsp.pool.database.default.expiryTime=3600000
>
> But there is the following Exception:
> java.lang.InstantiationException: Database type
> COM.ibm.db2.jdbc.app.DB2Driver not implemented.
>
> Wath can I do?
>
>
> Katrin Seiffert
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>