Hi,
looking at the hibernate module.xml it has a dependency to 'org.dom4j' . If you want the dom4j.jar from your deployments lib directory to be used you can add an exclusion for the 'org.dom4j' module:
<jboss-deployment-structure>
<deployment>
<exclusions>
<module name="org.jdom4j"/>
</exclusions>
</deployment>
</jboss-deployment-structure>
You can find more information about the jboss-depoyment-structure.xml file in the section "JBoss Deployment Structure File" of the Developer Guide.
Regards,
/Daniel