cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mauro Canal" <mca...@dachcomdigital.com>
Subject RE: SQL Connection-Pool with DB2
Date Mon, 27 Nov 2000 09:28:41 GMT
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
> 

Mime
View raw message