JCR-2180 : Make the JCA Resource Adapter work on JBoss AS 7