Your code is wrong. If either setExceptionListener() or session.close() fails (throws an exception), you bypass connection.close().
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862489#3862489 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862489 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user