Getting exceptions while registering the jdbc driver through cli command.
Issue
-
The domain controller is running on 10.10.10.10 and the slave-controller is running on 20.20.20.20.
The "Testing_jdbc_dirver" is the server group of "ha" profile and it has the server - "test_server" which is running on slave-controller.The jdbc-driver module "oracle.jdbc" is only present on domain-controller not on the slave-controller. -
Then try to invoke the following cli command to register the driver.
[domain@10.10.10.10:9999 /] /profile=ha/subsystem=datasources/jdbc-driver=oracleone:add(driver-name="oracleone",driver-module-name="oracle.jdbc",driver-xa-datasource-class-name="oracle.jdbc.xa.client.OracleXADataSource")
{
"outcome" => "failed",
"result" => undefined,
"failure-description" => "JBAS010839: Operation failed or was rolled back on all servers.",
"rolled-back" => true,
"server-groups" => {"Testing_jdbc_dirver" => {"host" => {"indra" => {"test_server" => {"response" => {
"outcome" => "failed",
"result" => undefined,
"failure-description" => "JBAS010441: Failed to load module for driver [oracle.jdbc]",
"rolled-back" => true
}}}}}}
}
- During the startup on the slave host of the domain, I can see this error:
[Server:test_server] 11:42:03,779 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 50) JBAS014613: Operation ("add") failed - address: ([
[Server:test_server] ("subsystem" => "datasources"),
[Server:test_server] ("jdbc-driver" => "oracleone")
[Server:test_server] ]) - failure description: "JBAS010441: Failed to load module for driver [oracle.jdbc]"
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
