<div dir="ltr">Hi,<div>We have own fork ... and I sync with "<span class="" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top;color:rgb(89,138,159);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:10.5px;line-height:21px;max-width:780px!important">aerogear</span><span style="color:rgb(51,100,121);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:10.5px;line-height:21px;white-space:nowrap;background-color:rgb(232,240,248)">:</span><span class="" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top;color:rgb(51,100,121);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:10.5px;line-height:21px;max-width:780px!important">master"</span>. Master branch in fork is OK.</div><div>I merge master to second branch. We changed <span style="color:rgb(51,51,51);font-family:Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,'Segoe UI Emoji','Segoe UI Symbol';font-size:13px;line-height:32px;background-color:rgb(247,247,247)">model/jpa/src/main/resources/META-INF/orm.xml file </span>in second branch because we use ORACLE </div><div><span style="color:rgb(51,51,51);font-family:Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,'Segoe UI Emoji','Segoe UI Symbol';font-size:13px;line-height:32px;background-color:rgb(247,247,247)"><b>...</b></span></div><div><span style="background-color:rgb(247,247,247)"><font face="Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, Segoe UI Emoji, Segoe UI Symbol" style><div><div style="color:rgb(51,51,51)"><span style="line-height:32px"><b> <entity class="iOSVariant" access="FIELD"></b></span></div><div style="color:rgb(51,51,51)"><span style="line-height:32px"><b> <discriminator-value>ios</discriminator-value></b></span></div><div style="color:rgb(51,51,51)"><span style="line-height:32px"><b> <attributes></b></span></div><div style="color:rgb(51,51,51)"><span style="line-height:32px"><b> <basic name="certificateData"></b></span></div><div><span style="line-height:32px"><b><font color="#333333"> <column name="cert_data"/> <!--</font><font color="#ff0000">length="100000"/></font><font color="#333333"> BECAUSE ORACLE !!!--></font></b></span></div><div><span style="line-height:32px"><b><font color="#333333"> </font><span class="" style="color:rgb(51,51,51);white-space:pre">                </span><font color="#ff0000"><lob/></font></b></span></div><div style="color:rgb(51,51,51)"><span style="line-height:32px"><b> </basic></b></span></div><div style="color:rgb(51,51,51)"><span style="line-height:32px"><b> </attributes></b></span></div><div style="color:rgb(51,51,51)"><span style="line-height:32px"><b> </entity></b></span></div></div><div style="color:rgb(51,51,51);line-height:32px"><b>...</b></div><div style="color:rgb(51,51,51);line-height:32px"><b>(</b>Second change in orm.xml file was because of Installation class, it was bigger than 4000 -> problem in ORACLE ... but in "aerogear:master" it was removed from orm.xml file<b>)</b></div></font></span><span style="background-color:rgb(247,247,247)"><font face="Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, Segoe UI Emoji, Segoe UI Symbol" style><div style="line-height:32px"><font color="#0000ff">but when ... Run as ... Maven insall ... In console:</font></div><div style="color:rgb(51,51,51);line-height:32px"><b>...</b></div><div style="color:rgb(51,51,51)"><div style><span style="line-height:32px"><b>Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.366 sec</b></span></div><div style><span style="line-height:32px"><b>Results :</b></span></div><div style><span style="line-height:32px"><b>Failed tests: </b></span></div><div style><span style="line-height:32px"><b> Expected exception: javax.persistence.PersistenceException</b></span></div><div style><span style="line-height:32px"><b>Tests in error: </b></span></div><div style><span style="line-height:32px"><b> PushApplicationDaoTest.updatePushApplication:125 » Persistence org.hibernate.e...</b></span></div><div style><span style="line-height:32px"><b> PushApplicationDaoTest.pushApplicationIDUnmodifiedAfterUpdate:159 » Persistence</b></span></div><div style><span style="line-height:32px"><b> PushApplicationDaoTest.deletePushApplicationIncludingVariantAndInstallations:194 » Persistence</b></span></div><div style><span style="line-height:32px"><b> PushApplicationDaoTest.findByPushApplicationID:116 » Persistence org.hibernate...</b></span></div><div style><span style="line-height:32px"><b> PushApplicationDaoTest.findAllForDeveloper:72 » Persistence org.hibernate.exce...</b></span></div><div style><span style="line-height:32px"><b> PushApplicationDaoTest.primaryKeyUnmodifiedAfterUpdate:174 » Persistence org.h...</b></span></div><div style><span style="line-height:32px"><b> PushApplicationDaoTest.findAllIDsForDeveloper:96 » Persistence org.hibernate.e...</b></span></div><div style><span style="line-height:32px"><b> PushApplicationDaoTest.findByPushApplicationIDForDeveloper:103 » Persistence o...</b></span></div><div style><span style="line-height:32px"><b> PushApplicationDaoTest.updateAndDeletePushApplication:140 » Persistence org.hi...</b></span></div><div style><span style="line-height:32px"><b>Tests run: 75, Failures: 1, Errors: 9, Skipped: 0</b></span></div><div style><span style="line-height:32px"><b>[INFO] ------------------------------------------------------------------------</b></span></div><div style><span style="line-height:32px"><b>[INFO] Reactor Summary:</b></span></div><div style><span style="line-height:32px"><b>[INFO] </b></span></div><div style><span style="line-height:32px"><b>[INFO] AeroGear UnifiedPush Server ....................... SUCCESS [ 2.833 s]</b></span></div><div style><span style="line-height:32px"><b>[INFO] UnifiedPush Model Layer ........................... SUCCESS [ 0.058 s]</b></span></div><div style><span style="line-height:32px"><b>[INFO] UnifiedPush Server Model API ...................... SUCCESS [ 2.886 s]</b></span></div><div style><span style="line-height:32px"><b>[INFO] UnifiedPush Server Model JPA implementation ....... FAILURE [ 32.992 s]</b></span></div><div style><span style="line-height:32px"><b>[INFO] UnifiedPush Service Layer ......................... SKIPPED</b></span></div><div style><span style="line-height:32px"><b>[INFO] UnifiedPush Sender Module ......................... SKIPPED</b></span></div><div style><span style="line-height:32px"><b>[INFO] UnifiedPush Push Message Model .................... SKIPPED</b></span></div><div style><span style="line-height:32px"><b>[INFO] UnifiedPush Push Notification Networks ............ SKIPPED</b></span></div><div style><span style="line-height:32px"><b>[INFO] UnifiedPush RESTful Endpoint ...................... SKIPPED</b></span></div><div style><span style="line-height:32px"><b>[INFO] UnifiedPush Server (Admin UI) ..................... SKIPPED</b></span></div><div style><span style="line-height:32px"><b>[INFO] UnifiedPush Dependencies Parent ................... SKIPPED</b></span></div><div style><span style="line-height:32px"><b>[INFO] UnifiedPush Server Dependencies Server ............ SKIPPED</b></span></div><div style><span style="line-height:32px"><b>[INFO] UnifiedPush Auth Server ........................... SKIPPED</b></span></div><div style><span style="line-height:32px"><b>[INFO] UnifiedPush Server for JBossAS (WAR) .............. SKIPPED</b></span></div><div style><span style="line-height:32px"><b>[INFO] UnifiedPush Server for Wildfly (WAR) .............. SKIPPED</b></span></div><div style><span style="line-height:32px"><b>[INFO] UnifiedPush Servers Parent ........................ SKIPPED</b></span></div><div style><span style="line-height:32px"><b>[INFO] ------------------------------------------------------------------------</b></span></div><div style><span style="line-height:32px"><b>[INFO] BUILD FAILURE</b></span></div><div style><span style="line-height:32px"><b>[INFO] ------------------------------------------------------------------------</b></span></div><div style><span style="line-height:32px"><b>[INFO] Total time: 40.717 s</b></span></div><div style><span style="line-height:32px"><b>[INFO] Finished at: 2015-04-23T14:35:45+01:00</b></span></div><div style><span style="line-height:32px"><b>[INFO] Final Memory: 21M/420M</b></span></div><div style><span style="line-height:32px"><b>[INFO] ------------------------------------------------------------------------</b></span></div><div style><span style="line-height:32px"><b>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on project unifiedpush-model-jpa: There are test failures.</b></span></div><div style><span style="line-height:32px"><b>[ERROR] </b></span></div><div style><span style="line-height:32px"><b>[ERROR] Please refer to C:\Users\Ivan\Documents\aerogear-unifiedpush-server\model\jpa\target\surefire-reports for the individual test results.</b></span></div><div style><span style="line-height:32px"><b>[ERROR] -> [Help 1]</b></span></div><div style><span style="line-height:32px"><b>[ERROR] </b></span></div><div style><span style="line-height:32px"><b>[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.</b></span></div><div style><span style="line-height:32px"><b>[ERROR] Re-run Maven using the -X switch to enable full debug logging.</b></span></div><div style><span style="line-height:32px"><b>[ERROR] </b></span></div><div style><span style="line-height:32px"><b>[ERROR] For more information about the errors and possible solutions, please read the following articles:</b></span></div><div style><span style="line-height:32px"><b>[ERROR] [Help 1] <a href="http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException">http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException</a></b></span></div><div style><span style="line-height:32px"><b>[ERROR] </b></span></div><div style><span style="line-height:32px"><b>[ERROR] After correcting the problems, you can resume the build with the command</b></span></div><div style><span style="line-height:32px"><b>[ERROR] mvn <goals> -rf :unifiedpush-model-jpa</b></span></div><div style="line-height:32px">---------------------------------------------------------------------------------------------------------------------------------------------------------------</div><div style="line-height:32px">Do you have any idea where is the problem and how to solve it?</div><div style="line-height:32px">Thanks</div></div></font></span></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><span style="color:rgb(7,55,99)"><b>Mgr. Ivan Gürtler</b></span><br></div><span style="color:rgb(102,102,102)">Mobile software developer</span><br><br>AHEAD iTec, s.r.o., Botanická 554/68a,<br>602 00 Brno (Czech Republic)<br><br><a href="http://www.ahead-itec.com/" style="color:rgb(17,85,204)" target="_blank">www.ahead-itec.com</a> | <a href="https://www.twitter.com/AHEADiTec" style="color:rgb(17,85,204)" target="_blank">twitter</a> | mobile security solutions<br></div></div></div>
<br><div class="gmail_quote">2015-04-23 8:55 GMT+02:00 Erik Jan de Wit <span dir="ltr"><<a href="mailto:edewit@redhat.com" target="_blank">edewit@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ivan,<br>
<br>
We have functionality for this available in the master branch on<br>
github. Go to <server>/ag-push/rest/sys/info/health it will return<br>
json with the push network status and db status. This PR<br>
<a href="https://github.com/aerogear/aerogear-unifiedpush-server/pull/519" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server/pull/519</a><br>
includes details about the returned json.<br>
<br>
Hope this helps...<br>
<br>
---<br>
Cheers,<br>
Erik Jan<br>
<div><div class="h5"><br>
On Thu, Apr 23, 2015 at 8:39 AM, Ivan Gürtler<br>
<<a href="mailto:ivan.gurtler@ahead-itec.com">ivan.gurtler@ahead-itec.com</a>> wrote:<br>
> Hi,<br>
> I have some questions about server status.<br>
> Is possible to check with some kind of ping (or something else) that DB is<br>
> available from push server?<br>
> How to check if platform push server (APNS...) is also available?<br>
><br>
><br>
> Thanks<br>
><br>
> Mgr. Ivan Gürtler<br>
> Mobile software developer<br>
><br>
> AHEAD iTec, s.r.o., Botanická 554/68a,<br>
> 602 00 Brno (Czech Republic)<br>
><br>
> <a href="http://www.ahead-itec.com" target="_blank">www.ahead-itec.com</a> | twitter | mobile security solutions<br>
><br>
</div></div>> _______________________________________________<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>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Cheers,<br>
Erik Jan<br>
<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></font></span></blockquote></div><br></div>