yes i understand , but in my case it is something like this ..
i start the server which creates an intial pool of 1 connection and when i
call that method from a webservice client since it being exposed as a
webservice.
The method instantiates the connection object which is a local variable
using a wrapper class fetches the data from db ... populate a collection and
then i close the ResultSet , Statement and finally the connection .
i have added logs in between which shows that all the three got closed with
no exception .. but now when i verify the db connection by running a sql
query, it displays me 2 inactive connections .
And when i do netstat on the machine where oracle is installed it shows that
my TCP connection has gone to WAIT state .. and it gets claimed back by
oracle only when TcpTimedWaitDelay is reached...
I dont do any operations in between , no schedulers are there...