Re: WARN: Found unclosed resources while finalize

2003-12-13 Thread Armin Waibel
yes I read, the same story. I thought gc does finalize classes in order of the references, mean first gc RsIterator (finalize close all resources) then clean the reference to StatementAndResultSet, seems does not ;-). I will set log level to info too. Thanks for pointing to that. regards, Armi

Re: WARN: Found unclosed resources while finalize

2003-12-13 Thread Antonio Gallardo
Hi Armin: Thanks for the answer. Reading again the first message it is OK. Of course your idea to set the log level to INFO is good. I think we can set it as default, because we are not creating any leak at all in this case. But the second message: [org.apache.ojb.broker.accesslayer.ResultSetAndS

Re: WARN: Found unclosed resources while finalize

2003-12-13 Thread Armin Waibel
ransaction. Can someone tell me why I am getting this errors? [org.apache.ojb.broker.accesslayer.RsIterator] WARN: Found unclosed resources while finalize (causer class: org.apache.ojb.broker.accesslayer.RsIterator) [org.apache.ojb.broker.accesslayer.ResultSetAndStatement] ERROR: ** Associated resources (Statement/ResultSet) not

WARN: Found unclosed resources while finalize

2003-12-13 Thread Antonio Gallardo
Hi: I am getting this type of errors. I review the code and saw that we close the broker on every transaction. Can someone tell me why I am getting this errors? [org.apache.ojb.broker.accesslayer.RsIterator] WARN: Found unclosed resources while finalize (causer class