Is it possible that you did not close connections in your code?
You can add either debug or error to the JCA subsystem to see log or error if JBoss detect such.
<cached-connection-manager [debug="true"] [error="true"]/>
Also you can track the statements in the datasource by using the <track-statements> element
AFAIK in AS4 this property was set by default.