<div dir="ltr">Log on server ...<div><br></div><div><div>14:26:47,614 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of &quot;ag-push.war&quot; (runtime-name: &quot;ag-push.war&quot;)</div><div>14:26:50,337 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit.&quot;ag-push.war&quot;.PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit.&quot;ag-push.war&quot;.PARSE: JBAS018733: Failed to process phase PARSE of deployment &quot;ag-push.war&quot;</div><div><span class="" style="white-space:pre">        </span>at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]</div><div><span class="" style="white-space:pre">        </span>at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]</div><div><span class="" style="white-space:pre">        </span>at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]</div><div><span class="" style="white-space:pre">        </span>at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_75]</div><div><span class="" style="white-space:pre">        </span>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_75]</div><div><span class="" style="white-space:pre">        </span>at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_75]</div><div>Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found</div><div><span class="" style="white-space:pre">        </span>at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:625) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]</div><div><span class="" style="white-space:pre">        </span>at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.getDefaultResourceAdapterName(MessageDrivenComponentDescriptionFactory.java:278)</div><div><span class="" style="white-space:pre">        </span>at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processMessageBeans(MessageDrivenComponentDescriptionFactory.java:155)</div><div><span class="" style="white-space:pre">        </span>at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processAnnotations(MessageDrivenComponentDescriptionFactory.java:82)</div><div><span class="" style="white-space:pre">        </span>at org.jboss.as.ejb3.deployment.processors.AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.processAnnotations(AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.java:58)</div><div><span class="" style="white-space:pre">        </span>at org.jboss.as.ejb3.deployment.processors.AbstractDeploymentUnitProcessor.deploy(AbstractDeploymentUnitProcessor.java:81)</div><div><span class="" style="white-space:pre">        </span>at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]</div><div><span class="" style="white-space:pre">        </span>... 5 more</div><div><br></div><div>14:26:50,349 ERROR [org.jboss.as.server] (ServerService Thread Pool -- 250) JBAS015870: Deploy of deployment &quot;ag-push.war&quot; was rolled back with the following failure message: </div><div>{&quot;JBAS014671: Failed services&quot; =&gt; {&quot;jboss.deployment.unit.\&quot;ag-push.war\&quot;.PARSE&quot; =&gt; &quot;org.jboss.msc.service.StartException in service jboss.deployment.unit.\&quot;ag-push.war\&quot;.PARSE: JBAS018733: Failed to process phase PARSE of deployment \&quot;ag-push.war\&quot;</div><div>    Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found&quot;}}</div><div>14:26:50,373 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment ag-push.war (runtime-name: ag-push.war) in 23ms</div><div>14:26:50,374 INFO  [org.jboss.as.controller] (ServerService Thread Pool -- 250) JBAS014774: Service status report</div><div>JBAS014777:   Services which failed to start:      service jboss.deployment.unit.&quot;ag-push.war&quot;.PARSE</div><div><br></div></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-24 13:49 GMT+02:00 Erik Jan de Wit <span dir="ltr">&lt;<a href="mailto:edewit@redhat.com" target="_blank">edewit@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Do you have some more logs, all you shared now is that it&#39;s not<br>
deployed but not why.<br>
<br>
On Fri, Apr 24, 2015 at 1:21 PM, Ivan Gürtler<br>
<div class="HOEnZb"><div class="h5">&lt;<a href="mailto:ivan.gurtler@ahead-itec.com">ivan.gurtler@ahead-itec.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I tried mvn install without tests ... but deployment on EAP 6.3 server ended<br>
&gt; with error...<br>
&gt; I tried to repair test DB (create_db_content.ddl) for my case ... mvn<br>
&gt; install was ok but deployment with error ...<br>
&gt;<br>
&gt; and same error was also in case when I made mvn install on master branch and<br>
&gt; tried to deploy ....<br>
&gt;<br>
&gt;<br>
&gt; Failed to add Deployment ag-push.war<br>
&gt;<br>
&gt; Unexpected HTTP response: 500<br>
&gt;<br>
&gt; Request<br>
&gt; {<br>
&gt;     &quot;operation&quot; =&gt; &quot;composite&quot;,<br>
&gt;     &quot;address&quot; =&gt; [],<br>
&gt;     &quot;steps&quot; =&gt; [<br>
&gt;         {<br>
&gt;             &quot;address&quot; =&gt; [<br>
&gt;                 (&quot;server-group&quot; =&gt; &quot;main-server-group&quot;),<br>
&gt;                 (&quot;deployment&quot; =&gt; &quot;ag-push.war&quot;)<br>
&gt;             ],<br>
&gt;             &quot;operation&quot; =&gt; &quot;add&quot;<br>
&gt;         },<br>
&gt;         {<br>
&gt;             &quot;address&quot; =&gt; [<br>
&gt;                 (&quot;server-group&quot; =&gt; &quot;main-server-group&quot;),<br>
&gt;                 (&quot;deployment&quot; =&gt; &quot;ag-push.war&quot;)<br>
&gt;             ],<br>
&gt;             &quot;operation&quot; =&gt; &quot;deploy&quot;<br>
&gt;         }<br>
&gt;     ]<br>
&gt; }<br>
&gt;<br>
&gt; Response<br>
&gt;<br>
&gt; Internal Server Error<br>
&gt; {<br>
&gt;     &quot;outcome&quot; =&gt; &quot;failed&quot;,<br>
&gt;     &quot;result&quot; =&gt; {<br>
&gt;         &quot;step-1&quot; =&gt; {&quot;outcome&quot; =&gt; &quot;success&quot;},<br>
&gt;         &quot;step-2&quot; =&gt; {&quot;outcome&quot; =&gt; &quot;success&quot;}<br>
&gt;     },<br>
&gt;     &quot;failure-description&quot; =&gt; &quot;JBAS010839: Operation failed or was rolled<br>
&gt; back on all servers.&quot;,<br>
&gt;     &quot;rolled-back&quot; =&gt; true,<br>
&gt;     &quot;server-groups&quot; =&gt; {&quot;main-server-group&quot; =&gt; {&quot;host&quot; =&gt; {&quot;master&quot; =&gt;<br>
&gt; {&quot;server-A&quot; =&gt; {&quot;response&quot; =&gt; {<br>
&gt;         &quot;outcome&quot; =&gt; &quot;failed&quot;,<br>
&gt;         &quot;result&quot; =&gt; {<br>
&gt;             &quot;step-1&quot; =&gt; {<br>
&gt;                 &quot;outcome&quot; =&gt; &quot;failed&quot;,<br>
&gt;                 &quot;rolled-back&quot; =&gt; true<br>
&gt;             },<br>
&gt;             &quot;step-2&quot; =&gt; {<br>
&gt;                 &quot;outcome&quot; =&gt; &quot;failed&quot;,<br>
&gt;                 &quot;failure-description&quot; =&gt; {&quot;JBAS014671: Failed services&quot; =&gt;<br>
&gt; {&quot;jboss.deployment.unit.\&quot;ag-push.war\&quot;.PARSE&quot; =&gt;<br>
&gt; &quot;org.jboss.msc.service.StartException in service<br>
&gt; jboss.deployment.unit.\&quot;ag-push.war\&quot;.PARSE: JBAS018733: Failed to process<br>
&gt; phase PARSE of deployment \&quot;ag-push.war\&quot;<br>
&gt;     Caused by: org.jboss.msc.service.ServiceNotFoundException: Service<br>
&gt; service jboss.ejb.default-resource-adapter-name-service not found&quot;}},<br>
&gt;                 &quot;rolled-back&quot; =&gt; true<br>
&gt;             }<br>
&gt;         },<br>
&gt;         &quot;failure-description&quot; =&gt; {&quot;JBAS014653: Composite operation failed<br>
&gt; and was rolled back. Steps that failed:&quot; =&gt; {&quot;Operation step-2&quot; =&gt;<br>
&gt; {&quot;JBAS014671: Failed services&quot; =&gt;<br>
&gt; {&quot;jboss.deployment.unit.\&quot;ag-push.war\&quot;.PARSE&quot; =&gt;<br>
&gt; &quot;org.jboss.msc.service.StartException in service<br>
&gt; jboss.deployment.unit.\&quot;ag-push.war\&quot;.PARSE: JBAS018733: Failed to process<br>
&gt; phase PARSE of deployment \&quot;ag-push.war\&quot;<br>
&gt;     Caused by: org.jboss.msc.service.ServiceNotFoundException: Service<br>
&gt; service jboss.ejb.default-resource-adapter-name-service not found&quot;}}}},<br>
&gt;         &quot;rolled-back&quot; =&gt; true<br>
&gt;     }}}}}}<br>
&gt; }<br>
&gt;<br>
&gt;<br>
&gt; I dont know where the problem is now ...<br>
&gt; Thanks for your help ...<br>
&gt;<br>
&gt;<br>
&gt; Mgr. Ivan Gürtler<br>
&gt; Mobile software developer<br>
&gt;<br>
&gt; AHEAD iTec, s.r.o., Botanická 554/68a,<br>
&gt; 602 00 Brno (Czech Republic)<br>
&gt;<br>
&gt; <a href="http://www.ahead-itec.com" target="_blank">www.ahead-itec.com</a> | twitter | mobile security solutions<br>
&gt;<br>
&gt; 2015-04-23 15:37 GMT+02:00 Ivan Gürtler &lt;<a href="mailto:ivan.gurtler@ahead-itec.com">ivan.gurtler@ahead-itec.com</a>&gt;:<br>
&gt;&gt;<br>
&gt;&gt; ... oh :D sorry ...<br>
&gt;&gt; I found  /model/jpa/testData/create_db_content.ddl ... I try it ...<br>
&gt;&gt;<br>
&gt;&gt; Mgr. Ivan Gürtler<br>
&gt;&gt; Mobile software developer<br>
&gt;&gt;<br>
&gt;&gt; AHEAD iTec, s.r.o., Botanická 554/68a,<br>
&gt;&gt; 602 00 Brno (Czech Republic)<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://www.ahead-itec.com" target="_blank">www.ahead-itec.com</a> | twitter | mobile security solutions<br>
&gt;&gt;<br>
&gt;&gt; 2015-04-23 15:30 GMT+02:00 Ivan Gürtler &lt;<a href="mailto:ivan.gurtler@ahead-itec.com">ivan.gurtler@ahead-itec.com</a>&gt;:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; In report file for PushApplicationDaoTest ... i found:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ...<br>
&gt;&gt;&gt; javax.persistence.PersistenceException:<br>
&gt;&gt;&gt; org.hibernate.exception.DataException: could not initialize a collection:<br>
&gt;&gt;&gt; [org.jboss.aerogear.unifiedpush.api.PushApplication.variants#1]<br>
&gt;&gt;&gt; at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown<br>
&gt;&gt;&gt; Source)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown<br>
&gt;&gt;&gt; Source)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown<br>
&gt;&gt;&gt; Source)<br>
&gt;&gt;&gt; at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)<br>
&gt;&gt;&gt; at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)<br>
&gt;&gt;&gt; at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)<br>
&gt;&gt;&gt; at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown<br>
&gt;&gt;&gt; Source)<br>
&gt;&gt;&gt; at org.apache.derby.impl.jdbc.ConnectionChild.newSQLException(Unknown<br>
&gt;&gt;&gt; Source)<br>
&gt;&gt;&gt; at org.apache.derby.impl.jdbc.EmbedResultSet.dataTypeConversion(Unknown<br>
&gt;&gt;&gt; Source)<br>
&gt;&gt;&gt; at org.apache.derby.impl.jdbc.EmbedResultSet.getClob(Unknown Source)<br>
&gt;&gt;&gt; at org.apache.derby.impl.jdbc.EmbedResultSet.getClob(Unknown Source)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.hibernate.type.descriptor.sql.ClobTypeDescriptor$1.doExtract(ClobTypeDescriptor.java:60)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.hibernate.type.descriptor.sql.BasicExtractor.extract(BasicExtractor.java:64)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:265)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:261)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:251)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.hibernate.type.AbstractStandardBasicType.hydrate(AbstractStandardBasicType.java:336)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2924)<br>
&gt;&gt;&gt; at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1695)<br>
&gt;&gt;&gt; at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1627)<br>
&gt;&gt;&gt; at org.hibernate.loader.Loader.getRow(Loader.java:1509)<br>
&gt;&gt;&gt; at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:719)<br>
&gt;&gt;&gt; at org.hibernate.loader.Loader.processResultSet(Loader.java:949)<br>
&gt;&gt;&gt; at org.hibernate.loader.Loader.doQuery(Loader.java:917)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:348)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:318)<br>
&gt;&gt;&gt; at org.hibernate.loader.Loader.loadCollection(Loader.java:2262)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:65)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:674)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.hibernate.event.internal.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:86)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.hibernate.internal.SessionImpl.initializeCollection(SessionImpl.java:1774)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.hibernate.collection.internal.AbstractPersistentCollection.forceInitialization(AbstractPersistentCollection.java:696)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.hibernate.engine.internal.StatefulPersistenceContext.initializeNonLazyCollections(StatefulPersistenceContext.java:1037)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:353)<br>
&gt;&gt;&gt; at org.hibernate.loader.Loader.doList(Loader.java:2550)<br>
&gt;&gt;&gt; at org.hibernate.loader.Loader.doList(Loader.java:2536)<br>
&gt;&gt;&gt; at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2366)<br>
&gt;&gt;&gt; at org.hibernate.loader.Loader.list(Loader.java:2361)<br>
&gt;&gt;&gt; at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:495)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:357)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:198)<br>
&gt;&gt;&gt; at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1194)<br>
&gt;&gt;&gt; at org.hibernate.internal.QueryImpl.list(QueryImpl.java:101)<br>
&gt;&gt;&gt; at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:264)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.jboss.aerogear.unifiedpush.jpa.dao.impl.JPABaseDao.getSingleResultForQuery(JPABaseDao.java:93)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.jboss.aerogear.unifiedpush.jpa.dao.impl.JPAPushApplicationDao.findByPushApplicationID(JPAPushApplicationDao.java:73)<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; org.jboss.aerogear.unifiedpush.jpa.PushApplicationDaoTest.updatePushApplication(PushApplicationDaoTest.java:125)<br>
&gt;&gt;&gt; ...<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; In aerogear:master version two mounth ago it was without problems. I<br>
&gt;&gt;&gt; found commit &quot;Use JMS message queues for sending notifications in batches<br>
&gt;&gt;&gt; AGPUSH-1348&quot; ... in this commit was changed orm.xml file ... but I dont know<br>
&gt;&gt;&gt; background of commit change.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Mgr. Ivan Gürtler<br>
&gt;&gt;&gt; Mobile software developer<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; AHEAD iTec, s.r.o., Botanická 554/68a,<br>
&gt;&gt;&gt; 602 00 Brno (Czech Republic)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; <a href="http://www.ahead-itec.com" target="_blank">www.ahead-itec.com</a> | twitter | mobile security solutions<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 2015-04-23 15:05 GMT+02:00 Erik Jan de Wit &lt;<a href="mailto:edewit@redhat.com">edewit@redhat.com</a>&gt;:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hi Ivan,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Try running without the test `mvn install -DskipTests`, because they<br>
&gt;&gt;&gt;&gt; are testing against another schema. Or see why the tests fail in the<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; C:\Users\Ivan\Documents\aerogear-unifiedpush-server\model\jpa\target\surefire-reports<br>
&gt;&gt;&gt;&gt; directory and fix those tests, by changing<br>
&gt;&gt;&gt;&gt; model\jpa\test\create_db_content.ddl<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Thu, Apr 23, 2015 at 2:58 PM, Ivan Gürtler<br>
&gt;&gt;&gt;&gt; &lt;<a href="mailto:ivan.gurtler@ahead-itec.com">ivan.gurtler@ahead-itec.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt; &gt; Hi,<br>
&gt;&gt;&gt;&gt; &gt; We have own fork ... and I sync with &quot;aerogear:master&quot;. Master branch<br>
&gt;&gt;&gt;&gt; &gt; in<br>
&gt;&gt;&gt;&gt; &gt; fork is OK.<br>
&gt;&gt;&gt;&gt; &gt; I merge master to second branch. We changed<br>
&gt;&gt;&gt;&gt; &gt; model/jpa/src/main/resources/META-INF/orm.xml file in second branch<br>
&gt;&gt;&gt;&gt; &gt; because<br>
&gt;&gt;&gt;&gt; &gt; we use ORACLE<br>
&gt;&gt;&gt;&gt; &gt; ...<br>
&gt;&gt;&gt;&gt; &gt;      &lt;entity class=&quot;iOSVariant&quot; access=&quot;FIELD&quot;&gt;<br>
&gt;&gt;&gt;&gt; &gt;         &lt;discriminator-value&gt;ios&lt;/discriminator-value&gt;<br>
&gt;&gt;&gt;&gt; &gt;         &lt;attributes&gt;<br>
&gt;&gt;&gt;&gt; &gt;             &lt;basic name=&quot;certificateData&quot;&gt;<br>
&gt;&gt;&gt;&gt; &gt;                 &lt;column name=&quot;cert_data&quot;/&gt; &lt;!--length=&quot;100000&quot;/&gt;<br>
&gt;&gt;&gt;&gt; &gt; BECAUSE<br>
&gt;&gt;&gt;&gt; &gt; ORACLE !!!--&gt;<br>
&gt;&gt;&gt;&gt; &gt;     &lt;lob/&gt;<br>
&gt;&gt;&gt;&gt; &gt;             &lt;/basic&gt;<br>
&gt;&gt;&gt;&gt; &gt;         &lt;/attributes&gt;<br>
&gt;&gt;&gt;&gt; &gt;     &lt;/entity&gt;<br>
&gt;&gt;&gt;&gt; &gt; ...<br>
&gt;&gt;&gt;&gt; &gt; (Second change in orm.xml file was because of Installation class, it<br>
&gt;&gt;&gt;&gt; &gt; was<br>
&gt;&gt;&gt;&gt; &gt; bigger than 4000 -&gt; problem in ORACLE ... but in &quot;aerogear:master&quot; it<br>
&gt;&gt;&gt;&gt; &gt; was<br>
&gt;&gt;&gt;&gt; &gt; removed from orm.xml file)<br>
&gt;&gt;&gt;&gt; &gt; but when ... Run as ... Maven insall ... In console:<br>
&gt;&gt;&gt;&gt; &gt; ...<br>
&gt;&gt;&gt;&gt; &gt; Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.366<br>
&gt;&gt;&gt;&gt; &gt; sec<br>
&gt;&gt;&gt;&gt; &gt; Results :<br>
&gt;&gt;&gt;&gt; &gt; Failed tests:<br>
&gt;&gt;&gt;&gt; &gt;    Expected exception: javax.persistence.PersistenceException<br>
&gt;&gt;&gt;&gt; &gt; Tests in error:<br>
&gt;&gt;&gt;&gt; &gt;   PushApplicationDaoTest.updatePushApplication:125 » Persistence<br>
&gt;&gt;&gt;&gt; &gt; org.hibernate.e...<br>
&gt;&gt;&gt;&gt; &gt;   PushApplicationDaoTest.pushApplicationIDUnmodifiedAfterUpdate:159 »<br>
&gt;&gt;&gt;&gt; &gt; Persistence<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; PushApplicationDaoTest.deletePushApplicationIncludingVariantAndInstallations:194<br>
&gt;&gt;&gt;&gt; &gt; » Persistence<br>
&gt;&gt;&gt;&gt; &gt;   PushApplicationDaoTest.findByPushApplicationID:116 » Persistence<br>
&gt;&gt;&gt;&gt; &gt; org.hibernate...<br>
&gt;&gt;&gt;&gt; &gt;   PushApplicationDaoTest.findAllForDeveloper:72 » Persistence<br>
&gt;&gt;&gt;&gt; &gt; org.hibernate.exce...<br>
&gt;&gt;&gt;&gt; &gt;   PushApplicationDaoTest.primaryKeyUnmodifiedAfterUpdate:174 »<br>
&gt;&gt;&gt;&gt; &gt; Persistence<br>
&gt;&gt;&gt;&gt; &gt; org.h...<br>
&gt;&gt;&gt;&gt; &gt;   PushApplicationDaoTest.findAllIDsForDeveloper:96 » Persistence<br>
&gt;&gt;&gt;&gt; &gt; org.hibernate.e...<br>
&gt;&gt;&gt;&gt; &gt;   PushApplicationDaoTest.findByPushApplicationIDForDeveloper:103 »<br>
&gt;&gt;&gt;&gt; &gt; Persistence o...<br>
&gt;&gt;&gt;&gt; &gt;   PushApplicationDaoTest.updateAndDeletePushApplication:140 »<br>
&gt;&gt;&gt;&gt; &gt; Persistence<br>
&gt;&gt;&gt;&gt; &gt; org.hi...<br>
&gt;&gt;&gt;&gt; &gt; Tests run: 75, Failures: 1, Errors: 9, Skipped: 0<br>
&gt;&gt;&gt;&gt; &gt; [INFO]<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; ------------------------------------------------------------------------<br>
&gt;&gt;&gt;&gt; &gt; [INFO] Reactor Summary:<br>
&gt;&gt;&gt;&gt; &gt; [INFO]<br>
&gt;&gt;&gt;&gt; &gt; [INFO] AeroGear UnifiedPush Server ....................... SUCCESS [<br>
&gt;&gt;&gt;&gt; &gt; 2.833<br>
&gt;&gt;&gt;&gt; &gt; s]<br>
&gt;&gt;&gt;&gt; &gt; [INFO] UnifiedPush Model Layer ........................... SUCCESS [<br>
&gt;&gt;&gt;&gt; &gt; 0.058<br>
&gt;&gt;&gt;&gt; &gt; s]<br>
&gt;&gt;&gt;&gt; &gt; [INFO] UnifiedPush Server Model API ...................... SUCCESS [<br>
&gt;&gt;&gt;&gt; &gt; 2.886<br>
&gt;&gt;&gt;&gt; &gt; s]<br>
&gt;&gt;&gt;&gt; &gt; [INFO] UnifiedPush Server Model JPA implementation ....... FAILURE [<br>
&gt;&gt;&gt;&gt; &gt; 32.992<br>
&gt;&gt;&gt;&gt; &gt; s]<br>
&gt;&gt;&gt;&gt; &gt; [INFO] UnifiedPush Service Layer ......................... SKIPPED<br>
&gt;&gt;&gt;&gt; &gt; [INFO] UnifiedPush Sender Module ......................... SKIPPED<br>
&gt;&gt;&gt;&gt; &gt; [INFO] UnifiedPush Push Message Model .................... SKIPPED<br>
&gt;&gt;&gt;&gt; &gt; [INFO] UnifiedPush Push Notification Networks ............ SKIPPED<br>
&gt;&gt;&gt;&gt; &gt; [INFO] UnifiedPush RESTful Endpoint ...................... SKIPPED<br>
&gt;&gt;&gt;&gt; &gt; [INFO] UnifiedPush Server (Admin UI) ..................... SKIPPED<br>
&gt;&gt;&gt;&gt; &gt; [INFO] UnifiedPush Dependencies Parent ................... SKIPPED<br>
&gt;&gt;&gt;&gt; &gt; [INFO] UnifiedPush Server Dependencies Server ............ SKIPPED<br>
&gt;&gt;&gt;&gt; &gt; [INFO] UnifiedPush Auth Server ........................... SKIPPED<br>
&gt;&gt;&gt;&gt; &gt; [INFO] UnifiedPush Server for JBossAS (WAR) .............. SKIPPED<br>
&gt;&gt;&gt;&gt; &gt; [INFO] UnifiedPush Server for Wildfly (WAR) .............. SKIPPED<br>
&gt;&gt;&gt;&gt; &gt; [INFO] UnifiedPush Servers Parent ........................ SKIPPED<br>
&gt;&gt;&gt;&gt; &gt; [INFO]<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; ------------------------------------------------------------------------<br>
&gt;&gt;&gt;&gt; &gt; [INFO] BUILD FAILURE<br>
&gt;&gt;&gt;&gt; &gt; [INFO]<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; ------------------------------------------------------------------------<br>
&gt;&gt;&gt;&gt; &gt; [INFO] Total time: 40.717 s<br>
&gt;&gt;&gt;&gt; &gt; [INFO] Finished at: 2015-04-23T14:35:45+01:00<br>
&gt;&gt;&gt;&gt; &gt; [INFO] Final Memory: 21M/420M<br>
&gt;&gt;&gt;&gt; &gt; [INFO]<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; ------------------------------------------------------------------------<br>
&gt;&gt;&gt;&gt; &gt; [ERROR] Failed to execute goal<br>
&gt;&gt;&gt;&gt; &gt; org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test<br>
&gt;&gt;&gt;&gt; &gt; (default-test) on<br>
&gt;&gt;&gt;&gt; &gt; project unifiedpush-model-jpa: There are test failures.<br>
&gt;&gt;&gt;&gt; &gt; [ERROR]<br>
&gt;&gt;&gt;&gt; &gt; [ERROR] Please refer to<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; C:\Users\Ivan\Documents\aerogear-unifiedpush-server\model\jpa\target\surefire-reports<br>
&gt;&gt;&gt;&gt; &gt; for the individual test results.<br>
&gt;&gt;&gt;&gt; &gt; [ERROR] -&gt; [Help 1]<br>
&gt;&gt;&gt;&gt; &gt; [ERROR]<br>
&gt;&gt;&gt;&gt; &gt; [ERROR] To see the full stack trace of the errors, re-run Maven with<br>
&gt;&gt;&gt;&gt; &gt; the -e<br>
&gt;&gt;&gt;&gt; &gt; switch.<br>
&gt;&gt;&gt;&gt; &gt; [ERROR] Re-run Maven using the -X switch to enable full debug logging.<br>
&gt;&gt;&gt;&gt; &gt; [ERROR]<br>
&gt;&gt;&gt;&gt; &gt; [ERROR] For more information about the errors and possible solutions,<br>
&gt;&gt;&gt;&gt; &gt; please<br>
&gt;&gt;&gt;&gt; &gt; read the following articles:<br>
&gt;&gt;&gt;&gt; &gt; [ERROR] [Help 1]<br>
&gt;&gt;&gt;&gt; &gt; <a href="http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException" target="_blank">http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException</a><br>
&gt;&gt;&gt;&gt; &gt; [ERROR]<br>
&gt;&gt;&gt;&gt; &gt; [ERROR] After correcting the problems, you can resume the build with<br>
&gt;&gt;&gt;&gt; &gt; the<br>
&gt;&gt;&gt;&gt; &gt; command<br>
&gt;&gt;&gt;&gt; &gt; [ERROR]   mvn &lt;goals&gt; -rf :unifiedpush-model-jpa<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; ---------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
&gt;&gt;&gt;&gt; &gt; Do you have any idea where is the problem and how to solve it?<br>
&gt;&gt;&gt;&gt; &gt; Thanks<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; Mgr. Ivan Gürtler<br>
&gt;&gt;&gt;&gt; &gt; Mobile software developer<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; AHEAD iTec, s.r.o., Botanická 554/68a,<br>
&gt;&gt;&gt;&gt; &gt; 602 00 Brno (Czech Republic)<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; <a href="http://www.ahead-itec.com" target="_blank">www.ahead-itec.com</a> | twitter | mobile security solutions<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; 2015-04-23 8:55 GMT+02:00 Erik Jan de Wit &lt;<a href="mailto:edewit@redhat.com">edewit@redhat.com</a>&gt;:<br>
&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt; &gt;&gt; Hi Ivan,<br>
&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt; &gt;&gt; We have functionality for this available in the master branch on<br>
&gt;&gt;&gt;&gt; &gt;&gt; github. Go to &lt;server&gt;/ag-push/rest/sys/info/health it will return<br>
&gt;&gt;&gt;&gt; &gt;&gt; json with the push network status and db status. This PR<br>
&gt;&gt;&gt;&gt; &gt;&gt; <a href="https://github.com/aerogear/aerogear-unifiedpush-server/pull/519" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server/pull/519</a><br>
&gt;&gt;&gt;&gt; &gt;&gt; includes details about the returned json.<br>
&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt; &gt;&gt; Hope this helps...<br>
&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt; &gt;&gt; ---<br>
&gt;&gt;&gt;&gt; &gt;&gt; Cheers,<br>
&gt;&gt;&gt;&gt; &gt;&gt;     Erik Jan<br>
&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt; &gt;&gt; On Thu, Apr 23, 2015 at 8:39 AM, Ivan Gürtler<br>
&gt;&gt;&gt;&gt; &gt;&gt; &lt;<a href="mailto:ivan.gurtler@ahead-itec.com">ivan.gurtler@ahead-itec.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt; Hi,<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt; I have some questions about server status.<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt; Is possible to check with some kind of ping (or something else)<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt; that DB<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt; is<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt; available from push server?<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt; How to check if platform push server (APNS...) is also available?<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt; Thanks<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt; Mgr. Ivan Gürtler<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt; Mobile software developer<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt; AHEAD iTec, s.r.o., Botanická 554/68a,<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt; 602 00 Brno (Czech Republic)<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt; <a href="http://www.ahead-itec.com" target="_blank">www.ahead-itec.com</a> | twitter | mobile security solutions<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt; aerogear-dev mailing list<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt; &gt;&gt; --<br>
&gt;&gt;&gt;&gt; &gt;&gt; Cheers,<br>
&gt;&gt;&gt;&gt; &gt;&gt;        Erik Jan<br>
&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; &gt;&gt; aerogear-dev mailing list<br>
&gt;&gt;&gt;&gt; &gt;&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt; &gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; &gt; aerogear-dev mailing list<br>
&gt;&gt;&gt;&gt; &gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt; Cheers,<br>
&gt;&gt;&gt;&gt;        Erik Jan<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; aerogear-dev mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<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></div></div></blockquote></div><br></div>