Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 17317 invoked by uid 500); 14 May 2001 09:03:24 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 17280 invoked from network); 14 May 2001 09:03:17 -0000 Reply-To: From: =?US-ASCII?Q?Pal_Wester?= To: "Cocoon" , Subject: SV: pooling problem seems simple, please help ... Date: Mon, 14 May 2001 11:01:59 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Importance: Normal In-Reply-To: <3AFF923B.B045EC3D@7bulls.com> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > processor.xsp.pool.database.adaptor.DBPostgres=postgresql.Driver doesn't match with > processor.xsp.pool.database.kbpool.driver=org.postgresql.Driver mvh: Pal Wester hogskoleingenor/programmerer > -----Opprinnelig melding----- > Fra: kpmajoor@warszawa.7bulls.com > [mailto:kpmajoor@warszawa.7bulls.com]Pa vegne av K.P.Majoor > Sendt: 14. mai 2001 10:07 > Til: cocoon-users@xml.apache.org > Emne: pooling problem seems simple, please help ... > > > Hi all, > > I've been using Cocoon 1.8.1 for a while, and with great satisfaction > especially the esql taglib was very useful to me. > But I'm getting a bit more demanding and I'd like to use a pool for my > database connections. (Postgresql 7.1) > What I used to do is : > > > org.postgresql.Driver > jdbc:postgresql://localhost/knowledgebase > user > pass > ..... > > and it works perfect. (Great I must say :-) ) > > But I'd like to use pooling and changed my files to : > > > kbpool > ..... > > Altered the cocoon.properties file like this: > > processor.xsp.pool.database.kbpool.driver=org.postgresql.Driver > processor.xsp.pool.database.kbpool.url=jdbc:postgresql://localhost > :5432/knowledgebase > > processor.xsp.pool.database.kbpool.username=user > processor.xsp.pool.database.kbpool.password=pass > processor.xsp.pool.database.kbpool.maxConnections=3 > processor.xsp.pool.database.kbpool.expiryTime=3600000 > > processor.xsp.pool.database.adaptor=DBWeblogic,DBOracle,DBInstantD > B,DBPostgres,DBSybase,DBInformix,DBMM > > processor.xsp.pool.database.adaptor.DBWeblogic=weblogic.jdbc.pool.Driver > > processor.xsp.pool.database.adaptor.DBOracle=oracle.jdbc.driver.Or > acleDriver > > processor.xsp.pool.database.adaptor.DBInstantDB=org.enhydra.instan > tdb.jdbc.idbDriver > > processor.xsp.pool.database.adaptor.DBPostgres=postgresql.Driver > processor.xsp.pool.database.adaptor.DBInformix=com.informix.jdbc.IfxDriver > > processor.xsp.pool.database.adaptor.DBSybase=com.sybase.jdbc.SybDriver > processor.xsp.pool.database.adaptor.DBMM=org.gjt.mm.mysql.Driver > > processor.xsp.pool.logfile=/var/log/dbPool.log > > Now when I try to access my pages I get the following error message : > > Cocoon 1.8.2 > Error found handling the request. > java.lang.RuntimeException: Error opening pooled connection: kbpool: > Database type org.postgresql.Driver not implemented. > > So I thought that something in my cocoon.properties was set wrong or my > classpath (since the jdbc works fine without pooling). But I simply > don't have a clue what I am doing wrong here. Is it suspicious that the > /var/log/dbPool.log file stays empty? Does anyone have an idea, cuz I > simply don't have a clue anymore. And it seems that it is something > really simple.....?!! > > Thanks already in advance, > > Klaas-Pieter > > > > > > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: