I want to know if there exists an annotation or object that gets the open connections in JBoss so they can be closed, and so avoid leaks in the situation where I kill a thread that still has connections opened. I'm using JBoss 4.2.3.
Thanks for your help.