Details
-
Bug
-
Resolution: Done
-
Major
-
7.0.0.CR1
-
None
Description
I want to add a jdbc driver to a profile. The driver has been uploaded to /deployment
[domain@localhost:9999 subsystem=datasources] pwd
/profile=default/subsystem=datasources
[domain@localhost:9999 subsystem=datasources] ./jdbc-driver=postgres9:add(driver-name=postgres9,deployment-name=postgresql-9.0-801.jdbc4.jar,driver-class-name=org.postgresql.Driver)
{
"outcome" => "failed",
"failure-description" =>
,
"rolled-back" => true
}
Documentation says:
[domain@localhost:9999 jdbc-driver=h2] :read-operation-description(name=add)
{
"outcome" => "success",
"result" => {
"operation-name" => "add",
"description" => "Adds a new JDBC driver service",
"attributes" => {
"driver-name" =>
,
"deployment-name" =>
,
"driver-module-name" =>
,
"module-slot" =>
,
"driver-class-name" =>
,
"driver-major-version" =>
,
"driver-minor-version" =>
,
"jdbc-compliant" =>
}
}
}
Here, only the driver-name is required.
For driver-module-name it says "if loaded from module", which I read as "optional".
Obviously from above error message, this is not optional