Please see the following sequence of commands. It seems that the driver is created, also the second operation returns a "failed" status.

[localhost:9999 /] /profile=default/subsystem=datasources/jdbc-driver=hypersonic:add(driver="com.h2database.h2")
{
    "outcome" => "failed",
    "result" => {"server-groups" => {"main-server-group" => {
        "server-one" => {
            "host" => "local",
            "response" => {
                "outcome" => "failed",
                "failure-description" => "org.jboss.msc.service.DuplicateServiceException: Service jboss.jdbc-driver.\"org.h2.Driver\".1.2 is already registered"
            }
        },
        "server-two" => {
            "host" => "local",
            "response" => {
                "outcome" => "failed",
                "failure-description" => "org.jboss.msc.service.DuplicateServiceException: Service jboss.jdbc-driver.\"org.h2.Driver\".1.2 is already registered"
            }
        }
    }}},
    "failure-description" => "Operation was not applied successfully to any servers"
}


[localhost:9999 /] /profile=default/subsystem=datasources/jdbc-driver=hypersonic:add(driver="hypersonic-jdbc-driver")
{
    "outcome" => "failed",
    "result" => {"domain-failure-description" => [("java.lang.IllegalStateException" => "Resource at address [
    (\"profile\" => \"default\"),
    (\"subsystem\" => \"datasources\"),
    (\"jdbc-driver\" => \"hypersonic\")
] already exists")]}
}


[localhost:9999 /] /profile=default/subsystem=datasources:read-children-names(child-type=jdbc-driver)
{
    "outcome" => "success",
    "result" => [
        "com.h2database.h2",
        "hypersonic"
    ],
    "compensating-operation" => undefined
}