Ralf et alias,
there's actually a bug out there that has been identified a long time ago, that makes these error messages appear (as part of Database.finalize() being called). I honestly cannot remember where the problem is to be located, but it's a bug in the way Castor JDO closes connections in 'local' mode. Afair, the bug has been created by Stein, but I just returned from a short trip, and I really need get some sleep.
Regards Werner
Ralf Joachim wrote:
Hi Emir, Hi Nick,
I have recognized that too some time ago but did not find why this happens as the test cases I checked properly close the database. I wanted to have a look at this problem when switching CTF from JDO to JDOManager at a futur refactoring.
Ralf
Nick Stuart schrieb:
I've noticed this on MySQL as well. Was running them yesterday trying to add my own tests in...which still aren't running, but I'll hack around at that a bit more later. :)
-Nick
On 5/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi all,
I've tried running castor tests on SAPDB, Oracle and MS SQL and all of the tests have this "database not closed" warning from [Finalizer]!?! Why is this happening? Is this expected?
I've checked out last version, did "build tetsts", made an .xml with test configuration for every of the used databases (mssql.xml, oracle.xml and sapdb.xml) and then run each separately, e.g., "test.bat -file mssql.xml".
BTW, I've used ms jdbc drivers for mssql server and I've found some problems there, too. Will investigate further as soon as I have some more time and submit it to jira.

