Calls to Connection.close() don't necessarily close the connection. Rather, they return the connection to the connection pool, and JBoss determines when to release those connections. However, it seems curious that you are running out of connections. I assume your current testing is starting and stopping a single instance of your client?? Also, Please paste your ???-ds.xml so we can have a better idea of what your configuration is.
Correct, I'm testing the client app via Eclipse which (I believe) only creates one instance of the client at a time. The XML config file is pretty simple. I've attached a copy.
Thanks for your help!
I noticed the XML "password" tags were stripped from the previous post. They do exist in the XML config file.