Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 44585 invoked from network); 4 Dec 2005 01:52:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Dec 2005 01:52:00 -0000 Received: (qmail 38929 invoked by uid 500); 4 Dec 2005 01:51:56 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 38731 invoked by uid 500); 4 Dec 2005 01:51:55 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 38704 invoked by uid 99); 4 Dec 2005 01:51:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Dec 2005 17:51:53 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of niall.pemberton@blueyonder.co.uk designates 195.188.213.6 as permitted sender) Received: from [195.188.213.6] (HELO smtp-out3.blueyonder.co.uk) (195.188.213.6) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Dec 2005 17:51:47 -0800 Received: from DELL1800 ([82.43.173.112]) by smtp-out3.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Sun, 4 Dec 2005 01:52:14 +0000 Message-ID: <012301c5f875$7f8c2440$0400a8c0@DELL1800> From: "Niall Pemberton" To: "Jakarta Commons Developers List" References: <43917F9F.1010507@t-online.de> Subject: Re: [configuration][ALL] compatibility issues with hsqldb Date: Sun, 4 Dec 2005 01:53:18 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-OriginalArrivalTime: 04 Dec 2005 01:52:14.0672 (UTC) FILETIME=[5985A500:01C5F875] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I had the same problem in Commons Resources recently. We had been using hsqldb 1.7.1 (which I think was OK with JDK 1.3) - but the problem was it shut down the database if all connections were closed. I fixed an issue in Commons Resources to close connections properly and found the tests failed - upgraded to hsqldb 1.7.2.2 (same version as Configuration) and hit the same JDK 1.4 issue. I fixed it, by just not running the one JUnit test case that uses hsqldb if the JDK was less than 1.4: http://svn.apache.org/viewcvs?rev=349007&view=rev Niall ----- Original Message ----- From: "Oliver Heger" Sent: Saturday, December 03, 2005 11:21 AM > Hi all, > > ATM I am facing a problem with hsqldb and JDK 1.3 compatibility and > would like to know if the same occurred for other components (and if > already a solution exists). > > Commons Configuration contains a class DatabaseConfiguration whose test > class makes use of hsqldb. When trying to build the distros on JDK 1.3 > (which is the minimum supported JDK, so the release should be built with > that) TestDatabaseConfiguration causes test failures: a class not found > exception for java.sql.SavePoint. > > As I found out the cause for that is the hsqldb.jar distributed through > ibiblio, which was built for JDK 1.4 and later. Indeed I was able to > recompile hsqldb on JDK 1.3 and then the problem disappears. > Unfortunately there does not seem to be a JDK 1.3 compatible version of > a hsqldb.jar on the ibiblio maven reository (at least I did not find > one). So this makes the build process on a JDK 1.3 very hard because the > correct hsqldb.jar cannot be automatically downloaded. > > Do other components have the same constellation (dependency to hsqldb > and minimum required JDK 1.3)? How is this handled there? > > Thanks > Oliver --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org