<div dir="ltr">Done!<div><br></div><div>Now before be able to use the UnifiedPush Server, you need to install a DataSource inside of your JBoss AS, like described here:</div><div><br></div><div><a href="https://github.com/aerogear/aerogear-unifiedpush-server#h2-database-configuration">https://github.com/aerogear/aerogear-unifiedpush-server#h2-database-configuration</a><br>
</div><div><br></div><div><br></div><div>Howtos for other Databases (e.g. Maria/MySQL) will follow</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 10, 2013 at 11:36 AM, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>for [1] I thought about adding a CLI script that cover the H2 Database settings, similar to what we specified in the XML configuration file ([2]).</div>
<div><br></div><div>The benefit of this is, that the same branch can be used without any issue on the OpenShift cartridge.</div>
<div><br></div><div>Also, if folks prefer a different database (e.g. MariaDB), they can modify the script in order to &quot;patch&quot; the JBoss&#39; standalone.xml file.</div><div><br></div><div>Another thought would be adding at least two scripts:</div>

<div>* H2 (file storage to ~/unifiedPush)</div><div>* MariaDB/Mysql</div><div><br></div><div>Any thoughts ?</div><div><br></div><div>[1] <a href="https://issues.jboss.org/browse/AGPUSH-275" target="_blank">https://issues.jboss.org/browse/AGPUSH-275</a></div>

<div>[2] <a href="https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/src/main/webapp/WEB-INF/h2-ds.xml" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/src/main/webapp/WEB-INF/h2-ds.xml</a><span class="HOEnZb"><font color="#888888"><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>
</font></span></div></div>
</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>