In JBoss AS 7.1 I tried creating a module for all the jar files needed by my applications but was unsuccessful.
I created the module.xml and jboss-deployment-structure.xml, but after trying everything again and again I was unnable to make it work.
But if I place my jar files in JBOSS_HOME\modules\com\sun\jsf-impl\main and add my jar to the local module.xml file everything works fine, even if I remove the jboss-deployment-structure.xml from my project.
What can be causing this? Is this a bug in JBoss 7.1? Because I really need to create independent modules for some of my jars