The problem with the example code you posted is then "conn" variable.
It should be declared inside the method (local variable) and not as a member variable.


Your example works if only one request is processed.
A second request overwrites the connection of the first one.
So the first connection is lost and at the end, both requests will try to close the same connection two times triggering the exception you see.


-- Dirk




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to