Application fails to deploy with WFLYCTL0412 / WFLYCTL0180 jboss.naming.context.java.jboss.datasources... in JBoss EAP 7

Solution Unverified - Updated -

Issue

We are trying to deploy a JPA application using the Web Console and it is failing and displaying this error in the console:

Cannot upload deployment: {"WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.jboss.datasources.Hibernate5QuickstartDS"],
 "WFLYCTL0180: Services with missing/unavailable dependencies" =>
 ["jboss.persistenceunit.\"hibernate5.war#primary\".__FIRST_PHASE__ is missing [jboss.naming.context.java.jboss.datasources.Hibernate5QuickstartDS]",
 "jboss.persistenceunit.\"hibernate5.war#primary\" is missing [jboss.naming.context.java.jboss.datasources.Hibernate5QuickstartDS]"]}

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 7.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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.