1 Reply Latest reply on Sep 16, 2017 12:16 PM by Claudio Miranda

    WildFly 10.3 domain mode - Issue with data source

    Srikanth Bayyannagari Newbie

      Please help me on resolving this issue. I tried to place the web.xml file with

       

        <resource-ref>

        <res-ref-name>java:jboss/datasources/genesisDS</res-ref-name>

        <res-type>javax.sql.DataSource</res-type>

        <res-auth>Container</res-auth>

      </resource-ref>

       

      but stil facing below issue :   

      [Server:server-one] 04:56:58,465 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 71) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "xx-data-services.war")]) - failure description: {

      [Server:server-one]     "WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.ConfigDatabase"],

      [Server:server-one]     "WFLYCTL0180: Services with missing/unavailable dependencies" => [

      [Server:server-one]         "jboss.persistenceunit.\"xx-data-services.war#genesisDS\" is missing [jboss.naming.context.java.ConfigDatabase]",

      [Server:server-one]         "jboss.persistenceunit.\"xx-data-services.war#genesisDS\".__FIRST_PHASE__ is missing [jboss.naming.context.java.ConfigDatabase]"

      [Server:server-one]     ]

      [Server:server-one] }

      [Server:server-one] 04:56:58,465 ERROR [org.jboss.as.server] (ServerService Thread Pool -- 71) WFLYSRV0021: Deploy of deployment "xx-data-services.war" was rolled back with the following failure message:

      [Server:server-one] {

      [Server:server-one]     "WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.genesisConfigDatabase"],

      [Server:server-one]     "WFLYCTL0180: Services with missing/unavailable dependencies" => [

      [Server:server-one]         "jboss.persistenceunit.\"xx-data-services.war#genesisDS\" is missing [jboss.naming.context.java.genesisConfigDatabase]",

      [Server:server-one]         "jboss.persistenceunit.\"xx-data-services.war#genesisDS\".__FIRST_PHASE__ is missing [jboss.naming.context.java.genesisConfigDatabase]"

      [Server:server-one]     ]