db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saravana Krishnan <saravkr...@uky.edu>
Subject Re: problems with torque dumpdata ant target
Date Mon, 17 Jan 2005 18:11:40 GMT
Hi,

  I don't know anything about your question below, but I thought I
should warn you that Binary field types like RAW, LONG, BLOB, etc don't
work well with data dumps. To put it more clearly, the data dump is
useless if it has binary fields, because it generates invalid XML files.

Thanks,
Sarav

On Mon, 2005-01-17 at 09:43 -0800, Phillip DiCorpo wrote:
> I'm new to Torque and I've been looking at using it to perform an XML
> data dump of an existing Oracle database.  I think I've setup my
> property files for the generator and runtime engine (3.1) properly, but
> I seem to be running into the following exception when I call "ant -f
> build-torque.xml datadump -debug".  I would appreciate any help.  I'm
> using Ant 1.6.1 .... Any ideas?  Please let me know I should provide
> anymore information.
> 
> Thanks,
> Phil
> 
> BUILD FAILED
> C:\torque\build-torque.xml:431:
> org.apache.torque.engine.EngineException: C:\tor
> que\schema\protect4-schema.xml
>         at
> org.apache.torque.task.TorqueDataModelTask.initControlContext(TorqueD
> ataModelTask.java:364)
>         at
> org.apache.torque.task.TorqueDataDumpTask.initControlContext(TorqueDa
> taDumpTask.java:222)
>         at
> org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:480)
>         at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:301)
>         at org.apache.tools.ant.Target.performTasks(Target.java:328)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
>         at
> org.apache.tools.ant.Project.executeTargets(Project.java:1063)
>         at org.apache.tools.ant.Main.runBuild(Main.java:632)
>         at org.apache.tools.ant.Main.startAnt(Main.java:183)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
> Caused by: org.apache.torque.engine.EngineException:
> C:\torque\schema\protect4-s
> chema.xml
>         at
> org.apache.torque.engine.database.transform.XmlToAppData.parseFile(Xm
> lToAppData.java:201)
>         at
> org.apache.torque.task.TorqueDataModelTask.initControlContext(TorqueD
> ataModelTask.java:319)
>         ... 12 more
> Caused by: java.io.FileNotFoundException:
> C:\torque\schema\protect4-schema.xml
>         at
> org.apache.torque.engine.database.transform.XmlToAppData.parseFile(Xm
> lToAppData.java:183)
>         ... 13 more
> --- Nested Exception ---
> java.io.FileNotFoundException: C:\torque\schema\protect4-schema.xml
>         at
> org.apache.torque.engine.database.transform.XmlToAppData.parseFile(Xm
> lToAppData.java:183)
>         at
> org.apache.torque.task.TorqueDataModelTask.initControlContext(TorqueD
> ataModelTask.java:319)
>         at
> org.apache.torque.task.TorqueDataDumpTask.initControlContext(TorqueDa
> taDumpTask.java:222)
>         at
> org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:480)
>         at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:301)
>         at org.apache.tools.ant.Target.performTasks(Target.java:328)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
>         at
> org.apache.tools.ant.Project.executeTargets(Project.java:1063)
>         at org.apache.tools.ant.Main.runBuild(Main.java:632)
>         at org.apache.tools.ant.Main.startAnt(Main.java:183)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
> rethrown as org.apache.torque.engine.EngineException:
> C:\torque\schema\protect4-
> schema.xml
>         at
> org.apache.torque.engine.database.transform.XmlToAppData.parseFile(Xm
> lToAppData.java:201)
>         at
> org.apache.torque.task.TorqueDataModelTask.initControlContext(TorqueD
> ataModelTask.java:319)
>         at
> org.apache.torque.task.TorqueDataDumpTask.initControlContext(TorqueDa
> taDumpTask.java:222)
>         at
> org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:480)
>         at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:301)
>         at org.apache.tools.ant.Target.performTasks(Target.java:328)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
>         at
> org.apache.tools.ant.Project.executeTargets(Project.java:1063)
>         at org.apache.tools.ant.Main.runBuild(Main.java:632)
>         at org.apache.tools.ant.Main.startAnt(Main.java:183)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
> Caused by: java.io.FileNotFoundException:
> C:\torque\schema\protect4-schema.xml
>         at
> org.apache.torque.engine.database.transform.XmlToAppData.parseFile(Xm
> lToAppData.java:183)
>         ... 13 more
> 
> 
> 
-- 
Saravana Krishnan <saravkrish@uky.edu>


---------------------------------------------------------------------
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