This week's giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Production-Ready Serverless (Operational Best Practices) and have Yan Cui on-line!
See this thread for details.
Win a copy of Production-Ready Serverless (Operational Best Practices) this week in the Cloud/Virtualization 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
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

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!
We're all out of roofs. But we still have tiny ads:
global solutions you can do at home or in your backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!