I'm having exactly the same issue as Ola Hamfors above. My setup is almost identical to his, and I'm also using JBoss EAP 5.0.0GA. jaikiran pai's "solution" number 2) of changing the classloader in onMessage() solved the problem. Is there a proper solution for this, or is it a JBoss bug?