[logback-user] Trouble with C3P0

Klaus Teller klaus.teller at gmx.net
Sun Jul 26 06:41:59 CEST 2009


Problem solved. My configuration file had
<url>jdbc:mysql://localhost/logback_db</url>  instead of 
<jdbcUrl>jdbc:mysql://localhost/logback_db</url>

Klaus.
-------- Original-Nachricht --------
> Datum: Sun, 26 Jul 2009 03:18:22 +0200
> Von: "Klaus Teller" <klaus.teller at gmx.net>
> An: logback-user at qos.ch
> Betreff: [logback-user] Trouble with C3P0

> Hi Folks,
> 
> Nice work. My journey with logback started just today. So please bear with
> me. I want to do something i wasn't able to do with log4j: DB Appender +
> Pooling + MySQL.
> 
> With log4j i had JDBCAppender+MySQL working. I managed to migrate this
> part to logback without a glitch. Now the pooling with C3P0 doesn't want to
> work. I get an exception saying "No suitable driver".
> 
> What driver is it talking about? Here are the jars i got in my classpath:
> 
>  c3p0-0.9.1.2.jar
>  logback-access-0.9.16.jar
>  logback-classic-0.9.16.jar
>  logback-core-0.9.16.jar
>  mysql-connector-java-3.1.14-bin.jar
>  slf4j-api-1.5.6.jar
>  slf4j-api-1.5.8.jar
> 
> Do i need something else?
> 
> 
> Thanks,
> Klaus.
> -- 
> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user

-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser


More information about the Logback-user mailing list