You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by jill han <jh...@bynum.com> on 2007/01/30 22:00:20 UTC

failed on db object build

I use maven to build db objects. It has always been successful until
today. I am not quite sure what I messed up.
Below is the message
-------------------------------------------------------------------
C:\sourceCode\neo-master\neo>maven torque:om
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

torque:init:

torque:om-check:

torque:om:
torque:init:
Overriding previous definition of reference to torque-classpath

torque:om-generate:
Using contextProperties file:
C:\sourceCode\neo-master\neo\project.properties
    [torque-data-model] Using classpath
log4j:ERROR Could not find value for key
log4j.appender.org.apache.torque.engine

log4j:ERROR Could not instantiate appender named
"org.apache.torque.engine".
    [torque-data-model] Generating to file
C:\sourceCode\neo-master\neo\src\java
\report.nequalsone.om.generation
2007-01-30 14:33:33,589 [main] INFO
org.apache.torque.engine.database.transform
.XmlToAppData - Parsing file: 'nequalsone-schema.xml'
2007-01-30 14:33:33,750 [main] INFO
org.apache.torque.engine.database.transform
.DTDResolver - Resolver: used
'http://jakarta.apache.org/turbine/dtd/database.dtd'

BUILD FAILED
File...... file:/C:/Documents and
Settings/jhan.BLR/.maven/plugins/maven-torque-plugin-3.2/
Element... torque-data-model
Line...... 228
Column.... 49
Exception thrown by 'generator.parse'. For more information consult the
velocity log, or invoke ant with the -debug flag.
Total time: 6 seconds
Finished at: Tue Jan 30 14:33:34 CST 2007
-----------------------------------------------------

And it is the exception caught  in velocity.log
------------

2007-01-30 13:56:26,973 - ResourceManager : found om/Control.vm with
loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2007-01-30 13:56:26,993 - ResourceManager : found
sql/base/oracle/db.props with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2007-01-30 13:56:27,254 - ResourceManager : found om/Peer.vm with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2007-01-30 13:56:27,264 - Method parse threw exception for reference
$generator in template om/Control.vm at  [41,9]
-----------------------------------

Your kindly help is appreciated as always.

Jill


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


RE: failed on db object build

Posted by Thomas Fischer <fi...@seitenbau.net>.
Sorry, cannot help you there. I have never seen this message before. It
seems that velocity has trouble parsing the template or generating the
output file, but it does not say why :-(
As you say you did not change anything, have you tried pulling an old
version of the project  out of your version control and running that ?
If this also does not work, maybe your disk is full or something similar ?

Sorry for not being a great help,

    Thomas

"jill han" <jh...@bynum.com> schrieb am 30.01.2007 22:00:20:

> I use maven to build db objects. It has always been successful until
> today. I am not quite sure what I messed up.
> Below is the message
> -------------------------------------------------------------------
> C:\sourceCode\neo-master\neo>maven torque:om
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
>
> torque:init:
>
> torque:om-check:
>
> torque:om:
> torque:init:
> Overriding previous definition of reference to torque-classpath
>
> torque:om-generate:
> Using contextProperties file:
> C:\sourceCode\neo-master\neo\project.properties
>     [torque-data-model] Using classpath
> log4j:ERROR Could not find value for key
> log4j.appender.org.apache.torque.engine
>
> log4j:ERROR Could not instantiate appender named
> "org.apache.torque.engine".
>     [torque-data-model] Generating to file
> C:\sourceCode\neo-master\neo\src\java
> \report.nequalsone.om.generation
> 2007-01-30 14:33:33,589 [main] INFO
> org.apache.torque.engine.database.transform
> .XmlToAppData - Parsing file: 'nequalsone-schema.xml'
> 2007-01-30 14:33:33,750 [main] INFO
> org.apache.torque.engine.database.transform
> .DTDResolver - Resolver: used
> 'http://jakarta.apache.org/turbine/dtd/database.dtd'
>
> BUILD FAILED
> File...... file:/C:/Documents and
> Settings/jhan.BLR/.maven/plugins/maven-torque-plugin-3.2/
> Element... torque-data-model
> Line...... 228
> Column.... 49
> Exception thrown by 'generator.parse'. For more information consult the
> velocity log, or invoke ant with the -debug flag.
> Total time: 6 seconds
> Finished at: Tue Jan 30 14:33:34 CST 2007
> -----------------------------------------------------
>
> And it is the exception caught  in velocity.log
> ------------
>
> 2007-01-30 13:56:26,973 - ResourceManager : found om/Control.vm with
> loader
> org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
> 2007-01-30 13:56:26,993 - ResourceManager : found
> sql/base/oracle/db.props with loader
> org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
> 2007-01-30 13:56:27,254 - ResourceManager : found om/Peer.vm with loader
> org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
> 2007-01-30 13:56:27,264 - Method parse threw exception for reference
> $generator in template om/Control.vm at  [41,9]
> -----------------------------------
>
> Your kindly help is appreciated as always.
>
> Jill
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>


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