<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><br></div><div><div><br></div><div><div>[localhost:9999 /]&nbsp;/profile=default/subsystem=datasources/jdbc-driver=<b>driver-name</b>:add(driver="<b>driver-parameter</b>") &nbsp; &nbsp;&nbsp;</div><div>{</div><div>&nbsp;&nbsp; &nbsp;"outcome" =&gt; "failed",</div><div>&nbsp;&nbsp; &nbsp;"result" =&gt; {"server-groups" =&gt; {"main-server-group" =&gt; {</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;"server-one" =&gt; {</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"host" =&gt; "local",</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"response" =&gt; {</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"outcome" =&gt; "failed",</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"failure-description" =&gt; "<b>Failed to load module for driver [driver-parameter]"</b></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;},</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;"server-two" =&gt; {</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"host" =&gt; "local",</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"response" =&gt; {</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"outcome" =&gt; "failed",</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"failure-description" =&gt; "Failed to load module for driver [driver-parameter]"</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</div><div>&nbsp;&nbsp; &nbsp;}}},</div><div>&nbsp;&nbsp; &nbsp;"failure-description" =&gt; "Operation was not applied successfully to any servers"</div><div>}</div></div></div><div><br></div><div><br></div><br><div><div>On Apr 7, 2011, at 10:13 AM, Heiko Braun wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div 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>&nbsp;&nbsp; &nbsp;"outcome" =&gt; "<b>failed</b>",</div><div>&nbsp;&nbsp; &nbsp;"result" =&gt; {"server-groups" =&gt; {"main-server-group" =&gt; {</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;"server-one" =&gt; {</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"host" =&gt; "local",</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"response" =&gt; {</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"outcome" =&gt; "failed",</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"failure-description" =&gt; "org.jboss.msc.service.DuplicateServiceException: Service jboss.jdbc-driver.\"org.h2.Driver\".1.2 is already registered"</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;},</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;"server-two" =&gt; {</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"host" =&gt; "local",</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"response" =&gt; {</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"outcome" =&gt; "failed",</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"failure-description" =&gt; "org.jboss.msc.service.DuplicateServiceException: Service jboss.jdbc-driver.\"org.h2.Driver\".1.2 is already registered"</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</div><div>&nbsp;&nbsp; &nbsp;}}},</div><div>&nbsp;&nbsp; &nbsp;"failure-description" =&gt; "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>&nbsp;&nbsp; &nbsp;"outcome" =&gt; "<b>failed</b>",</div><div>&nbsp;&nbsp; &nbsp;"result" =&gt; {"domain-failure-description" =&gt; [("java.lang.IllegalStateException" =&gt; "Resource at address [</div><div>&nbsp;&nbsp; &nbsp;(\"profile\" =&gt; \"default\"),</div><div>&nbsp;&nbsp; &nbsp;(\"subsystem\" =&gt; \"datasources\"),</div><div>&nbsp;&nbsp; &nbsp;(\"jdbc-driver\" =&gt; \"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>&nbsp;&nbsp; &nbsp;"outcome" =&gt; "<b>success</b>",</div><div>&nbsp;&nbsp; &nbsp;"result" =&gt; [</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;"com.h2database.h2",</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;"<b>hypersonic</b>"</div><div>&nbsp;&nbsp; &nbsp;],</div><div>&nbsp;&nbsp; &nbsp;"compensating-operation" =&gt; undefined</div><div>}</div></div><div><br></div></div>_______________________________________________<br>jboss-as7-dev mailing list<br><a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br></blockquote></div><br></body></html>