From torque-user-return-6922-apmail-db-torque-user-archive=db.apache.org@db.apache.org Wed Apr 12 10:18:23 2006 Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 13802 invoked from network); 12 Apr 2006 10:18:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Apr 2006 10:18:21 -0000 Received: (qmail 62069 invoked by uid 500); 12 Apr 2006 10:18:20 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 61905 invoked by uid 500); 12 Apr 2006 10:18:19 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 61893 invoked by uid 99); 12 Apr 2006 10:18:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Apr 2006 03:18:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [217.24.207.26] (HELO mail.seitenbau.net) (217.24.207.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Apr 2006 03:18:17 -0700 Received: from www.seitenbau.net ([192.168.15.18]) by router.seitenbau.net with esmtp (Exim 4.43) id 1FTcQ8-0001Ot-CX for torque-user@db.apache.org; Wed, 12 Apr 2006 12:17:56 +0200 In-Reply-To: <000a01c65d8d$e83ecec0$e3997354@magic75> Subject: Re: Problems runing the Torque tutorial for version 3.2 with MySQL 5.0.19 To: "Apache Torque Users List" X-Mailer: Lotus Notes Release 6.5 September 26, 2003 Message-ID: From: Thomas Fischer Date: Wed, 12 Apr 2006 12:17:55 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 7.0.1|January 17, 2006) at 12.04.2006 12:17:56 PM MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Have you checked that it works with the org.gjt.mm.mysql.Driver ? Thomas "Thomas Mandl" schrieb am 11.04.2006 19:32:24: > Hello! > > I=B4ve gone through the Torque tutorial for version 3.2 with MySQL 5.= 0.19. > > There were no problems till step 6, when i tried to run the demo app:= > java -cp classes;lib/avalon-framework-4.1.4.jar;lib/commons- > beanutils-1.7.0.jar;lib/commons-collections-3.1.jar;lib/commons- > configuration-1.1.jar;lib/commons-dbcp-1.2.1.jar;lib/commons-lang-2. > 1.jar;lib/commons-logging-1.0.4.jar;lib/commons-pool-1.2.jar; > lib/jcs-20030822.182132.jar;lib/mysql-connector-java-3.1.6-bin.jar; > lib/torque-3.2.jar;lib/village-2.0.jar com.kazmier.Bookstore > > The following error occired: > SCHWERWIEGEND: Property: driver value: com.mysql.jdbc.Driver is not > supported by DataSource: org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS > 11.04.2006 19:19:41 org.apache.torque.oid.IDBroker > WARNUNG: IDBroker is being used with db 'bookstore', which does not > support transactions. IDBroker attempts to use transactions to limit > the possibility of duplicate key generation. Without transactions, > duplicate key generation is possible if multiple JVMs are used or > other means are used to write to the database.org.apache.torque. > TorqueException: java.sql.SQLException: No suitable driver > > I=B4m using the driver com.mysql.jdbc.Driver instead of org.gjt.mm.mysql.Driver: > > project.properties file: > # The JDBC database driver to use when connecting to your database.= > torque.database.driver =3D org.gjt.mm.mysql.Driver > > project.xml file: > > mysql-connector-java > mysql > 3.1.12-bin > > > Can anyone help me please? > Thank you very much! > > Greetings, > Thomas= --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org