Hi ,
I am using Tomcat 7 for deploying restful webservices , I've set the initialisize to '5' in context.xml.
I would like to tell to tomcat to close the connection if it is idle more than 60sec .
I tried the attributes like minEvictableIdleTimeMillis="60" maxAge="60",removeAbandonedTimeout="60" removeAbandoned="true" maxWait="5000" maxActive="60" maxIdle="5",rollbackOnReturn="true" , but No Luck.
1)Initially , I want to see 5 connection
2)Close the connection which is idle for 60sec ( count should be 4)
3)Create new connection if needed again ( could should come back to 5)
Please advise.
Regards,
Vijay