1 Reply Latest reply on Mar 25, 2019 8:34 AM by simkam

    Wildfly Oracle connection error

    dabhijit2005

      Hello All,

      I am trying to connect wildfly to oracle instance.

      I have attached module.xml from C:\applications\wildfly-16.0.0.Final\modules\system\layers\base\com\oracle\main

      and standalone.xml file

      2019-03-23 13:56:59,610 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([

          ("subsystem" => "datasources"),

          ("data-source" => "DBVFAFACILITY")

      ]) - failure description: {

          "WFLYCTL0412: Required services that are not installed:" => ["jboss.jdbc-driver.oracle"],

          "WFLYCTL0180: Services with missing/unavailable dependencies" => [

              "org.wildfly.data-source.DBVFAFACILITY is missing [jboss.jdbc-driver.oracle]",

              "jboss.driver-demander.java:jboss/datasources/DBVFAFACILITY is missing [jboss.jdbc-driver.oracle]"

          ]

      }

      2019-03-23 13:56:59,611 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([

          ("subsystem" => "datasources"),

          ("data-source" => "DBVFAFACILITY")

      ]) - failure description: {

          "WFLYCTL0412: Required services that are not installed:" => [

              "jboss.jdbc-driver.oracle",

              "jboss.jdbc-driver.oracle"

          ],

          "WFLYCTL0180: Services with missing/unavailable dependencies" => [

              "org.wildfly.data-source.DBVFAFACILITY is missing [jboss.jdbc-driver.oracle]",

              "jboss.driver-demander.java:jboss/datasources/DBVFAFACILITY is missing [jboss.jdbc-driver.oracle]",

              "org.wildfly.data-source.DBVFAFACILITY is missing [jboss.jdbc-driver.oracle]"

          ]

      }

      2019-03-23 13:56:59,658 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report

      WFLYCTL0184:    New missing/unsatisfied dependencies:

            service jboss.jdbc-driver.oracle (missing) dependents: [service jboss.driver-demander.java:jboss/datasources/DBVFAFACILITY, service org.wildfly.data-source.DBVFAFACILITY]

      WFLYCTL0448: 2 additional services are down due to their dependencies being missing or failed

      2019-03-23 13:56:59,717 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server

      2019-03-23 13:56:59,719 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management

      2019-03-23 13:56:59,719 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990

      2019-03-23 13:56:59,723 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 16.0.0.Final (WildFly Core 8.0.0.Final) started (with errors) in 4424ms - Started 298 of 529 services (4 services failed or missing dependencies, 324 services are lazy, passive or on-demand)

        • 1. Re: Wildfly Oracle connection error
          simkam

          Hi,

           

          it looks like module path doesn't correspond to module name. Your module is called "com.oracle.jdbc" but it is on "modules\system\layers\base\com\oracle\main". So it should be on modules\system\layers\base\com\oracle\jdbc\main.

           

          You can also skip "system\layers\base" and use just "modules\com\oracle\jdbc\main" for custom modules.