anand v wrote: ...
and I have all the jar files and paths are correct... as the ant build went all the and gave me no errors but I see this
[torque-sql-exec] Our new url -> jdbc:mysql://127.0.0.1/emedservices
[torque-sql-exec] Executing file: /usr/local/tdk-2.2/webapps/emedservices/WEB-INF/src/sql/id-table-schema.sql
[torque-sql-exec] Failed to execute: CREATE TABLE ID_TABLE ( ID_TABLE_ID $type $nullString $autoIncrement, TABLE_NAME $type
(255) $nullString $autoIncrement, NEXT_ID $type $nullString $autoIncrement, QUANTITY $type $nullString $autoIncrement, PRIMA
RY KEY(ID_TABLE_ID), UNIQUE (TABLE_NAME) )
and velocity.log has this
2004-04-17 14:23:28,836 - Couldn't find class org.apache.velocity.runtime.log.AvalonLogSys
tem or necessary supporting classes in classpath. Exception : java.lang.NoClassDefFoundErr
or: org/apache/log/format/Formatter
This is just Velocity checking whether to use Log4J or Avalon, and is normal.
2004-04-17 14:23:29,204 - ResourceManager : unable to find resource 'VM_global_library.vm'
in any resource loader.
2004-04-17 14:23:29,205 - Velocimacro : error using VM library template VM_global_library
.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM
_global_library.vm'
Doesn't look like Velocity could find the Velocimacros library that you have configured. Try providing it with an empty one or turning off this config. Not sure that this is actually a problem.
so I don't know if
1. the mysql database access problem or 2. torgue not configured correctly...
but I think it did not fail creating the database that I confgured.. so mysql itself is ok ...
The problem you have right now is likely #2. Do you see more output in velocity.log after that failure to locate your VM library?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
