Warum's solution works for me with SQL server 2008.
Anyway for anyone who has an issue with dead connections refer http://docs.jboss.org/jbossas/6/JCA_Guide/en-US/html_single/index.html#d0e1768. Combination of idle connections & dead connections will give a solution. Try it and see.