1 2 Previous Next 16 Replies Latest reply on Sep 9, 2011 2:41 AM by Aslak Knutsen

    Arquillian + JBoss AS 4.2.3 + Weld

    Aliaksei Lahachou Newbie

      Hello World!

       

      I tried to use a combination of Arquillian, JBoss AS 4.2.3 and Weld Servlet, but objects are not injected, the fields stay null.

       

      Weld Servlet listener is registered in deployed package and I see in JBoss AS log that it initializes and scans the classes.  As far as I understand, Arquillian uses a servlet to run tests, so it should be able to use CDI injection. It this scenario supported? I think it is nice to have such support for JBoss 4.2 or Tomcat.

       

      I can create a test project if you like.

        1 2 Previous Next