|
Re: Resin 3.0.6 dangling connection error.: msg#00026text.xml.resin.user
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> |
|---|---|---|
| Previous by Date: | Resin 3.0.6 dangling connection error.: 00026, Tom K |
|---|---|
| Next by Date: | database configuration with Resin 3.0.6: 00026, johnborg |
| Previous by Thread: | Resin 3.0.6 dangling connection error.i: 00026, Tom K |
| Next by Thread: | database configuration with Resin 3.0.6: 00026, johnborg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |