I've run into exactly the same problem than you and I am quite desperate.
My code used to work perfectly in a standard java application, then I moved it to a web Application using WildFly 8 as the app server. The error stack I get is identical to the one you got. Could you have fixed this problem? Anyone can help us?
Thanks!