From torque-user-return-4698-apmail-db-torque-user-archive=db.apache.org@db.apache.org Tue Apr 20 18:13:43 2004 Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 59618 invoked from network); 20 Apr 2004 18:13:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 20 Apr 2004 18:13:43 -0000 Received: (qmail 49089 invoked by uid 500); 20 Apr 2004 18:13:30 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 49076 invoked by uid 500); 20 Apr 2004 18:13:30 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 49060 invoked from network); 20 Apr 2004 18:13:30 -0000 Received: from unknown (HELO mailgate.gpi.com) (66.192.59.17) by daedalus.apache.org with SMTP; 20 Apr 2004 18:13:30 -0000 Reply-To: From: "Adrian Klingel" To: "Apache Torque Users List" Subject: RE: Errors while generating peer classes Date: Tue, 20 Apr 2004 14:13:31 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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