0 Replies Latest reply on Feb 16, 2017 8:58 AM by Shashikala G

    WFLYEE0042: Failed to construct component instance

    Shashikala G Newbie

      Hi All,

      I am getting  WFLYEE0042: Failed to construct component instance while sending a message in wildfly 10.1.0 Final.

      In server log "failed to resolve resource uk.co.tui.ejb.webservice.Cyrus7WebServiceImpl/connFact"

      ConnectionFactory is NULL.


      In my WebServiceImpl class

      /** The conn fact. */

         @Resource(lookup = "java:/ConnectionFactory")

         private static ConnectionFactory  connFact;



         public void init()




               Connection conn = connFact.createConnection();

               session = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);


      catch (JMSException ex)




      When i am trying to print the connFact in my log i am getting NULL.

      Please find the attached standalone-full.xml configuration file.