Using @Resource causes error during deployment on JBoss EAP 6.0.1

Solution Verified - Updated -


We have created the EJB (3.1) on JBoss EAP 6.0.1 and after including the following configuration:

  @Resource(mappedName = "ConnectionFactory")
  private static QueueConnectionFactory connectionFactory;

We are getting the following info message during deployment:

16:26:46,325 INFO  [] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775:    New missing/unsatisfied dependencies:
      service (missing) dependents: [service"br.jus.trf1.bnmp.negocio.RoboServiceBean".connectionFactory]

ERROR [] (Controller Boot Thread) JBAS015875: JBoss EAP 6.0.0.GA (AS 7.1.2.Final-redhat-1) started (with errors) in 12611ms - Started 136 of 276 services (3 services failed or missing dependencies, 136 services are passive or on-demand

Is there anything wrong with my configuration ?


  • JBoss Enterprise Application Platform (EAP) 6.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In