Hi Mahesh,

after looking at the issue you mentioned it seams to me that you can ignore the warning if you are sure your transactions are handled properly.

Having said that the better solution would be to update your application to use a newer castor release (after 1.0) where this problem has been resolved. The 0.9.5.3 release is quite old and we do not intend to backport any fixes to previous releases.

Regards
Ralf


Mahesh Kulkarni schrieb:
Hi Ralph,

Thanks for your reply. But as per the castor bug document 1356
(http://jira.codehaus.org/browse/CASTOR-1356), it was regarded as a bug.
I saw your name as one of the contributors in the description. I'm sure
I'm managing everything correctly (though I'll double check again). I'll
appreciate if you comment more on that.

Thanks in advance.

Regards,
Mahesh.

-----Original Message-----
From: Ralf Joachim [mailto:[EMAIL PROTECTED] Sent: Monday, April 02, 2007 5:19 PM
To: [email protected]
Subject: Re: [castor-user] Help Needed

Hi Mahesh,

the warning tells you that you have not called close() on your database
instance before it get discarded by the garbage collector of java. If
you properly close your database instances this warning will disapear.

Regards
Ralf


Mahesh Kulkarni schrieb:
Hello All,
Does anyone has an idea about the following WARNING castor generates? (I
think) I manage the DB connection/transaction in a correct manner.
Any help is really appreciated.
Thanks,
Mahesh.
org.exolab.castor.jdo.engine.DatabaseImpl finalize
WARNING: An open database instance (
<mailto:[EMAIL PROTECTED]:jdbc/XXXXXX>
[EMAIL PROTECTED]:jdbc/XXXXXX
<mailto:[EMAIL PROTECTED]:jdbc/XXXXXXD
B>
<mailto:[EMAIL PROTECTED]:jdbc/XXXXXXD
B>DB) against database: jdbc/_XXXXXX_DB has been encountered. This instance will be closed now to release system resources. Please consider changing your code as well to enforce that all database connections are closed after use.SQL executed, but not closed:null Note:
I'm using castor-0.9.5.3.jar

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email




---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

--

Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany

Tel.   +49 7071 3690 52
Mobil: +49 173 9630135
Fax    +49 7071 3690 98

Internet: www.syscon.eu
E-Mail: [EMAIL PROTECTED]

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to