db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rankin <ran...@houston.rr.com>
Subject maven torque:datadump fails w/ mysql fails - Suggestions?
Date Sat, 04 Dec 2004 12:16:39 GMT
Suggestions or help would be appreciated -

using latest torque I get a spurious stack trace (the driver's really 
fine & I think it has connected to mysql):

torque:datadump:
Using contextProperties file: /usr/local/turbine.apps/myapp/build.properties
     [torque-data-dump] Using classpath
     [torque-data-dump] Generating to file 
/usr/local/turbine.apps/ocip/target/sql/report.myapp.datadump.generation
     [torque-data-dump] Torque - TorqueDataDump starting
     [torque-data-dump] Your DB settings are:
     [torque-data-dump] driver: com.mysql.jdbc.Driver
     [torque-data-dump] URL:
     [torque-data-dump] user: root
SQLException while connecting to DB:
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.torque.task.TorqueDataDumpTask.initControlContext(TorqueDataDumpTask.java:200)
         at 
org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:480)
         at org.apache.tools.ant.Task.perform(Task.java:341)
         at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
         at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
         at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
         at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
         at com.werken.werkz.Goal.fire(Goal.java:639)
         at com.werken.werkz.Goal.attain(Goal.java:575)
         at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
         at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:634)
         at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
         at org.apache.maven.cli.App.doMain(App.java:486)
         at org.apache.maven.cli.App.main(App.java:1215)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.werken.forehead.Forehead.run(Forehead.java:551)
         at com.werken.forehead.Forehead.main(Forehead.java:581)
BUILD SUCCESSFUL


the tail of the velocity.log is:

Sat Dec 04 06:08:57 CST 2004   [info] Velocimacro : initialization complete.
Sat Dec 04 06:08:57 CST 2004   [info] Velocity successfully started.
Sat Dec 04 06:09:06 CST 2004   [info] ResourceManager : found 
data/dump/Control.vm with loader 
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Sat Dec 04 06:09:06 CST 2004   [info] ResourceManager : found 
data/dump/top.vm with loader 
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Sat Dec 04 06:09:07 CST 2004   [info] ResourceManager : found 
data/dump/bottom.vm with loader 
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message