"JBAS015970: Defer FIRST_MODULE_USE" message and "FIRST_MODULE_USE is missing" error deploying application on EAP 6

Solution Unverified - Updated -

Issue

We are testing the upgrade of EAP from version 6.0 to 6.1.1 and the following error about missing dependencies has been encountered:

INFO |[org.jboss.as.server.deployment]|(ThreadId: MSC service thread 1-1)|JBAS015970: Defer FIRST_MODULE_USE for myapp.ear making it LAZY|#]
INFO |[org.jboss.as.server.deployment]|(ThreadId: MSC service thread 1-2)|JBAS015970: Defer FIRST_MODULE_USE for mywebapp.war making it PASSIVE|#]
INFO |[org.jboss.as.server.deployment]|(ThreadId: MSC service thread 1-3)|JBAS015970: Defer FIRST_MODULE_USE for jackson-core-asl-1.9.9-redhat-2.jar making it PASSIVE|#]
INFO |[org.jboss.as.server.deployment]|(ThreadId: MSC service thread 1-4)|JBAS015970: Defer FIRST_MODULE_USE for jackson-mapper-asl-1.9.9-redhat-2.jar making it PASSIVE|#]
ERROR|[org.jboss.as.server]|(ThreadId: host-controller-connection-threads - 1)|JBAS015870: Deploy of deployment "myapp.ear" was rolled back with the following failure message: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"myapp.ear\".FIRST_MODULE_USE is missing [jboss.module.spec.service.\"deployment.myapp.ear.jackson-core-asl-1.9.9-redhat-2.jar\".main, jboss.module.spec.service.\"deployment.myapp.ear.jackson-mapper-asl-1.9.9-redhat-2.jar\".main]"]}|#]

Environment

  • JBoss Enterprise Application Platform (EAP) 6.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content