db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Klingel" <Adrian.Klin...@gpi.com>
Subject RE: Errors while generating peer classes
Date Tue, 20 Apr 2004 19:31:56 GMT
This error is resulting from an OutOfMemory error.  The database contains
over five hundred tables.  Any way to get around this?

-----Original Message-----
From: Adrian Klingel [mailto:Adrian.Klingel@gpi.com]
Sent: Tuesday, April 20, 2004 2:14 PM
To: Apache Torque Users List
Subject: RE: Errors while generating peer classes


OK.  I don't have this error any more:

Tue Apr 20 10:59:47 EDT 2004  [error] Error in evaluation of == expression.
Both arguments must be of the same Class. Currently left = class
java.lang.Boolean, right = class java.lang.String. om/MapBuilder.vm [line
28, column 28] (ASTEQNode)

I was able to fix it by removing the quotes around the "true" in the
referenced line.

Now all I have is:

Tue Apr 20 13:57:52 EDT 2004  [error] ResourceManager : unable to find
resource 'VM_global_library.vm' in any resource loader.

AND

Tue Apr 20 11:06:06 EDT 2004  [error] Method parse threw exception for
reference $generator in template om/Control.vm at  [73,11]

I'm not too worried about the first one.

But the second one is a show-stopper.  There is no additional information
available.

Once again, ANY HELP IS APPRECIATED.

Adrian Klingel



-----Original Message-----
From: Adrian Klingel [mailto:Adrian.Klingel@gpi.com]
Sent: Tuesday, April 20, 2004 11:25 AM
To: Apache Torque Users List
Subject: Errors while generating peer classes


My environment is Oracle 9i R2, JDBC driver ojdbc14.jar, JDK 1.4.2_04, and
Torque 1.3.

I'm getting some errors in velocity.log after I "build -f build-torque.xml"
in the om-template target.  Here are the errors by themselves:

Tue Apr 20 10:59:45 EDT 2004  [error] ResourceManager : unable to find
resource 'VM_global_library.vm' in any resource loader.

Tue Apr 20 10:59:47 EDT 2004  [error] Error in evaluation of == expression.
Both arguments must be of the same Class. Currently left = class
java.lang.Boolean, right = class java.lang.String. om/MapBuilder.vm [line
28, column 28] (ASTEQNode)

Tue Apr 20 11:06:06 EDT 2004  [error] Method parse threw exception for
reference $generator in template om/Control.vm at  [73,11]

And here they are in their native habitat:

Tue Apr 20 10:59:45 EDT 2004   [info] Created: 20 parsers.
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro : initialization starting.
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro : adding VMs from VM
library template : VM_global_library.vm
Tue Apr 20 10:59:45 EDT 2004  [error] ResourceManager : unable to find
resource 'VM_global_library.vm' in any resource loader.
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro : error using  VM library
template VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro :  VM library template
macro registration complete.
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro : allowInline = true : VMs
can be defined inline in templates
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro : allowInlineToOverride =
false : VMs defined inline may NOT replace previous VM definitions
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro : allowInlineLocal = false
: VMs defined inline will be  global in scope if allowed.
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro : messages on  : VM system
will output logging messages
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro : autoload off  : VM
system will not automatically reload global library macros
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro : initialization complete.
Tue Apr 20 10:59:45 EDT 2004   [info] Velocity successfully started.
Tue Apr 20 10:59:47 EDT 2004   [info] ResourceManager : found om/Control.vm
with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:47 EDT 2004   [info] ResourceManager : found
sql/base/oracle/db.props with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:47 EDT 2004   [info] ResourceManager : found om/Peer.vm
with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:47 EDT 2004   [info] ResourceManager : found
om/MapBuilder.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:47 EDT 2004  [error] Error in evaluation of == expression.
Both arguments must be of the same Class. Currently left = class
java.lang.Boolean, right = class java.lang.String. om/MapBuilder.vm [line
28, column 28] (ASTEQNode)
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found om/Object.vm
with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found
om/ExtensionObject.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found
om/ExtensionPeer.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found om/Peer.vm
with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found
om/MapBuilder.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004  [error] Error in evaluation of == expression.
Both arguments must be of the same Class. Currently left = class
java.lang.Boolean, right = class java.lang.String. om/MapBuilder.vm [line
28, column 28] (ASTEQNode)
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found om/Object.vm
with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found
om/ExtensionObject.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found
om/ExtensionPeer.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found om/Peer.vm
with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found
om/MapBuilder.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004  [error] Error in evaluation of == expression.
Both arguments must be of the same Class. Currently left = class
java.lang.Boolean, right = class java.lang.String. om/MapBuilder.vm [line
28, column 28] (ASTEQNode)
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found om/Object.vm
with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found
om/ExtensionObject.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found
om/ExtensionPeer.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found om/Peer.vm
with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found
om/MapBuilder.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004  [error] Error in evaluation of == expression.
Both arguments must be of the same Class. Currently left = class
java.lang.Boolean, right = class java.lang.String. om/MapBuilder.vm [line
28, column 28] (ASTEQNode)
Tue Apr 20 11:06:06 EDT 2004  [error] Method parse threw exception for
reference $generator in template om/Control.vm at  [73,11]

Do any of these ring a bell?


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



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