<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I have the same problem with H2<br><br>C:\wildfly\bin&gt;jboss-cli.bat --file=C:\unifiedpush\databases\h2-database-config.<br>cli<br>The batch failed with the following error (you are remaining in the batch editin<br>g mode to have a chance to correct the error): {"JBAS014653: Composite operation<br>&nbsp;failed and was rolled back. Steps that failed:" =&gt; {"Operation step-1" =&gt; "JBAS<br>014803: Duplicate resource [<br>&nbsp;&nbsp;&nbsp; (\"subsystem\" =&gt; \"datasources\"),<br>&nbsp;&nbsp;&nbsp; (\"data-source\" =&gt; \"UnifiedPushDS\")<br>]"}}<br><br><div>&gt; Date: Thu, 27 Mar 2014 14:06:36 +0100<br>&gt; From: kpiwko@redhat.com<br>&gt; To: aerogear-dev@lists.jboss.org<br>&gt; Subject: Re: [aerogear-dev] unifiedpush server with mysql<br>&gt; <br>&gt; Hi,<br>&gt; <br>&gt; you're missing MySQL driver on server classpath. Datasource expects it is<br>&gt; installed as JBoss/WF module:<br>&gt; <br>&gt; I'm not aware of better tutorial but you can follow these steps:<br>&gt; <br>&gt; 1/ You can get module scafold from here:<br>&gt; https://github.com/aerogear/aerogear-unifiedpush-server/tree/master/databases/src/main/resources/modules/<br>&gt; <br>&gt; 2/ Get mysql-connector-java-5.1.18.jar file and put it into com/mysql/jdbc/main<br>&gt; <br>&gt; 3/ Copy whole module to AS7/WF modules directory (you just need the one<br>&gt; starting with com, org is for postgres)<br>&gt; <br>&gt; HTH,<br>&gt; <br>&gt; Karel<br>&gt; <br>&gt; <br>&gt; On Thu, 27 Mar 2014 07:52:35 -0500<br>&gt; Willy Martin Aguirre Rodriguez &lt;marti1003@hotmail.com&gt; wrote:<br>&gt; <br>&gt; &gt; I am trying to run unifiedpush server with mysql but I have some problem with<br>&gt; &gt; datasource<br>&gt; &gt; <br>&gt; &gt; https://github.com/aerogear/aerogear-unifiedpush-server#mysql-database-configuration<br>&gt; &gt; <br>&gt; &gt; I get errors when I try to run<br>&gt; &gt; <br>&gt; &gt; /Path/to/JBossAS/bin/jboss-cli.sh --file=./databases/mysql-database-config.cli<br>&gt; &gt; <br>&gt; &gt; I added datasource config  https://gist.github.com/marti1125/9806765<br>&gt; &gt; <br>&gt; &gt; but I have this problem<br>&gt; &gt; <br>&gt; &gt; 07:36:19,418 ERROR [org.jboss.as.controller.management-operation] (Controller<br>&gt; &gt; Bo ot Thread) JBAS014613: Operation ("add") failed - address: ([<br>&gt; &gt;     ("subsystem" =&gt; "datasources"),<br>&gt; &gt;     ("data-source" =&gt; "UnifiedPushDS")<br>&gt; &gt; ]) - failure description: {<br>&gt; &gt;     "JBAS014771: Services with missing/unavailable dependencies" =&gt; [<br>&gt; &gt;         "jboss.driver-demander.java:jboss/datasources/UnifiedPushDS is<br>&gt; &gt; missing [ jboss.jdbc-driver.com_mysql_jdbc_Driver]",<br>&gt; &gt;         "jboss.data-source.java:jboss/datasources/UnifiedPushDS is missing<br>&gt; &gt; [jbos s.jdbc-driver.com_mysql_jdbc_Driver]"<br>&gt; &gt;                                                <br>&gt; _______________________________________________<br>&gt; aerogear-dev mailing list<br>&gt; aerogear-dev@lists.jboss.org<br>&gt; https://lists.jboss.org/mailman/listinfo/aerogear-dev<br></div>                                               </div></body>
</html>