db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From suneel gupta <gofor_sun...@yahoo.co.in>
Subject Re: ANT UNABLE TO FIND CLASS
Date Wed, 04 Feb 2004 11:49:47 GMT
HELLO EVERYBODY
WHEN I HAVE WANT 
To generate MY object model and the associated SQL,
THEN WHEN I HAVE TYPE THIS COMMAND in the top-level
torque directory:
Then it shows error  what is it and how can solve it ?

[sunil@ETS01 torque]$ ant -f build-torque.xml
Buildfile: build-torque.xml

main:

project-sql:
     [echo]
+------------------------------------------+
     [echo] |                                         
|
     [echo] | Generating SQL for YOUR Turbine project!
|
     [echo] | Woo hoo!                                
|
     [echo] |                                         
|
     [echo]
+------------------------------------------+
[torque-sql] Using contextProperties file:
/home/sunil/orgi/torque/build.properties
[torque-sql] PANIC : error configuring
SimpleLog4JLogSystem : java.io.FileNotFoundException:
velocity.log (Permission denied)
[torque-sql] log4j:ERROR No appenders could be found
for category
(org.apache.velocity.runtime.log.SimpleLog4JLogSystem).
[torque-sql] log4j:ERROR Please initialize the log4j
system properly.
[torque-sql] Generating to file
/home/sunil/orgi/torque/src/sql/report.bookstore.sql.generation
[torque-sql] Resolver: used null
[torque-sql] Couldn't read DTD specified in XML
schema: null
[torque-sql] java.net.MalformedURLException
[torque-sql]    at java.net.URL.<init>(URL.java:613)
[torque-sql]    at java.net.URL.<init>(URL.java:476)
[torque-sql]    at java.net.URL.<init>(URL.java:425)
[torque-sql]    at
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:731)
[torque-sql]    at
org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:691)
[torque-sql]    at
org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:258)
[torque-sql]    at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:811)
[torque-sql]    at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
[torque-sql]    at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:525)
[torque-sql]    at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:581)
[torque-sql]    at
org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
[torque-sql]    at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1157)
[torque-sql]    at
javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
[torque-sql]    at
org.apache.torque.engine.database.transform.XmlToAppData.parseFile(XmlToAppData.java:167)
[torque-sql]    at
org.apache.torque.task.TorqueDataModelTask.initControlContext(TorqueDataModelTask.java:304)
[torque-sql]    at
org.apache.torque.task.TorqueSQLTask.initControlContext(TorqueSQLTask.java:198)
[torque-sql]    at
org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:480)
[torque-sql]    at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
[torque-sql]    at
org.apache.tools.ant.Task.perform(Task.java:401)
[torque-sql]    at
org.apache.tools.ant.Target.execute(Target.java:338)
[torque-sql]    at
org.apache.tools.ant.Target.performTasks(Target.java:365)
[torque-sql]    at
org.apache.tools.ant.Project.executeTarget(Project.java:1237)
[torque-sql]    at
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:420)
[torque-sql]    at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:144)
[torque-sql]    at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
[torque-sql]    at
org.apache.tools.ant.Task.perform(Task.java:401)
[torque-sql]    at
org.apache.tools.ant.Target.execute(Target.java:338)
[torque-sql]    at
org.apache.tools.ant.Target.performTasks(Target.java:365)
[torque-sql]    at
org.apache.tools.ant.Project.executeTarget(Project.java:1237)
[torque-sql]    at
org.apache.tools.ant.Project.executeTargets(Project.java:1094)
[torque-sql]    at
org.apache.tools.ant.Main.runBuild(Main.java:669)
[torque-sql]    at
org.apache.tools.ant.Main.startAnt(Main.java:220)
[torque-sql]    at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
[torque-sql]    at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
[torque-sql] Resolver: used null
[torque-sql] Couldn't read DTD specified in XML
schema: null
[torque-sql] java.net.MalformedURLException
[torque-sql]    at java.net.URL.<init>(URL.java:613)
[torque-sql]    at java.net.URL.<init>(URL.java:476)
[torque-sql]    at java.net.URL.<init>(URL.java:425)
[torque-sql]    at
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:731)
[torque-sql]    at
org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:691)
[torque-sql]    at
org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:258)
[torque-sql]    at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:811)
[torque-sql]    at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
[torque-sql]    at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:525)
[torque-sql]    at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:581)
[torque-sql]    at
org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
[torque-sql]    at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1157)
[torque-sql]    at
javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
[torque-sql]    at
org.apache.torque.engine.database.transform.XmlToAppData.parseFile(XmlToAppData.java:167)
[torque-sql]    at
org.apache.torque.task.TorqueDataModelTask.initControlContext(TorqueDataModelTask.java:305)
[torque-sql]    at
org.apache.torque.task.TorqueSQLTask.initControlContext(TorqueSQLTask.java:198)
[torque-sql]    at
org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:480)
[torque-sql]    at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
[torque-sql]    at
org.apache.tools.ant.Task.perform(Task.java:401)
[torque-sql]    at
org.apache.tools.ant.Target.execute(Target.java:338)
[torque-sql]    at
org.apache.tools.ant.Target.performTasks(Target.java:365)
[torque-sql]    at
org.apache.tools.ant.Project.executeTarget(Project.java:1237)
[torque-sql]    at
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:420)
[torque-sql]    at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:144)
[torque-sql]    at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
[torque-sql]    at
org.apache.tools.ant.Task.perform(Task.java:401)
[torque-sql]    at
org.apache.tools.ant.Target.execute(Target.java:338)
[torque-sql]    at
org.apache.tools.ant.Target.performTasks(Target.java:365)
[torque-sql]    at
org.apache.tools.ant.Project.executeTarget(Project.java:1237)
[torque-sql]    at
org.apache.tools.ant.Project.executeTargets(Project.java:1094)
[torque-sql]    at
org.apache.tools.ant.Main.runBuild(Main.java:669)
[torque-sql]    at
org.apache.tools.ant.Main.startAnt(Main.java:220)
[torque-sql]    at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
[torque-sql]    at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
[torque-sql] Resolver: used null
[torque-sql] Couldn't read DTD specified in XML
schema: null
[torque-sql] java.net.MalformedURLException
[torque-sql]    at java.net.URL.<init>(URL.java:613)
[torque-sql]    at java.net.URL.<init>(URL.java:476)
[torque-sql]    at java.net.URL.<init>(URL.java:425)
[torque-sql]    at
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:731)
[torque-sql]    at
org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:691)
[torque-sql]    at
org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:258)
[torque-sql]    at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:811)
[torque-sql]    at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
[torque-sql]    at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:525)
[torque-sql]    at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:581)
[torque-sql]    at
org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
[torque-sql]    at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1157)
[torque-sql]    at
javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
[torque-sql]    at
org.apache.torque.engine.database.transform.XmlToAppData.parseFile(XmlToAppData.java:167)
[torque-sql]    at
org.apache.torque.task.TorqueDataModelTask.initControlContext(TorqueDataModelTask.java:304)
[torque-sql]    at
org.apache.torque.task.TorqueSQLTask.initControlContext(TorqueSQLTask.java:198)
[torque-sql]    at
org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:480)
[torque-sql]    at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
[torque-sql]    at
org.apache.tools.ant.Task.perform(Task.java:401)
[torque-sql]    at
org.apache.tools.ant.Target.execute(Target.java:338)
[torque-sql]    at
org.apache.tools.ant.Target.performTasks(Target.java:365)
[torque-sql]    at
org.apache.tools.ant.Project.executeTarget(Project.java:1237)
[torque-sql]    at
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:420)
[torque-sql]    at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:144)
[torque-sql]    at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
[torque-sql]    at
org.apache.tools.ant.Task.perform(Task.java:401)
[torque-sql]    at
org.apache.tools.ant.Target.execute(Target.java:338)
[torque-sql]    at
org.apache.tools.ant.Target.performTasks(Target.java:365)
[torque-sql]    at
org.apache.tools.ant.Project.executeTarget(Project.java:1237)
[torque-sql]    at
org.apache.tools.ant.Project.executeTargets(Project.java:1094)
[torque-sql]    at
org.apache.tools.ant.Main.runBuild(Main.java:669)
[torque-sql]    at
org.apache.tools.ant.Main.startAnt(Main.java:220)
[torque-sql]    at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
[torque-sql]    at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
[torque-sql] Resolver: used null
[torque-sql] Couldn't read DTD specified in XML
schema: null
[torque-sql] java.net.MalformedURLException
[torque-sql]    at java.net.URL.<init>(URL.java:613)
[torque-sql]    at java.net.URL.<init>(URL.java:476)
[torque-sql]    at java.net.URL.<init>(URL.java:425)
[torque-sql]    at
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:731)
[torque-sql]    at
org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:691)
[torque-sql]    at
org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:258)
[torque-sql]    at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:811)
[torque-sql]    at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
[torque-sql]    at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:525)
[torque-sql]    at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:581)
[torque-sql]    at
org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
[torque-sql]    at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1157)
[torque-sql]    at
javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
[torque-sql]    at
org.apache.torque.engine.database.transform.XmlToAppData.parseFile(XmlToAppData.java:167)
[torque-sql]    at
org.apache.torque.task.TorqueDataModelTask.initControlContext(TorqueDataModelTask.java:305)
[torque-sql]    at
org.apache.torque.task.TorqueSQLTask.initControlContext(TorqueSQLTask.java:198)
[torque-sql]    at
org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:480)
[torque-sql]    at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
[torque-sql]    at
org.apache.tools.ant.Task.perform(Task.java:401)
[torque-sql]    at
org.apache.tools.ant.Target.execute(Target.java:338)
[torque-sql]    at
org.apache.tools.ant.Target.performTasks(Target.java:365)
[torque-sql]    at
org.apache.tools.ant.Project.executeTarget(Project.java:1237)
[torque-sql]    at
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:420)
[torque-sql]    at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:144)
[torque-sql]    at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
[torque-sql]    at
org.apache.tools.ant.Task.perform(Task.java:401)
[torque-sql]    at
org.apache.tools.ant.Target.execute(Target.java:338)
[torque-sql]    at
org.apache.tools.ant.Target.performTasks(Target.java:365)
[torque-sql]    at
org.apache.tools.ant.Project.executeTarget(Project.java:1237)
[torque-sql]    at
org.apache.tools.ant.Project.executeTargets(Project.java:1094)
[torque-sql]    at
org.apache.tools.ant.Main.runBuild(Main.java:669)
[torque-sql]    at
org.apache.tools.ant.Main.startAnt(Main.java:220)
[torque-sql]    at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
[torque-sql]    at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)

BUILD FAILED
/home/sunil/orgi/torque/build-torque.xml:28: Following
error occured while executing this
line
/home/sunil/orgi/torque/build-torque.xml:73:
Generation failed. For more information consult the
velocity log, or invoke ant with the -debug flag.


Then can anybody have answer for solving this ?



________________________________________________________________________
Yahoo! India Mobile: Download the latest polyphonic ringtones.
Go to http://in.mobile.yahoo.com

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