FIXED: TDK 2.2 build "No suitable Driver"
esac <[email protected]> 09 Apr 2003 17:20:04 +0200
| Newsgroups | gmane.comp.jakarta.turbine.user,gmane.comp.jakarta.turbine.tdk.devel |
|---|---|
| Message-ID | <1049901605.1601.31.camel@will> |
I solved this simple issue adding to build.properties the following lines: torque.database.driver = org.gjt.mm.mysql.Driver torque.database.user = tr torque.database.password = pass_me torque.database.buildUrl = jdbc:mysql://localhost/newapp I think tdk-howto.html need updates with a basic example like this and have to mention to add tdk.home=/path/to/tdk-x.x in both build.properties -- esac > Hello to all turbine/torque user! > I'm trying to getting started with TDK 2.2_1 but I'm unable to build with ant init after the initial ant. > something probably is wrong with my JDBC driver altough I have the correct jdbc driver in newapp/WEB-INF/lib > I have tryed both with the shipped mysql driver and with the last connectorJ (mysql-connector-java-3.0.5-gamma-bin.jar) > downloaded from mysql.com. > following the relevant/changed parts of build.properties. > > BUILD FAILED > file:/usr/java/jakarta/tdk-2.2/webapps/newapp/WEB-INF/build/build-torque.xml:323: java.sql.SQLException: No suitable Driver for newapp > > #### changed parts of /usr/java/jakarta/tdk-2.2/webapps/newapp/WEB-INF/build/build.properties > > tdk.home = /usr/java/jakarta/tdk-2.2 > database.name = newapp > database = mysql > createDatabaseUrl = jdbc:mysql://localhost/ > buildDatabaseUrl = newapp > databaseUrl = jdbc:mysql://localhost/newapp > databaseDriver = com.mysql.jdbc.Driver > #org.gjt.mm.mysql.Driver > databaseUser = tr > databasePassword = pass_me > databaseHost = localhost > > #### tr user was created in mysql with this command: > mysql> GRANT ALL PRIVILEGES ON *.* TO [email protected] > -> IDENTIFIED BY 'pass_me' WITH GRANT OPTION; > > Please HELP ME I know this is stupid problem but i'm stuck! > -- > esac > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >