7 Replies Latest reply on Mar 15, 2013 3:01 AM by Benjamin PREVOT

    CDI producer in module

    Benjamin PREVOT Newbie



      I am testing JBoss EAP 6.1.0.Alpha (on Windows 7 with JDK 1.6.0_24).


      In particular, I would like to have CDI producer in module.


      I have found this issue : https://issues.jboss.org/browse/AS7-4567


      It seems this feature is available in this version.


      But I cannot get it work and still get the exception WELD-001408 Unsatisfied dependencies for type...


      I have tested with an EAR containing a single EJB library (for Web Service).


      The module is correctly defined as the classes are found (and I declared it as global module in my standalone.xml file).


      I have added the Dependencies attribute in the MANIFEST.MF file and added jboss-deployment-structure.xml in META-INF.


      <?xml version="1.0" encoding="UTF-8"?>




                  <module name="my.module" />





      Is there some other configuration?