Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 66152 invoked from network); 3 Jan 2004 10:35:38 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Jan 2004 10:35:38 -0000 Received: (qmail 21955 invoked by uid 500); 3 Jan 2004 10:35:12 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 21747 invoked by uid 500); 3 Jan 2004 10:35:10 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 21732 invoked from network); 3 Jan 2004 10:35:10 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by daedalus.apache.org with SMTP; 3 Jan 2004 10:35:10 -0000 Received: (qmail 18896 invoked by uid 65534); 3 Jan 2004 10:35:22 -0000 Received: from adsl-62-167-70-159.adslplus.ch (EHLO gmx.ch) (62.167.70.159) by mail.gmx.net (mp016) with SMTP; 03 Jan 2004 11:35:22 +0100 X-Authenticated: #15507884 Message-ID: <3FF69AE2.8040806@gmx.ch> Date: Sat, 03 Jan 2004 11:35:14 +0100 From: Jakob Braeuchi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: OJB Developers List Subject: Re: Update to HSQLDB 1.7.2 RC1 for 1.0 final ? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 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