Friends, Today is my first day with Turbine and I'm trying to get the sample app working. I think that my problem has something to do with getting the database set up correctly.
In my build.properties file I made these changes: (real values replaced with "private") I'm pretty sure this is the only change I made to the default values. ======================================================== database = oracle databaseUrl = jdbc:oracle:oci8:@private databaseDriver = oracle.jdbc.driver.OracleDriver databaseUser = private databasePassword = private databaseHost = private.cisco.com ======================================================== When I run ant init I get this in my velocity log: ======================================================== Tue Apr 23 16:44:15 EDT 2002 AvalonLogSystem initialized using logfile D:\tdk\webapps\newapp\WEB-INF\build\velocity.log Tue Apr 23 16:44:15 EDT 2002 [info] [info] Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties Tue Apr 23 16:44:15 EDT 2002 [info] Resource Loader Instantiated: org.apache.velocity.runtime.resource.loader.FileResourceLoader Tue Apr 23 16:44:15 EDT 2002 [info] FileResourceLoader : initialization starting. Tue Apr 23 16:44:15 EDT 2002 [info] FileResourceLoader : adding path 'D:\tdk\webapps\newapp\WEB-INF\build\bin\torque\templates' Tue Apr 23 16:44:15 EDT 2002 [info] FileResourceLoader : initialization complete. Tue Apr 23 16:44:15 EDT 2002 [info] Loaded Pluggable Directive: org.apache.velocity.runtime.directive.Literal Tue Apr 23 16:44:15 EDT 2002 [info] Loaded Pluggable Directive: org.apache.velocity.runtime.directive.Macro Tue Apr 23 16:44:15 EDT 2002 [info] Loaded Pluggable Directive: org.apache.velocity.runtime.directive.Parse Tue Apr 23 16:44:15 EDT 2002 [info] Loaded Pluggable Directive: org.apache.velocity.runtime.directive.Include Tue Apr 23 16:44:15 EDT 2002 [info] Loaded Pluggable Directive: org.apache.velocity.runtime.directive.Foreach Tue Apr 23 16:44:16 EDT 2002 [info] Created: 20 parsers. Tue Apr 23 16:44:16 EDT 2002 [info] Velocimacro : initialization starting. Tue Apr 23 16:44:16 EDT 2002 [info] Velocimacro : adding VMs from VM library template : VM_global_library.vm Tue Apr 23 16:44:16 EDT 2002 [error] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. Tue Apr 23 16:44:16 EDT 2002 [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 23 16:44:16 EDT 2002 [info] Velocimacro : allowInline = true : VMs can be defined inline in templates Tue Apr 23 16:44:16 EDT 2002 [info] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions Tue Apr 23 16:44:16 EDT 2002 [info] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed. Tue Apr 23 16:44:16 EDT 2002 [info] Velocimacro : messages on : VM system will output logging messages Tue Apr 23 16:44:16 EDT 2002 [info] Velocimacro : initialization complete. Tue Apr 23 16:44:16 EDT 2002 [info] Velocity successfully started. Tue Apr 23 16:44:16 EDT 2002 [info] ResourceManager : found sql/db-init/Control.vm with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader Tue Apr 23 16:44:16 EDT 2002 [error] ResourceManager : unable to find resource 'sql/db-init/oracle/windows.vm' in any resource loader. Tue Apr 23 16:44:16 EDT 2002 [error] Method parse threw exception for reference $generator in template sql/db-init/Control.vm at [2,1] ======================================================== Another symptom is that all the code in the org.mycompany.newapp.om package wasn't generated. That caused the three .java files that import those classes to fail to compile. Can anybody help me? Thanks in advance, Matt W. PS A quick google search shows me that several people have had this problem before. However, I didn't see any answers. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
