Return-Path: Mailing-List: contact turbine-torque-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list turbine-torque-user@jakarta.apache.org Received: (qmail 23321 invoked by uid 98); 7 Jan 2003 10:29:41 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 23302 invoked from network); 7 Jan 2003 10:29:40 -0000 Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 7 Jan 2003 10:29:40 -0000 Received: (qmail 19807 invoked by uid 500); 7 Jan 2003 10:28:09 -0000 Received: (qmail 19800 invoked from network); 7 Jan 2003 10:28:09 -0000 Received: from web14504.mail.yahoo.com (216.136.224.67) by daedalus.apache.org with SMTP; 7 Jan 2003 10:28:09 -0000 Message-ID: <20030107102823.75225.qmail@web14504.mail.yahoo.com> Received: from [80.11.186.77] by web14504.mail.yahoo.com via HTTP; Tue, 07 Jan 2003 11:28:23 CET Date: Tue, 7 Jan 2003 11:28:23 +0100 (CET) From: =?iso-8859-1?q?Matthieu=20DELAHAIS?= Subject: Pb with ant -f build-torque.xml insert-sql To: turbine-torque-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1939396728-1041935303=:74688" Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --0-1939396728-1041935303=:74688 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I'm trying to work with a new SQL server database. So, I look at the tutorial of torque and I had a problem. When I'm trying to my table, it was ok for the first command (ant -f build-torque.xml id-table-init-sql), but it doesn't work with the next command (ant -f build-torque.xml insert-sql). I have the following message : Buildfile: build-torque.xml insert-sql: [torque-sql-exec] Our new url -> jdbc:mssql://unis14:1433/devbib BUILD FAILED file:C:/sources/torque-3.0/build-torque.xml:323: java.sql.SQLException: No suita ble Driver for jdbc:mssql://unis14:1433/devbib I configured the build.properties as follow : # ------------------------------------------------------------------- # # D A T A B A S E S E T T I N G S # # ------------------------------------------------------------------- # JDBC connection settings. This is used by the JDBCToXML task that # will create an XML database schema from JDBC metadata. These # settings are also used by the SQL Ant task to initialize your # Turbine system with the generated SQL. # # sameJavaName # If true, the JDBC task will set the javaName attribute for the tables # and columns to be the same as SQL name. # ------------------------------------------------------------------- torque.database.createUrl = jdbc\:mssql\://unis14\:1433/mssql torque.database.buildUrl = jdbc\:mssql\://unis14\:1433/devbib torque.database.url = jdbc\:mssql\://unis14\:1433/devbib torque.database.driver = com.thinweb.tds.Driver torque.database.user = bib torque.database.password = unis torque.database.host = unis14 torque.sameJavaName = false And the torque.properties log4j.rootCategory = DEBUG, default log4j.appender.default = org.apache.log4j.FileAppender log4j.appender.default.file = ./torque.log log4j.appender.default.layout = org.apache.log4j.SimpleLayout torque.database.default=devbib torque.database.bookstore.driver = com.microsoft.jdbc.sqlserver.SQLServerDriver torque.database.bookstore.url = jdbc\:mssql\://unis14\:1433/devbib torque.database.bookstore.username = bib torque.database.bookstore.password = unis Anyone had a similar problem or could help me? Thanks a lot... Matthieu --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais ! Testez le nouveau Yahoo! Mail --0-1939396728-1041935303=:74688--