<div dir="ltr">Hi,<div><br></div><div>(assuiming you are using JBoss AS 7.1.1);</div><div><br></div><div>It looks like you are  missing the JBDC driver. Did you deploy the module:</div><div><br></div><div>cp -r databases/src/main/resources/modules/com /Path/to/JBossAS/modules/<br>
</div><div><div><br></div><div><br></div><div>and the actual JAR file (of the JDBC driver) ? </div><div>mvn dependency:copy -Dartifact=mysql:mysql-connector-java:5.1.18 -DoutputDirectory=/Path/to/JBossAS/modules/com/mysql/jdbc/main/<br>
</div><div><br></div><div>(Oh, just in case.... for WildFly the script is _slightly_ different - not yet there)</div><div><br></div><div><br></div><div>In any case, for simple starters, I&#39;d highly recommend using the H2 database. Simply copy the DS-XML file into $JBOSS (or $WILDFLY) /standalone/deployments<br>
</div><div>(yes - that works w/ WildFly as well - as is, no modification needed)</div><div><br></div><div>Greetings,</div><div>Matthias</div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Mar 27, 2014 at 1:52 PM, Willy Martin Aguirre Rodriguez <span dir="ltr">&lt;<a href="mailto:marti1003@hotmail.com" target="_blank">marti1003@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div dir="ltr">I am trying to run unifiedpush server with mysql but I have some problem with datasource<br><br><a href="https://github.com/aerogear/aerogear-unifiedpush-server#mysql-database-configuration" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server#mysql-database-configuration</a><br>
<br>I get errors when I try to run<code><br><br>/Path/to/JBossAS/bin/jboss-cli.sh --file=./databases/mysql-database-config.cli</code><br><br>I added datasource config  <a href="https://gist.github.com/marti1125/9806765" target="_blank">https://gist.github.com/marti1125/9806765</a><br>
<br>but I have this problem<br><br>07:36:19,418 ERROR [org.jboss.as.controller.management-operation] (Controller Bo<br>ot Thread) JBAS014613: Operation (&quot;add&quot;) failed - address: ([<br>    (&quot;subsystem&quot; =&gt; &quot;datasources&quot;),<br>
    (&quot;data-source&quot; =&gt; &quot;UnifiedPushDS&quot;)<br>]) - failure description: {<br>    &quot;JBAS014771: Services with missing/unavailable dependencies&quot; =&gt; [<br>        &quot;jboss.driver-demander.java:jboss/datasources/UnifiedPushDS is missing [<br>
jboss.jdbc-driver.com_mysql_jdbc_Driver]&quot;,<br>        &quot;jboss.data-source.java:jboss/datasources/UnifiedPushDS is missing [jbos<br>s.jdbc-driver.com_mysql_jdbc_Driver]&quot;<br>                                               </div></div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br>
<br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div>