Hi,
I am using mysql-connector-java-5.1.18
I have a pool manager (written in house) that manages a list of MysqlPooledConnections. This uses the standard ConnectionEventListener interface to detect errors and closes.
I notice that when a pooled connection is closed, the socket associated with it also gets closed (shown by netstat to be in TIME_WAIT state). Is this normal behaviour? I had assumed that by not closing the underlying connection, the socket would have been one of the resources that wouldn't be destroyed.
Am I doing something wrong or is there a setting to change this behaviour.
thanks for any help
I am using mysql-connector-java-5.1.18
I have a pool manager (written in house) that manages a list of MysqlPooledConnections. This uses the standard ConnectionEventListener interface to detect errors and closes.
I notice that when a pooled connection is closed, the socket associated with it also gets closed (shown by netstat to be in TIME_WAIT state). Is this normal behaviour? I had assumed that by not closing the underlying connection, the socket would have been one of the resources that wouldn't be destroyed.
Am I doing something wrong or is there a setting to change this behaviour.
thanks for any help