title: Share same wildfly module between multiple war's and jar's
body: <p>I want share same wildfly module between multiple war's and jar's .
  I have org.json module which I have added as an dependencies in A.war's manifest.mf file and B.jar's manifest file but when I invoke it I get below exception.It tries to load it twice</p>
  
  <pre><code>Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/modules/ModuleClassLoader) previously initiated loading for a different type with name "org/json/JSONObject"
  </code></pre>
  
  <p>Update:
  I have deployed A.war and B.jar(my ejb jar) on wildfly server</p>