My mistake. I had a function which wasn't closing connection. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990123#3990123 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990123