It sounds like the connection is timing out. Could you post the stacktrace when you run it on EAP 5.x.
What happens if you extend the transaction timeout period (it defaults to 300 seconds). You can change the default via jbossts-properties.xml
Reply to this message by going to Community
Start a new discussion in JBoss Transactions Development at Community