Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 14511 invoked from network); 7 Feb 2006 18:41:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Feb 2006 18:41:00 -0000 Received: (qmail 14548 invoked by uid 500); 7 Feb 2006 18:40:58 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 14537 invoked by uid 500); 7 Feb 2006 18:40:57 -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 14518 invoked by uid 99); 7 Feb 2006 18:40:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2006 10:40:57 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of Richard.Liu@boeing.com designates 130.76.64.48 as permitted sender) Received: from [130.76.64.48] (HELO slb-smtpout-01.boeing.com) (130.76.64.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2006 10:40:56 -0800 Received: from blv-av-01.boeing.com ([192.42.227.216]) by slb-smtpout-01.boeing.com (8.9.2.MG.10092003/8.8.5-M2) with ESMTP id KAA29302 for ; Tue, 7 Feb 2006 10:40:36 -0800 (PST) Received: from XCH-SEBH-11.se.nos.boeing.com (localhost [127.0.0.1]) by blv-av-01.boeing.com (8.11.3/8.11.3/MBS-AV-LDAP-01) with ESMTP id k17IeZW00552 for ; Tue, 7 Feb 2006 10:40:35 -0800 (PST) Received: from XCH-SE-2V2.se.nos.boeing.com ([130.122.5.31]) by XCH-SEBH-11.se.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 7 Feb 2006 12:40:32 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Problem running torque-3.2 bookstore demo Date: Tue, 7 Feb 2006 12:40:31 -0600 Message-ID: <0413E9168E8A064AB1C9517843ACACE55FB4AD@XCH-SE-2V2.se.nos.boeing.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem running torque-3.2 bookstore demo Thread-Index: AcYsFflXc3PB5ymaRYWgu0evrx+eXg== From: "Liu, Richard" To: X-OriginalArrivalTime: 07 Feb 2006 18:40:32.0271 (UTC) FILETIME=[F9C069F0:01C62C15] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I have finally compiled the turque 3.2 tutorial demo and try to run the "bookstore" demo (I have finished all the previous steps). I got the following error, can anyone give me some help ! Thnaks Richard Liu Software Engineer at Boeing =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Running command: java -cp classes:lib/avalon-framework-4.1.4.jar:lib/commons-beanutils-1.7.0.jar:l ib/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/commo ns-logging-1.0.4.jar:lib/commons-pool-1.2.jar:lib/jcs-20030822.182132.ja r:lib/mysql-connector-java-3.1.6-bin.jar:li b/torque-3.2.jar:lib/village-2.0.jar ideas.houston.boeing.Bookstore Error: Feb 7, 2006 12:24:58 PM org.apache.torque.dsfactory.AbstractDataSourceFactory setProperty SEVERE: Property: driver value: org.postgresql.Driver is not supported by DataSource: org.apache.commons.dbcp.cpdsa dapter.DriverAdapterCPDS Feb 7, 2006 12:24:58 PM org.apache.torque.oid.IDBroker WARNING: IDBroker is being used with db 'bookstore', which does not support transactions. IDBroker attempts to use=20 transactions to limit the possibility of duplicate key generation. Without transactions, duplicate key generation=20 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 at org.apache.torque.TorqueInstance.getConnection(TorqueInstance.java:825) at org.apache.torque.Torque.getConnection(Torque.java:272) at org.apache.torque.util.Transaction.beginOptional(Transaction.java:80) at org.apache.torque.util.Transaction.begin(Transaction.java:62) at ideas.houston.boeing.BasePublisher.save(BasePublisher.java:494) at ideas.houston.boeing.BasePublisher.save(BasePublisher.java:475) at ideas.houston.boeing.Bookstore.main(Bookstore.java:25) Caused by: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(DriverManager.java:532) at java.sql.DriverManager.getConnection(DriverManager.java:171) at org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS.getPooledConnectio n(DriverAdapterCPDS.java:160) at org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS.getPooledConnectio n(DriverAdapterCPDS.java:130) at org.apache.commons.dbcp.datasources.InstanceKeyDataSource.testCPDS(Insta nceKeyDataSource.java:711) at org.apache.commons.dbcp.datasources.SharedPoolDataSource.registerPool(Sh aredPoolDataSource.java:188) at org.apache.commons.dbcp.datasources.SharedPoolDataSource.getPooledConnec tionAndInfo(SharedPoolDataSource .java:157) at org.apache.commons.dbcp.datasources.InstanceKeyDataSource.getConnection( InstanceKeyDataSource.java:631) at org.apache.commons.dbcp.datasources.InstanceKeyDataSource.getConnection( InstanceKeyDataSource.java:615) at org.apache.torque.TorqueInstance.getConnection(TorqueInstance.java:821) ... 6 more --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org