<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div><br></div><div>Please see the following sequence of commands. It seems that the driver is created, also the second operation returns a "failed" status.</div><div><br></div><div><div>[localhost:9999 /] <b>/profile=default/subsystem=datasources/jdbc-driver=hypersonic:add(driver="com.h2database.h2")</b></div><div>{</div><div> "outcome" => "<b>failed</b>",</div><div> "result" => {"server-groups" => {"main-server-group" => {</div><div> "server-one" => {</div><div> "host" => "local",</div><div> "response" => {</div><div> "outcome" => "failed",</div><div> "failure-description" => "org.jboss.msc.service.DuplicateServiceException: Service jboss.jdbc-driver.\"org.h2.Driver\".1.2 is already registered"</div><div> }</div><div> },</div><div> "server-two" => {</div><div> "host" => "local",</div><div> "response" => {</div><div> "outcome" => "failed",</div><div> "failure-description" => "org.jboss.msc.service.DuplicateServiceException: Service jboss.jdbc-driver.\"org.h2.Driver\".1.2 is already registered"</div><div> }</div><div> }</div><div> }}},</div><div> "failure-description" => "Operation was not applied successfully to any servers"</div><div>}</div><div><br></div><div><br></div><div>[localhost:9999 /]<b> /profile=default/subsystem=datasources/jdbc-driver=hypersonic:add(driver="hypersonic-jdbc-driver")</b></div><div>{</div><div> "outcome" => "<b>failed</b>",</div><div> "result" => {"domain-failure-description" => [("java.lang.IllegalStateException" => "Resource at address [</div><div> (\"profile\" => \"default\"),</div><div> (\"subsystem\" => \"datasources\"),</div><div> (\"jdbc-driver\" => \"hypersonic\")</div><div>] already exists")]}</div><div>}</div><div><br></div><div><br></div><div>[localhost:9999 /] /<b>profile=default/subsystem=datasources:read-children-names(child-type=jdbc-driver)</b></div><div>{</div><div> "outcome" => "<b>success</b>",</div><div> "result" => [</div><div> "com.h2database.h2",</div><div> "<b>hypersonic</b>"</div><div> ],</div><div> "compensating-operation" => undefined</div><div>}</div></div><div><br></div></body></html>