5 Replies Latest reply on Mar 18, 2013 12:49 PM by Nicklas Karlsson

    Regarding creating a custom module

    Vismay h Newbie


      I have created a custom module  with module name="web.xyz".


      I want to reference this module in one of my SAR file..  I mean my  MBean classes are in one of the jar file present in "web.xyz" module.

      how do I make these classes vissible to SAR file ?  I have added following dependency in jboss-deployment-structure.xml but still I do get ClassNotFoundException.


      <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">



                                          <module name="org.jboss.common-core"  />

           <module name="web.xyz" />







      Please help me how can I achive this?  I can package those classes into SAR file itself but I am thinking is there anyway to achive this by using modules.

      do I have to add some attribut like  export="true"  anywhere?