This week's book giveaway is in the Web Services forum.
We're giving away four copies of Microservices in Action and have Morgan Bruce & Paulo A. Pereira on-line!
See this thread for details.
Win a copy of Microservices in Action this week in the Web Services forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

wildfly 14 : Services with missing/unavailable dependencies  RSS feed

Posts: 3
Java Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to wildfly and jpa.

I'm used eclipselink version 2.7.3 for library

when I deploying my ear file's I'm getting this error:

      "WFLYCTL0412: Required services that are not installed:" =>   [""],
     "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.persistenceunit.\"EnterpriseSPIN-ear.ear#digisignPU\" is missing    []"]

my persistence xml

     <?xml version="1.0" encoding="UTF-8"?>
     <persistence version="2.0" xmlns="" xmlns:xsi="" xsi:schemaLocation="">
       <persistence-unit name="digisignPU" transaction-type="JTA">
         <property name="" value="JBoss"/>
         <property name="" value="PostgreSQL"/>
         <property name="eclipselink.deploy-on-startup" value="true"/>
         <property name="eclipselink.jdbc.user" value="someuser"/>
         <property name="eclipselink.jdbc.password" value="somepassword"/>
         <property name="eclipselink.jdbc.driver" value="org.postgresql.Driver"/>
         <property name="eclipselink.jdbc.url" value="jdbc:postgresql://"/>
         <property name="eclipselink.ddl-generation" value="none"/>

my standalone xml

               <datasource jta="true" jndi-name="java:jboss/datasources/digisign" pool-name="digisign" enabled="true" use-java-context="true">
                   <driver name="postgresql" module="org.postgresql">
this my postgresql module xml

   <?xml version="1.0" encoding="UTF-8"?>
    <module xmlns="urn:jboss:module:1.3" name="org.postgresql">
       <resource-root path="postgresql-42.2.2.jar"/>
   <module name="javax.api"/>
   <module name="javax.transaction.api"/>

and this my eclipselink persistence module xml

   <module name="org.eclipse.persistence" xmlns="urn:jboss:module:1.5">
       <property name="jboss.api" value="public"/>

       <resource-root path="jipijapa-eclipselink-14.0.1.Final.jar"/>
       <resource-root path="eclipselink.jar">
               <exclude path="javax/**"/>
       <module name="asm.asm"/>
       <module name="javax.api"/>
       <module name="javax.annotation.api"/>
       <module name="javax.enterprise.api"/>
       <module name="javax.persistence.api"/>
       <module name="javax.transaction.api"/>
       <module name="javax.validation.api"/>
       <module name="javax.xml.bind.api"/>
       <module name=""/>
       <module name="org.antlr"/>
       <module name="org.apache.commons.collections"/>
       <module name="org.dom4j"/>
       <module name=""/>
       <module name="org.jboss.logging"/>
       <module name="org.jboss.vfs"/>

I have tried it many times but I've been unsuccessful. Please help!
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!