logo       

Re: Resin 3.0.6 dangling connection error.: msg#00026

text.xml.resin.user

Subject: Re: Resin 3.0.6 dangling connection error.

I would try moving your connection close code to a finally block, this
guarantees your connections will always be closed.

/cody

> This is a multi-part message in MIME format.
>
>
> My application worked perfectly 2.1.6. Now that I?ve tried testing on
> 3.0.6 I keep getting this error:
>
> [11:58:32.140] Closing dangling connections. All connections must have
> a close(
> ) in a finally block.
>
> I have close connections in my finally blocks using this method (which
> worked fine before):
> public boolean isConnectionClosed(){
> try{
> if (dbConnection != null){
> dbConnection.close();
> return dbConnection.isClosed();
> }else
> return true;
> }
> catch (SQLException e){
> return true;
> }
>
> Any clues ??????????????????????
>
>
> Tom Kochanowicz
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.520 / Virus Database: 318 - Release Date: 9/18/2003
>
>
>

------------------------------------------------------------------
Cody Caughlan
Web/Database/IT Engineer
codyc@xxxxxxxxxxxxxxxxxxxxxx
http://lifeformsunlimited.com/
------------------------------------------------------------------



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise