title: JBoss 7.1.1 Final Jasperreports 4.0.2 as a module
body: <p>I am trying this new class loading feature of JB7, witch sounds pretty good and i want to implement in a new project, but i am kinda stuck at this point... this is what i got:</p>
  
  <pre><code>&lt;module xmlns="urn:jboss:module:1.1" name="net.sourceforge.jasperreports"&gt;
      &lt;resources&gt;
          &lt;resource-root path="commons-javaflow-20060411.jar"/&gt;
          &lt;resource-root path="iText-2.1.0.jar"/&gt;
          &lt;resource-root path="jasperreports-4.0.2.jar"/&gt;
          &lt;resource-root path="jcommon-1.0.15.jar"/&gt;
          &lt;resource-root path="jfreechart-1.0.14.jar"/&gt;
      &lt;/resources&gt;
      &lt;dependencies&gt;
          &lt;module name="javax.api"/&gt;
          &lt;module name="org.apache.commons.beanutils"/&gt;
          &lt;module name="org.apache.commons.collection"/&gt;
          &lt;module name="org.apache.commons.digester" slot="1.7"/&gt;
          &lt;module name="org.apache.commons.logging"/&gt;
      &lt;/dependencies&gt;
  &lt;/module&gt;
  </code></pre>
  
  <p>Without the <code>&lt;module name="org.apache.commons.logging"/&gt;</code> dependency, the trace stack was showing an error of it being missing, even when this particular jar is already being deployed with the application by default, so i took out the jar from the app java libs folder and made a module for it, now my application hangs when the module net.sourceforge.jasperreports is needed, is there something am i missing?</p>
  
  <p>This is the JBoss-deployment-structure if needed:</p>
  
  <pre><code>&lt;jboss-deployment-structure&gt;
      &lt;deployment&gt;
          &lt;dependencies&gt;
              &lt;module name="org.apache.commons.collections"/&gt;
              &lt;module name="org.apache.commons.logging"/&gt;
              &lt;module name="net.sourceforge.jasperreports"/&gt;
              &lt;module name="org.apache.log4j"/&gt;
          &lt;/dependencies&gt;
          &lt;resources&gt;
              &lt;resource-root path="."/&gt;
          &lt;/resources&gt;
      &lt;/deployment&gt;
  &lt;/jboss-deployment-structure&gt;
  </code></pre>
  
  <p>Its a Java EE project deploying as a war.</p>