|
| Re: 'Connection has already been closed'. Random error connecting with |
 |
Tue, 29 Apr 2008 03:00:54 -070 |
Hi, thanks for the reply.
Why do you say the code is not thread-safe? The method is synchronized and it
gives a new connection every time it's called. The conn is then closed at the
end of the method that makes use of it, but there you sometimes have the
exception 'already closed'.
I looked at the method code and there you cannot find anyone getting the
connection and closing it.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|