db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Braeuchi <jbraeu...@gmx.ch>
Subject Re: Update to HSQLDB 1.7.2 RC1 for 1.0 final ?
Date Sat, 03 Jan 2004 10:35:14 GMT
hi tom,

in this case we'd better stay with the current versions of hsqldb and 
torque. ojb 1.0 should be available *tomorrow*, so there's only little 
time to hunt bugs.

just my 0.02 CHF
jakob

Thomas Dudziak wrote:

> On Sat, 3 Jan 2004, Jakob Braeuchi wrote:
> 
> 
>>hi tom,
>>
>>i tried simply replacing the hsqldb.jar with the new 1.7.2RC1. but then 
>>the testcases no longer work !
>>even prepare-testdb created a database that i could not use. there are 
>>two files OJB.properties and OJB.log but  i miss OJB.script.
>>
>>is there anything else that needs to be changed as well to use 1.7.2 ?
> 
> 
> I had the same problem with the OJB tests though I have sucessfully used
> the 1.7.2rc1 in an OJB project of mine (with XDoclet module and torque).
> I have pinned the problem to the preparation of the test database, more
> specifically the call to the project-datasql-classpath target in the
> torque build file. It seems as if this step does not close the database
> correctly as there is still a lock file after the ant call:
> 
> BUILD FAILED
> file:E:/projects/ojb/DB-OJB~1/build-torque.xml:181: java.sql.SQLException: The
> database is already in use by another 
> process: org.hsqldb.LockFile@2df8dff[file =
> E:\projects\ojb\DB-OJB~1\target\test\OJB.lck, exists=true, locked=false,
> valid=false, ]: java.lang.Exception: checkHeartbeat(): lock file
> [E:\projects\ojb\DB-OJB~1\target\test\OJB.lck] is presumably locked by
> another process.
> 
> In my personal project, I don't use the project-datasql-classpath target.
> I fear that there is a problem with the Torque version we use
> (3.0.2). I'll try 3.1 today to see whether that works better.
> 
> Tom
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message