After having changed my db profile to use mysql as explained 
in the doc I tried to run 'build.sh prepare-testdb'
but without success.

In velocity.log I see a couple of suspicious messages :

ResourceManager : unable to find resource 'VM_global_l
ibrary.vm' in any resource loader.
Velocimacro : error using  VM library template VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException:
Unable to find resource 'VM_global_library.vm'

And on standard output and error :
..........
[torque-sql] java.lang.NullPointerException
[torque-sql]    at java.io.Reader.<init>(Reader.java:61)
[torque-sql]    at java.io.InputStreamReader.<init>(InputStreamReader.java:80)
[torque-sql]    at java.util.Properties.load(Properties.java:189)
[torque-sql]    at org.apache.torque.engine.database.model.AppData.getIdiosyncra
sies(AppData.java:166)
..............

[torque-sql] Database-specific properties file does not exist: /ker/home/lefevre
/work/jakarta-ojb-0.9.9/sql/base/test/db.props
[torque-sql] java.lang.NullPointerException
[torque-sql]    at java.io.Reader.<init>(Reader.java:61)
[torque-sql]    at java.io.InputStreamReader.<init>(InputStreamReader.java:80)
[torque-sql]    at java.util.Properties.load(Properties.java:189)
[torque-sql]    at org.apache.torque.engine.database.model.AppData.getIdiosyncra
sies(AppData.java:166)
..............
BUILD FAILED
file:/ker/home/lefevre/work/jakarta-ojb-0.9.9/build-torque.xml:448: Exception th
rown by 'properties.load'.


File db.props does not exist on my file system (nor jakarta-ojb-0.9.9/sql ...)



-- 
______________________________________________

Jean-Paul Le F�vre - [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to