WildFly DB Connection Error
I am getting the following error when trying to connect to a database using WildFly. Looks like I am not configuring something right in standalone.xml file. Here is the error I am getting
09:31:22,987 INFO [org.jboss.ws.common.management] (MSC service thread 1-4) JBWS022052: Starting JBossWS 5.4.2.Final (Apache CXF 3.3.7)
09:31:23,908 INFO [org.infinispan.CONTAINER] (ServerService Thread Pool — 78) ISPN000128: Infinispan version: Infinispan ‘Corona Extra’ 11.0.4.Final
09:31:23,962 INFO [org.infinispan.CONFIG] (MSC service thread 1-7) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
09:31:23,963 INFO [org.infinispan.CONFIG] (MSC service thread 1-7) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
09:31:24,045 INFO [org.infinispan.PERSISTENCE] (ServerService Thread Pool — 78) ISPN000556: Starting user marshaller ‘org.wildfly.clustering.infinispan.spi.marshalling.InfinispanProtoStreamMarshaller’
09:31:24,239 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool — 78) WFLYCLINF0002: Started http-remoting-connector cache from ejb container
09:31:24,282 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation (“add”) failed – address: ([
(“subsystem” => “datasources”),
(“data-source” => “OracleNprdDS”)
]) – failure description: {
“WFLYCTL0412: Required services that are not installed:” => [“jboss.jdbc-driver.oracleojdbc8”],
“WFLYCTL0180: Services with missing/unavailable dependencies” => [
“org.wildfly.data-source.OracleNprdDS is missing [jboss.jdbc-driver.oracleojdbc8]”,
“jboss.driver-demander.java:/jboss/datasources/OracleNprdDS is missing [jboss.jdbc-driver.oracleojdbc8]”
]
}
09:31:24,371 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation (“add”) failed – address: ([
(“subsystem” => “datasources”),
(“data-source” => “OracleNprdDS”)
]) – failure description: {
“WFLYCTL0412: Required services that are not installed:” => [
“jboss.jdbc-driver.oracleojdbc8”,
“jboss.jdbc-driver.oracleojdbc8”
],
“WFLYCTL0180: Services with missing/unavailable dependencies” => [
“org.wildfly.data-source.OracleNprdDS is missing [jboss.jdbc-driver.oracleojdbc8]”,
“jboss.driver-demander.java:/jboss/datasources/OracleNprdDS is missing [jboss.jdbc-driver.oracleojdbc8]”,
“org.wildfly.data-source.OracleNprdDS is missing [jboss.jdbc-driver.oracleojdbc8]”
]
}
09:31:24,390 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed “myapp_ejb-0.0.1-myappSHOT.jar” (runtime-name : “myapp_ejb-0.0.1-myappSHOT.jar”)
09:31:24,391 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed “myapp_ejbClient-0.0.1-myappSHOT.jar” (runtime-name : “myapp_ejbClient-0.0.1-myappSHOT.jar”)
09:31:24,391 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed “myapp_jpa-0.0.1-myappSHOT.jar” (runtime-name : “myapp_jpa-0.0.1-myappSHOT.jar”)
09:31:24,396 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0184: New missing/unsatisfied dependencies:
service jboss.jdbc-driver.oracleojdbc8 (missing) dependents: [service jboss.driver-demander.java:/jboss/datasources/OracleNprdDS, service org.wildfly.data-source.OracleNprdDS]
WFLYCTL0448: 6 additional services are down due to their dependencies being missing or failed
My standalone.xml looks like this..
The erro I am getting looks like its coming from not configuring it correctly. Hope someone can help.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more