I have below configurations but still i see error.
standalone.xml:
<driver name="oracle" module="com.oracle.jdbc">
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
</driver>
<subsystem xmlns="urn:jboss:domain:ee:4.0">
<global-modules>
<module name="com.oracle.ojdbc" slot="main"/>
</global-modules>
</subsystem>
I have module.xml in C:\wildfly-10.1.0.Final\wildfly-10.1.0.Final\modules\system\layers\base\com\oracle\main
module.xml:
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.1" name="com.oracle.ojdbc">
<resources>
<resource-root path="ojdbc8.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
<module name="javax.transaction.api"/>
</dependencies>
</module>
I am getting below error
"WFLYCTL0080: Failed services" => {"jboss.module.service.\"deployment.pqrWeb-1.29.0-SNAPSHOT.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.pqrWeb-1.29.0-SNAPSHOT.war\".main: WFLYSRV0179: Failed to load module: deployment.pqrWeb-1.29.0-SNAPSHOT.war:main
Caused by: org.jboss.modules.ModuleNotFoundException: com.oracle.ojdbc:main"},
"WFLYCTL0412: Required services that are not installed:" => ["jboss.module.service.\"deployment.pqrWeb-1.29.0-SNAPSHOT.war\".main"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined,
"WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {
"Services that were unable to start:" => ["jboss.deployment.unit.\"pqrWeb-1.29.0-SNAPSHOT.war\".FIRST_MODULE_USE"],
"Services that may be the cause:" => ["jboss.jdbc-driver.oracle"]
}
Please help me.