<div dir="ltr"><div><div>Matthew thanks for the swift reply. I did some more digging, seems the problem is two-fold: if I send the notification directly from firebase I get it on my devices so seems aerogear is not getting to it.I don&#39;t own the keys so I asked them to be doubled checked. I&#39;ve also found the following errors on my logs:<br><br><div>[<span style="font-family:garamond,serif">0m [33m14:48:15,595 WARN  [com.arjuna.ats.arjuna] (EJB default - 9) ARJUNA012125: TwoPhaseCoordinator.</span><wbr><span style="font-family:garamond,serif">beforeCompletion - failed for SynchronizationImple&lt; 0:ffffc8c6e126:3922595c:</span><wbr><span style="font-family:garamond,serif">59b2add6:124ed5, org.jboss.as.txn.service.</span><wbr><span style="font-family:garamond,serif">internal.tsr.</span><wbr><span style="font-family:garamond,serif">JCAOrderedLastSynchronizationL</span><wbr><span style="font-family:garamond,serif">ist@714d9801 &gt;: javax.persistence.</span><wbr><span style="font-family:garamond,serif">PersistenceException: error during managed flush<br>    at org.hibernate.jpa.internal.</span><wbr><span style="font-family:garamond,serif">EntityManagerImpl$</span><wbr><span style="font-family:garamond,serif">CallbackExceptionMapperImpl.</span><wbr><span style="font-family:garamond,serif">mapManagedFlushFailure(</span><wbr><span style="font-family:garamond,serif">EntityManagerImpl.java:240)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.</span><wbr><span style="font-family:garamond,serif">flushBeforeTransactionCompleti</span><wbr><span style="font-family:garamond,serif">on(SessionImpl.java:2970)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.</span><wbr><span style="font-family:garamond,serif">beforeTransactionCompletion(</span><wbr><span style="font-family:garamond,serif">SessionImpl.java:2339)<br>    at org.hibernate.engine.jdbc.</span><wbr><span style="font-family:garamond,serif">internal.JdbcCoordinatorImpl.</span><wbr><span style="font-family:garamond,serif">beforeTransactionCompletion(</span><wbr><span style="font-family:garamond,serif">JdbcCoordinatorImpl.java:485)<br>    at org.hibernate.resource.</span><wbr><span style="font-family:garamond,serif">transaction.backend.jta.</span><wbr><span style="font-family:garamond,serif">internal.</span><wbr><span style="font-family:garamond,serif">JtaTransactionCoordinatorImpl.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">JtaTransactionCoordinatorImpl.</span><wbr><span style="font-family:garamond,serif">java:316)<br>    at org.hibernate.resource.</span><wbr><span style="font-family:garamond,serif">transaction.backend.jta.</span><wbr><span style="font-family:garamond,serif">internal.synchronization.</span><wbr><span style="font-family:garamond,serif">SynchronizationCallbackCoordin</span><wbr><span style="font-family:garamond,serif">atorNonTrackingImpl.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">SynchronizationCallbackCoordin</span><wbr><span style="font-family:garamond,serif">atorNonTrackingImpl.java:47)<br>    at org.hibernate.resource.</span><wbr><span style="font-family:garamond,serif">transaction.backend.jta.</span><wbr><span style="font-family:garamond,serif">internal.synchronization.</span><wbr><span style="font-family:garamond,serif">RegisteredSynchronization.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">RegisteredSynchronization.</span><wbr><span style="font-family:garamond,serif">java:37)<br>    at org.jboss.as.txn.service.</span><wbr><span style="font-family:garamond,serif">internal.tsr.</span><wbr><span style="font-family:garamond,serif">JCAOrderedLastSynchronizationL</span><wbr><span style="font-family:garamond,serif">ist.beforeCompletion(</span><wbr><span style="font-family:garamond,serif">JCAOrderedLastSynchronizationL</span><wbr><span style="font-family:garamond,serif">ist.java:116)<br>    at com.arjuna.ats.internal.jta.</span><wbr><span style="font-family:garamond,serif">resources.arjunacore.</span><wbr><span style="font-family:garamond,serif">SynchronizationImple.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">SynchronizationImple.java:76)<br>    at com.arjuna.ats.arjuna.</span><wbr><span style="font-family:garamond,serif">coordinator.</span><wbr><span style="font-family:garamond,serif">TwoPhaseCoordinator.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">TwoPhaseCoordinator.java:368)<br>    at com.arjuna.ats.arjuna.</span><wbr><span style="font-family:garamond,serif">coordinator.</span><wbr><span style="font-family:garamond,serif">TwoPhaseCoordinator.end(</span><wbr><span style="font-family:garamond,serif">TwoPhaseCoordinator.java:91)<br>    at com.arjuna.ats.arjuna.</span><wbr><span style="font-family:garamond,serif">AtomicAction.commit(</span><wbr><span style="font-family:garamond,serif">AtomicAction.java:162)<br>    at com.arjuna.ats.internal.jta.</span><wbr><span style="font-family:garamond,serif">transaction.arjunacore.</span><wbr><span style="font-family:garamond,serif">TransactionImple.</span><wbr><span style="font-family:garamond,serif">commitAndDisassociate(</span><wbr><span style="font-family:garamond,serif">TransactionImple.java:1200)<br>    at com.arjuna.ats.internal.jta.</span><wbr><span style="font-family:garamond,serif">transaction.arjunacore.</span><wbr><span style="font-family:garamond,serif">BaseTransaction.commit(</span><wbr><span style="font-family:garamond,serif">BaseTransaction.java:126)<br>    at com.arjuna.ats.jbossatx.</span><wbr><span style="font-family:garamond,serif">BaseTransactionManagerDelegate</span><wbr><span style="font-family:garamond,serif">.commit(</span><wbr><span style="font-family:garamond,serif">BaseTransactionManagerDelegate</span><wbr><span style="font-family:garamond,serif">.java:89)<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.</span><wbr><span style="font-family:garamond,serif">endTransaction(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:91)<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.</span><wbr><span style="font-family:garamond,serif">invokeInOurTx(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:279)<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.required(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:327)<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:239)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">CurrentInvocationContextInterc</span><wbr><span style="font-family:garamond,serif">eptor.processInvocation(</span><wbr><span style="font-family:garamond,serif">CurrentInvocationContextInterc</span><wbr><span style="font-family:garamond,serif">eptor.java:41)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">invocationmetrics.</span><wbr><span style="font-family:garamond,serif">WaitTimeInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">WaitTimeInterceptor.java:47)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.security.</span><wbr><span style="font-family:garamond,serif">SecurityContextInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">SecurityContextInterceptor.</span><wbr><span style="font-family:garamond,serif">java:100)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.deployment.</span><wbr><span style="font-family:garamond,serif">processors.</span><wbr><span style="font-family:garamond,serif">StartupAwaitInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">StartupAwaitInterceptor.java:</span><wbr><span style="font-family:garamond,serif">22)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">ShutDownInterceptorFactory$1.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">ShutDownInterceptorFactory.</span><wbr><span style="font-family:garamond,serif">java:64)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">LoggingInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">LoggingInterceptor.java:67)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ee.component.</span><wbr><span style="font-family:garamond,serif">NamespaceContextInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">NamespaceContextInterceptor.</span><wbr><span style="font-family:garamond,serif">java:50)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">AdditionalSetupInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">AdditionalSetupInterceptor.</span><wbr><span style="font-family:garamond,serif">java:54)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">ContextClassLoaderInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">ContextClassLoaderInterceptor.</span><wbr><span style="font-family:garamond,serif">java:64)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.run(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:356)<br>    at org.wildfly.security.manager.</span><wbr><span style="font-family:garamond,serif">WildFlySecurityManager.</span><wbr><span style="font-family:garamond,serif">doChecked(</span><wbr><span style="font-family:garamond,serif">WildFlySecurityManager.java:</span><wbr><span style="font-family:garamond,serif">636)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">AccessCheckingInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">AccessCheckingInterceptor.</span><wbr><span style="font-family:garamond,serif">java:61)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.run(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:356)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">PrivilegedWithCombinerIntercep</span><wbr><span style="font-family:garamond,serif">tor.processInvocation(</span><wbr><span style="font-family:garamond,serif">PrivilegedWithCombinerIntercep</span><wbr><span style="font-family:garamond,serif">tor.java:80)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">ChainedInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">ChainedInterceptor.java:61)<br>    at org.jboss.as.ee.component.</span><wbr><span style="font-family:garamond,serif">ViewService$View.invoke(</span><wbr><span style="font-family:garamond,serif">ViewService.java:198)<br>    at org.jboss.as.ee.component.</span><wbr><span style="font-family:garamond,serif">ViewDescription$1.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">ViewDescription.java:185)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">LogDiagnosticContextRecoveryIn</span><wbr><span style="font-family:garamond,serif">terceptor.processInvocation(</span><wbr><span style="font-family:garamond,serif">LogDiagnosticContextRecoveryIn</span><wbr><span style="font-family:garamond,serif">terceptor.java:82)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">AsyncFutureInterceptorFactory$</span><wbr><span style="font-family:garamond,serif">1$2.runInvocation(</span><wbr><span style="font-family:garamond,serif">AsyncFutureInterceptorFactory.</span><wbr><span style="font-family:garamond,serif">java:104)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">AsyncInvocationTask.run(</span><wbr><span style="font-family:garamond,serif">AsyncInvocationTask.java:74)<br>    at java.util.concurrent.</span><wbr><span style="font-family:garamond,serif">ThreadPoolExecutor.runWorker(</span><wbr><span style="font-family:garamond,serif">ThreadPoolExecutor.java:1149)<br>    at java.util.concurrent.</span><wbr><span style="font-family:garamond,serif">ThreadPoolExecutor$Worker.run(</span><wbr><span style="font-family:garamond,serif">ThreadPoolExecutor.java:624)<br>    at java.lang.Thread.run(Thread.</span><wbr><span style="font-family:garamond,serif">java:748)<br>    at org.jboss.threads.JBossThread.</span><wbr><span style="font-family:garamond,serif">run(JBossThread.java:320)<br>Caused by: javax.validation.</span><wbr><span style="font-family:garamond,serif">ConstraintViolationException: Validation failed for classes [org.jboss.aerogear.</span><wbr><span style="font-family:garamond,serif">unifiedpush.api.Installation] during persist time for groups [javax.validation.groups.</span><wbr><span style="font-family:garamond,serif">Default, ]<br>List of constraint violations:[<br>    ConstraintViolationImpl{</span><wbr><span style="font-family:garamond,serif">interpolatedMessage=&#39;Device token is not valid for this device type&#39;, propertyPath=, rootBeanClass=class org.jboss.aerogear.</span><wbr><span style="font-family:garamond,serif">unifiedpush.api.Installation, messageTemplate=&#39;{org.jboss.</span><wbr><span style="font-family:garamond,serif">aerogear.unifiedpush.model.</span><wbr><span style="font-family:garamond,serif">constraints.devicetoken}&#39;}<br>]<br>    at org.hibernate.cfg.</span><wbr><span style="font-family:garamond,serif">beanvalidation.</span><wbr><span style="font-family:garamond,serif">BeanValidationEventListener.</span><wbr><span style="font-family:garamond,serif">validate(</span><wbr><span style="font-family:garamond,serif">BeanValidationEventListener.</span><wbr><span style="font-family:garamond,serif">java:138)<br>    at org.hibernate.cfg.</span><wbr><span style="font-family:garamond,serif">beanvalidation.</span><wbr><span style="font-family:garamond,serif">BeanValidationEventListener.</span><wbr><span style="font-family:garamond,serif">onPreInsert(</span><wbr><span style="font-family:garamond,serif">BeanValidationEventListener.</span><wbr><span style="font-family:garamond,serif">java:78)<br>    at org.hibernate.action.internal.</span><wbr><span style="font-family:garamond,serif">EntityInsertAction.preInsert(</span><wbr><span style="font-family:garamond,serif">EntityInsertAction.java:205)<br>    at org.hibernate.action.internal.</span><wbr><span style="font-family:garamond,serif">EntityInsertAction.execute(</span><wbr><span style="font-family:garamond,serif">EntityInsertAction.java:82)<br>    at org.hibernate.engine.spi.</span><wbr><span style="font-family:garamond,serif">ActionQueue.executeActions(</span><wbr><span style="font-family:garamond,serif">ActionQueue.java:582)<br>    at org.hibernate.engine.spi.</span><wbr><span style="font-family:garamond,serif">ActionQueue.executeActions(</span><wbr><span style="font-family:garamond,serif">ActionQueue.java:456)<br>    at org.hibernate.event.internal.</span><wbr><span style="font-family:garamond,serif">AbstractFlushingEventListener.</span><wbr><span style="font-family:garamond,serif">performExecutions(</span><wbr><span style="font-family:garamond,serif">AbstractFlushingEventListener.</span><wbr><span style="font-family:garamond,serif">java:337)<br>    at org.hibernate.event.internal.</span><wbr><span style="font-family:garamond,serif">DefaultFlushEventListener.</span><wbr><span style="font-family:garamond,serif">onFlush(</span><wbr><span style="font-family:garamond,serif">DefaultFlushEventListener.</span><wbr><span style="font-family:garamond,serif">java:39)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.flush(SessionImpl.</span><wbr><span style="font-family:garamond,serif">java:1282)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.managedFlush(</span><wbr><span style="font-family:garamond,serif">SessionImpl.java:465)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.</span><wbr><span style="font-family:garamond,serif">flushBeforeTransactionCompleti</span><wbr><span style="font-family:garamond,serif">on(SessionImpl.java:2963)<br>    ... 55 more<br><br>
 [0m [31m14:48:15,597 ERROR [org.jboss.as.ejb3.invocation] (EJB default -
 9) WFLYEJB0034: EJB Invocation failed on component 
ClientInstallationServiceImpl for method public abstract void 
org.jboss.aerogear.</span><wbr><span style="font-family:garamond,serif">unifiedpush.service.</span><wbr><span style="font-family:garamond,serif">ClientInstallationService.</span><wbr><span style="font-family:garamond,serif">addInstallation(org.jboss.</span><wbr><span style="font-family:garamond,serif">aerogear.unifiedpush.api.</span><wbr><span style="font-family:garamond,serif">Variant,org.jboss.aerogear.</span><wbr><span style="font-family:garamond,serif">unifiedpush.api.Installation): javax.ejb.</span><wbr><span style="font-family:garamond,serif">EJBTransactionRolledbackExcept</span><wbr><span style="font-family:garamond,serif">ion: Transaction rolled back<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.</span><wbr><span style="font-family:garamond,serif">handleEndTransactionException(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:137)<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.</span><wbr><span style="font-family:garamond,serif">endTransaction(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:117)<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.</span><wbr><span style="font-family:garamond,serif">invokeInOurTx(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:279)<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.required(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:327)<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:239)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">CurrentInvocationContextInterc</span><wbr><span style="font-family:garamond,serif">eptor.processInvocation(</span><wbr><span style="font-family:garamond,serif">CurrentInvocationContextInterc</span><wbr><span style="font-family:garamond,serif">eptor.java:41)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">invocationmetrics.</span><wbr><span style="font-family:garamond,serif">WaitTimeInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">WaitTimeInterceptor.java:47)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.security.</span><wbr><span style="font-family:garamond,serif">SecurityContextInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">SecurityContextInterceptor.</span><wbr><span style="font-family:garamond,serif">java:100)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.deployment.</span><wbr><span style="font-family:garamond,serif">processors.</span><wbr><span style="font-family:garamond,serif">StartupAwaitInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">StartupAwaitInterceptor.java:</span><wbr><span style="font-family:garamond,serif">22)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">ShutDownInterceptorFactory$1.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">ShutDownInterceptorFactory.</span><wbr><span style="font-family:garamond,serif">java:64)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">LoggingInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">LoggingInterceptor.java:67)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ee.component.</span><wbr><span style="font-family:garamond,serif">NamespaceContextInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">NamespaceContextInterceptor.</span><wbr><span style="font-family:garamond,serif">java:50)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">AdditionalSetupInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">AdditionalSetupInterceptor.</span><wbr><span style="font-family:garamond,serif">java:54)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">ContextClassLoaderInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">ContextClassLoaderInterceptor.</span><wbr><span style="font-family:garamond,serif">java:64)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.run(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:356)<br>    at org.wildfly.security.manager.</span><wbr><span style="font-family:garamond,serif">WildFlySecurityManager.</span><wbr><span style="font-family:garamond,serif">doChecked(</span><wbr><span style="font-family:garamond,serif">WildFlySecurityManager.java:</span><wbr><span style="font-family:garamond,serif">636)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">AccessCheckingInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">AccessCheckingInterceptor.</span><wbr><span style="font-family:garamond,serif">java:61)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.run(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:356)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">PrivilegedWithCombinerIntercep</span><wbr><span style="font-family:garamond,serif">tor.processInvocation(</span><wbr><span style="font-family:garamond,serif">PrivilegedWithCombinerIntercep</span><wbr><span style="font-family:garamond,serif">tor.java:80)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">ChainedInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">ChainedInterceptor.java:61)<br>    at org.jboss.as.ee.component.</span><wbr><span style="font-family:garamond,serif">ViewService$View.invoke(</span><wbr><span style="font-family:garamond,serif">ViewService.java:198)<br>    at org.jboss.as.ee.component.</span><wbr><span style="font-family:garamond,serif">ViewDescription$1.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">ViewDescription.java:185)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">LogDiagnosticContextRecoveryIn</span><wbr><span style="font-family:garamond,serif">terceptor.processInvocation(</span><wbr><span style="font-family:garamond,serif">LogDiagnosticContextRecoveryIn</span><wbr><span style="font-family:garamond,serif">terceptor.java:82)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">AsyncFutureInterceptorFactory$</span><wbr><span style="font-family:garamond,serif">1$2.runInvocation(</span><wbr><span style="font-family:garamond,serif">AsyncFutureInterceptorFactory.</span><wbr><span style="font-family:garamond,serif">java:104)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">AsyncInvocationTask.run(</span><wbr><span style="font-family:garamond,serif">AsyncInvocationTask.java:74)<br>    at java.util.concurrent.</span><wbr><span style="font-family:garamond,serif">ThreadPoolExecutor.runWorker(</span><wbr><span style="font-family:garamond,serif">ThreadPoolExecutor.java:1149)<br>    at java.util.concurrent.</span><wbr><span style="font-family:garamond,serif">ThreadPoolExecutor$Worker.run(</span><wbr><span style="font-family:garamond,serif">ThreadPoolExecutor.java:624)<br>    at java.lang.Thread.run(Thread.</span><wbr><span style="font-family:garamond,serif">java:748)<br>    at org.jboss.threads.JBossThread.</span><wbr><span style="font-family:garamond,serif">run(JBossThread.java:320)<br>Caused by: javax.transaction.</span><wbr><span style="font-family:garamond,serif">RollbackException: ARJUNA016053: Could not commit transaction.<br>    at com.arjuna.ats.internal.jta.</span><wbr><span style="font-family:garamond,serif">transaction.arjunacore.</span><wbr><span style="font-family:garamond,serif">TransactionImple.</span><wbr><span style="font-family:garamond,serif">commitAndDisassociate(</span><wbr><span style="font-family:garamond,serif">TransactionImple.java:1212)<br>    at com.arjuna.ats.internal.jta.</span><wbr><span style="font-family:garamond,serif">transaction.arjunacore.</span><wbr><span style="font-family:garamond,serif">BaseTransaction.commit(</span><wbr><span style="font-family:garamond,serif">BaseTransaction.java:126)<br>    at com.arjuna.ats.jbossatx.</span><wbr><span style="font-family:garamond,serif">BaseTransactionManagerDelegate</span><wbr><span style="font-family:garamond,serif">.commit(</span><wbr><span style="font-family:garamond,serif">BaseTransactionManagerDelegate</span><wbr><span style="font-family:garamond,serif">.java:89)<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.</span><wbr><span style="font-family:garamond,serif">endTransaction(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:91)<br>    ... 41 more<br>Caused by: javax.persistence.</span><wbr><span style="font-family:garamond,serif">PersistenceException: error during managed flush<br>    at org.hibernate.jpa.internal.</span><wbr><span style="font-family:garamond,serif">EntityManagerImpl$</span><wbr><span style="font-family:garamond,serif">CallbackExceptionMapperImpl.</span><wbr><span style="font-family:garamond,serif">mapManagedFlushFailure(</span><wbr><span style="font-family:garamond,serif">EntityManagerImpl.java:240)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.</span><wbr><span style="font-family:garamond,serif">flushBeforeTransactionCompleti</span><wbr><span style="font-family:garamond,serif">on(SessionImpl.java:2970)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.</span><wbr><span style="font-family:garamond,serif">beforeTransactionCompletion(</span><wbr><span style="font-family:garamond,serif">SessionImpl.java:2339)<br>    at org.hibernate.engine.jdbc.</span><wbr><span style="font-family:garamond,serif">internal.JdbcCoordinatorImpl.</span><wbr><span style="font-family:garamond,serif">beforeTransactionCompletion(</span><wbr><span style="font-family:garamond,serif">JdbcCoordinatorImpl.java:485)<br>    at org.hibernate.resource.</span><wbr><span style="font-family:garamond,serif">transaction.backend.jta.</span><wbr><span style="font-family:garamond,serif">internal.</span><wbr><span style="font-family:garamond,serif">JtaTransactionCoordinatorImpl.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">JtaTransactionCoordinatorImpl.</span><wbr><span style="font-family:garamond,serif">java:316)<br>    at org.hibernate.resource.</span><wbr><span style="font-family:garamond,serif">transaction.backend.jta.</span><wbr><span style="font-family:garamond,serif">internal.synchronization.</span><wbr><span style="font-family:garamond,serif">SynchronizationCallbackCoordin</span><wbr><span style="font-family:garamond,serif">atorNonTrackingImpl.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">SynchronizationCallbackCoordin</span><wbr><span style="font-family:garamond,serif">atorNonTrackingImpl.java:47)<br>    at org.hibernate.resource.</span><wbr><span style="font-family:garamond,serif">transaction.backend.jta.</span><wbr><span style="font-family:garamond,serif">internal.synchronization.</span><wbr><span style="font-family:garamond,serif">RegisteredSynchronization.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">RegisteredSynchronization.</span><wbr><span style="font-family:garamond,serif">java:37)<br>    at org.jboss.as.txn.service.</span><wbr><span style="font-family:garamond,serif">internal.tsr.</span><wbr><span style="font-family:garamond,serif">JCAOrderedLastSynchronizationL</span><wbr><span style="font-family:garamond,serif">ist.beforeCompletion(</span><wbr><span style="font-family:garamond,serif">JCAOrderedLastSynchronizationL</span><wbr><span style="font-family:garamond,serif">ist.java:116)<br>    at com.arjuna.ats.internal.jta.</span><wbr><span style="font-family:garamond,serif">resources.arjunacore.</span><wbr><span style="font-family:garamond,serif">SynchronizationImple.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">SynchronizationImple.java:76)<br>    at com.arjuna.ats.arjuna.</span><wbr><span style="font-family:garamond,serif">coordinator.</span><wbr><span style="font-family:garamond,serif">TwoPhaseCoordinator.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">TwoPhaseCoordinator.java:368)<br>    at com.arjuna.ats.arjuna.</span><wbr><span style="font-family:garamond,serif">coordinator.</span><wbr><span style="font-family:garamond,serif">TwoPhaseCoordinator.end(</span><wbr><span style="font-family:garamond,serif">TwoPhaseCoordinator.java:91)<br>    at com.arjuna.ats.arjuna.</span><wbr><span style="font-family:garamond,serif">AtomicAction.commit(</span><wbr><span style="font-family:garamond,serif">AtomicAction.java:162)<br>    at com.arjuna.ats.internal.jta.</span><wbr><span style="font-family:garamond,serif">transaction.arjunacore.</span><wbr><span style="font-family:garamond,serif">TransactionImple.</span><wbr><span style="font-family:garamond,serif">commitAndDisassociate(</span><wbr><span style="font-family:garamond,serif">TransactionImple.java:1200)<br>    ... 44 more<br>Caused by: javax.validation.</span><wbr><span style="font-family:garamond,serif">ConstraintViolationException: Validation failed for classes [org.jboss.aerogear.</span><wbr><span style="font-family:garamond,serif">unifiedpush.api.Installation] during persist time for groups [javax.validation.groups.</span><wbr><span style="font-family:garamond,serif">Default, ]<br>List of constraint violations:[<br>    ConstraintViolationImpl{</span><wbr><span style="font-family:garamond,serif">interpolatedMessage=&#39;Device token is not valid for this device type&#39;, propertyPath=, rootBeanClass=class org.jboss.aerogear.</span><wbr><span style="font-family:garamond,serif">unifiedpush.api.Installation, messageTemplate=&#39;{org.jboss.</span><wbr><span style="font-family:garamond,serif">aerogear.unifiedpush.model.</span><wbr><span style="font-family:garamond,serif">constraints.devicetoken}&#39;}<br>]<br>    at org.hibernate.cfg.</span><wbr><span style="font-family:garamond,serif">beanvalidation.</span><wbr><span style="font-family:garamond,serif">BeanValidationEventListener.</span><wbr><span style="font-family:garamond,serif">validate(</span><wbr><span style="font-family:garamond,serif">BeanValidationEventListener.</span><wbr><span style="font-family:garamond,serif">java:138)<br>    at org.hibernate.cfg.</span><wbr><span style="font-family:garamond,serif">beanvalidation.</span><wbr><span style="font-family:garamond,serif">BeanValidationEventListener.</span><wbr><span style="font-family:garamond,serif">onPreInsert(</span><wbr><span style="font-family:garamond,serif">BeanValidationEventListener.</span><wbr><span style="font-family:garamond,serif">java:78)<br>    at org.hibernate.action.internal.</span><wbr><span style="font-family:garamond,serif">EntityInsertAction.preInsert(</span><wbr><span style="font-family:garamond,serif">EntityInsertAction.java:205)<br>    at org.hibernate.action.internal.</span><wbr><span style="font-family:garamond,serif">EntityInsertAction.execute(</span><wbr><span style="font-family:garamond,serif">EntityInsertAction.java:82)<br>    at org.hibernate.engine.spi.</span><wbr><span style="font-family:garamond,serif">ActionQueue.executeActions(</span><wbr><span style="font-family:garamond,serif">ActionQueue.java:582)<br>    at org.hibernate.engine.spi.</span><wbr><span style="font-family:garamond,serif">ActionQueue.executeActions(</span><wbr><span style="font-family:garamond,serif">ActionQueue.java:456)<br>    at org.hibernate.event.internal.</span><wbr><span style="font-family:garamond,serif">AbstractFlushingEventListener.</span><wbr><span style="font-family:garamond,serif">performExecutions(</span><wbr><span style="font-family:garamond,serif">AbstractFlushingEventListener.</span><wbr><span style="font-family:garamond,serif">java:337)<br>    at org.hibernate.event.internal.</span><wbr><span style="font-family:garamond,serif">DefaultFlushEventListener.</span><wbr><span style="font-family:garamond,serif">onFlush(</span><wbr><span style="font-family:garamond,serif">DefaultFlushEventListener.</span><wbr><span style="font-family:garamond,serif">java:39)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.flush(SessionImpl.</span><wbr><span style="font-family:garamond,serif">java:1282)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.managedFlush(</span><wbr><span style="font-family:garamond,serif">SessionImpl.java:465)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.</span><wbr><span style="font-family:garamond,serif">flushBeforeTransactionCompleti</span><wbr><span style="font-family:garamond,serif">on(SessionImpl.java:2963)<br>    ... 55 more<br><br> [0m [33m14:48:42,860 WARN  [com.arjuna.ats.arjuna] (EJB default - 6) ARJUNA012125: TwoPhaseCoordinator.</span><wbr><span style="font-family:garamond,serif">beforeCompletion - failed for SynchronizationImple&lt; 0:ffffc8c6e126:3922595c:</span><wbr><span style="font-family:garamond,serif">59b2add6:124ee3, org.jboss.as.txn.service.</span><wbr><span style="font-family:garamond,serif">internal.tsr.</span><wbr><span style="font-family:garamond,serif">JCAOrderedLastSynchronizationL</span><wbr><span style="font-family:garamond,serif">ist@1e5c076a &gt;: javax.persistence.</span><wbr><span style="font-family:garamond,serif">PersistenceException: error during managed flush<br>    at org.hibernate.jpa.internal.</span><wbr><span style="font-family:garamond,serif">EntityManagerImpl$</span><wbr><span style="font-family:garamond,serif">CallbackExceptionMapperImpl.</span><wbr><span style="font-family:garamond,serif">mapManagedFlushFailure(</span><wbr><span style="font-family:garamond,serif">EntityManagerImpl.java:240)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.</span><wbr><span style="font-family:garamond,serif">flushBeforeTransactionCompleti</span><wbr><span style="font-family:garamond,serif">on(SessionImpl.java:2970)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.</span><wbr><span style="font-family:garamond,serif">beforeTransactionCompletion(</span><wbr><span style="font-family:garamond,serif">SessionImpl.java:2339)<br>    at org.hibernate.engine.jdbc.</span><wbr><span style="font-family:garamond,serif">internal.JdbcCoordinatorImpl.</span><wbr><span style="font-family:garamond,serif">beforeTransactionCompletion(</span><wbr><span style="font-family:garamond,serif">JdbcCoordinatorImpl.java:485)<br>    at org.hibernate.resource.</span><wbr><span style="font-family:garamond,serif">transaction.backend.jta.</span><wbr><span style="font-family:garamond,serif">internal.</span><wbr><span style="font-family:garamond,serif">JtaTransactionCoordinatorImpl.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">JtaTransactionCoordinatorImpl.</span><wbr><span style="font-family:garamond,serif">java:316)<br>    at org.hibernate.resource.</span><wbr><span style="font-family:garamond,serif">transaction.backend.jta.</span><wbr><span style="font-family:garamond,serif">internal.synchronization.</span><wbr><span style="font-family:garamond,serif">SynchronizationCallbackCoordin</span><wbr><span style="font-family:garamond,serif">atorNonTrackingImpl.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">SynchronizationCallbackCoordin</span><wbr><span style="font-family:garamond,serif">atorNonTrackingImpl.java:47)<br>    at org.hibernate.resource.</span><wbr><span style="font-family:garamond,serif">transaction.backend.jta.</span><wbr><span style="font-family:garamond,serif">internal.synchronization.</span><wbr><span style="font-family:garamond,serif">RegisteredSynchronization.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">RegisteredSynchronization.</span><wbr><span style="font-family:garamond,serif">java:37)<br>    at org.jboss.as.txn.service.</span><wbr><span style="font-family:garamond,serif">internal.tsr.</span><wbr><span style="font-family:garamond,serif">JCAOrderedLastSynchronizationL</span><wbr><span style="font-family:garamond,serif">ist.beforeCompletion(</span><wbr><span style="font-family:garamond,serif">JCAOrderedLastSynchronizationL</span><wbr><span style="font-family:garamond,serif">ist.java:116)<br>    at com.arjuna.ats.internal.jta.</span><wbr><span style="font-family:garamond,serif">resources.arjunacore.</span><wbr><span style="font-family:garamond,serif">SynchronizationImple.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">SynchronizationImple.java:76)<br>    at com.arjuna.ats.arjuna.</span><wbr><span style="font-family:garamond,serif">coordinator.</span><wbr><span style="font-family:garamond,serif">TwoPhaseCoordinator.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">TwoPhaseCoordinator.java:368)<br>    at com.arjuna.ats.arjuna.</span><wbr><span style="font-family:garamond,serif">coordinator.</span><wbr><span style="font-family:garamond,serif">TwoPhaseCoordinator.end(</span><wbr><span style="font-family:garamond,serif">TwoPhaseCoordinator.java:91)<br>    at com.arjuna.ats.arjuna.</span><wbr><span style="font-family:garamond,serif">AtomicAction.commit(</span><wbr><span style="font-family:garamond,serif">AtomicAction.java:162)<br>    at com.arjuna.ats.internal.jta.</span><wbr><span style="font-family:garamond,serif">transaction.arjunacore.</span><wbr><span style="font-family:garamond,serif">TransactionImple.</span><wbr><span style="font-family:garamond,serif">commitAndDisassociate(</span><wbr><span style="font-family:garamond,serif">TransactionImple.java:1200)<br>    at com.arjuna.ats.internal.jta.</span><wbr><span style="font-family:garamond,serif">transaction.arjunacore.</span><wbr><span style="font-family:garamond,serif">BaseTransaction.commit(</span><wbr><span style="font-family:garamond,serif">BaseTransaction.java:126)<br>    at com.arjuna.ats.jbossatx.</span><wbr><span style="font-family:garamond,serif">BaseTransactionManagerDelegate</span><wbr><span style="font-family:garamond,serif">.commit(</span><wbr><span style="font-family:garamond,serif">BaseTransactionManagerDelegate</span><wbr><span style="font-family:garamond,serif">.java:89)<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.</span><wbr><span style="font-family:garamond,serif">endTransaction(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:91)<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.</span><wbr><span style="font-family:garamond,serif">invokeInOurTx(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:279)<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.required(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:327)<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:239)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">CurrentInvocationContextInterc</span><wbr><span style="font-family:garamond,serif">eptor.processInvocation(</span><wbr><span style="font-family:garamond,serif">CurrentInvocationContextInterc</span><wbr><span style="font-family:garamond,serif">eptor.java:41)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">invocationmetrics.</span><wbr><span style="font-family:garamond,serif">WaitTimeInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">WaitTimeInterceptor.java:47)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.security.</span><wbr><span style="font-family:garamond,serif">SecurityContextInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">SecurityContextInterceptor.</span><wbr><span style="font-family:garamond,serif">java:100)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.deployment.</span><wbr><span style="font-family:garamond,serif">processors.</span><wbr><span style="font-family:garamond,serif">StartupAwaitInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">StartupAwaitInterceptor.java:</span><wbr><span style="font-family:garamond,serif">22)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">ShutDownInterceptorFactory$1.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">ShutDownInterceptorFactory.</span><wbr><span style="font-family:garamond,serif">java:64)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">LoggingInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">LoggingInterceptor.java:67)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ee.component.</span><wbr><span style="font-family:garamond,serif">NamespaceContextInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">NamespaceContextInterceptor.</span><wbr><span style="font-family:garamond,serif">java:50)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">AdditionalSetupInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">AdditionalSetupInterceptor.</span><wbr><span style="font-family:garamond,serif">java:54)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">ContextClassLoaderInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">ContextClassLoaderInterceptor.</span><wbr><span style="font-family:garamond,serif">java:64)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.run(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:356)<br>    at org.wildfly.security.manager.</span><wbr><span style="font-family:garamond,serif">WildFlySecurityManager.</span><wbr><span style="font-family:garamond,serif">doChecked(</span><wbr><span style="font-family:garamond,serif">WildFlySecurityManager.java:</span><wbr><span style="font-family:garamond,serif">636)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">AccessCheckingInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">AccessCheckingInterceptor.</span><wbr><span style="font-family:garamond,serif">java:61)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.run(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:356)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">PrivilegedWithCombinerIntercep</span><wbr><span style="font-family:garamond,serif">tor.processInvocation(</span><wbr><span style="font-family:garamond,serif">PrivilegedWithCombinerIntercep</span><wbr><span style="font-family:garamond,serif">tor.java:80)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">ChainedInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">ChainedInterceptor.java:61)<br>    at org.jboss.as.ee.component.</span><wbr><span style="font-family:garamond,serif">ViewService$View.invoke(</span><wbr><span style="font-family:garamond,serif">ViewService.java:198)<br>    at org.jboss.as.ee.component.</span><wbr><span style="font-family:garamond,serif">ViewDescription$1.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">ViewDescription.java:185)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">LogDiagnosticContextRecoveryIn</span><wbr><span style="font-family:garamond,serif">terceptor.processInvocation(</span><wbr><span style="font-family:garamond,serif">LogDiagnosticContextRecoveryIn</span><wbr><span style="font-family:garamond,serif">terceptor.java:82)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">AsyncFutureInterceptorFactory$</span><wbr><span style="font-family:garamond,serif">1$2.runInvocation(</span><wbr><span style="font-family:garamond,serif">AsyncFutureInterceptorFactory.</span><wbr><span style="font-family:garamond,serif">java:104)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">AsyncInvocationTask.run(</span><wbr><span style="font-family:garamond,serif">AsyncInvocationTask.java:74)<br>    at java.util.concurrent.</span><wbr><span style="font-family:garamond,serif">ThreadPoolExecutor.runWorker(</span><wbr><span style="font-family:garamond,serif">ThreadPoolExecutor.java:1149)<br>    at java.util.concurrent.</span><wbr><span style="font-family:garamond,serif">ThreadPoolExecutor$Worker.run(</span><wbr><span style="font-family:garamond,serif">ThreadPoolExecutor.java:624)<br>    at java.lang.Thread.run(Thread.</span><wbr><span style="font-family:garamond,serif">java:748)<br>    at org.jboss.threads.JBossThread.</span><wbr><span style="font-family:garamond,serif">run(JBossThread.java:320)<br>Caused by: javax.validation.</span><wbr><span style="font-family:garamond,serif">ConstraintViolationException: Validation failed for classes [org.jboss.aerogear.</span><wbr><span style="font-family:garamond,serif">unifiedpush.api.Installation] during persist time for groups [javax.validation.groups.</span><wbr><span style="font-family:garamond,serif">Default, ]<br>List of constraint violations:[<br>    ConstraintViolationImpl{</span><wbr><span style="font-family:garamond,serif">interpolatedMessage=&#39;Device token is not valid for this device type&#39;, propertyPath=, rootBeanClass=class org.jboss.aerogear.</span><wbr><span style="font-family:garamond,serif">unifiedpush.api.Installation, messageTemplate=&#39;{org.jboss.</span><wbr><span style="font-family:garamond,serif">aerogear.unifiedpush.model.</span><wbr><span style="font-family:garamond,serif">constraints.devicetoken}&#39;}<br>]<br>    at org.hibernate.cfg.</span><wbr><span style="font-family:garamond,serif">beanvalidation.</span><wbr><span style="font-family:garamond,serif">BeanValidationEventListener.</span><wbr><span style="font-family:garamond,serif">validate(</span><wbr><span style="font-family:garamond,serif">BeanValidationEventListener.</span><wbr><span style="font-family:garamond,serif">java:138)<br>    at org.hibernate.cfg.</span><wbr><span style="font-family:garamond,serif">beanvalidation.</span><wbr><span style="font-family:garamond,serif">BeanValidationEventListener.</span><wbr><span style="font-family:garamond,serif">onPreInsert(</span><wbr><span style="font-family:garamond,serif">BeanValidationEventListener.</span><wbr><span style="font-family:garamond,serif">java:78)<br>    at org.hibernate.action.internal.</span><wbr><span style="font-family:garamond,serif">EntityInsertAction.preInsert(</span><wbr><span style="font-family:garamond,serif">EntityInsertAction.java:205)<br>    at org.hibernate.action.internal.</span><wbr><span style="font-family:garamond,serif">EntityInsertAction.execute(</span><wbr><span style="font-family:garamond,serif">EntityInsertAction.java:82)<br>    at org.hibernate.engine.spi.</span><wbr><span style="font-family:garamond,serif">ActionQueue.executeActions(</span><wbr><span style="font-family:garamond,serif">ActionQueue.java:582)<br>    at org.hibernate.engine.spi.</span><wbr><span style="font-family:garamond,serif">ActionQueue.executeActions(</span><wbr><span style="font-family:garamond,serif">ActionQueue.java:456)<br>    at org.hibernate.event.internal.</span><wbr><span style="font-family:garamond,serif">AbstractFlushingEventListener.</span><wbr><span style="font-family:garamond,serif">performExecutions(</span><wbr><span style="font-family:garamond,serif">AbstractFlushingEventListener.</span><wbr><span style="font-family:garamond,serif">java:337)<br>    at org.hibernate.event.internal.</span><wbr><span style="font-family:garamond,serif">DefaultFlushEventListener.</span><wbr><span style="font-family:garamond,serif">onFlush(</span><wbr><span style="font-family:garamond,serif">DefaultFlushEventListener.</span><wbr><span style="font-family:garamond,serif">java:39)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.flush(SessionImpl.</span><wbr><span style="font-family:garamond,serif">java:1282)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.managedFlush(</span><wbr><span style="font-family:garamond,serif">SessionImpl.java:465)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.</span><wbr><span style="font-family:garamond,serif">flushBeforeTransactionCompleti</span><wbr><span style="font-family:garamond,serif">on(SessionImpl.java:2963)<br>    ... 55 more<br><br>
 [0m [31m14:48:42,863 ERROR [org.jboss.as.ejb3.invocation] (EJB default -
 6) WFLYEJB0034: EJB Invocation failed on component 
ClientInstallationServiceImpl for method public abstract void 
org.jboss.aerogear.</span><wbr><span style="font-family:garamond,serif">unifiedpush.service.</span><wbr><span style="font-family:garamond,serif">ClientInstallationService.</span><wbr><span style="font-family:garamond,serif">addInstallation(org.jboss.</span><wbr><span style="font-family:garamond,serif">aerogear.unifiedpush.api.</span><wbr><span style="font-family:garamond,serif">Variant,org.jboss.aerogear.</span><wbr><span style="font-family:garamond,serif">unifiedpush.api.Installation): javax.ejb.</span><wbr><span style="font-family:garamond,serif">EJBTransactionRolledbackExcept</span><wbr><span style="font-family:garamond,serif">ion: Transaction rolled back<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.</span><wbr><span style="font-family:garamond,serif">handleEndTransactionException(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:137)<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.</span><wbr><span style="font-family:garamond,serif">endTransaction(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:117)<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.</span><wbr><span style="font-family:garamond,serif">invokeInOurTx(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:279)<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.required(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:327)<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:239)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">CurrentInvocationContextInterc</span><wbr><span style="font-family:garamond,serif">eptor.processInvocation(</span><wbr><span style="font-family:garamond,serif">CurrentInvocationContextInterc</span><wbr><span style="font-family:garamond,serif">eptor.java:41)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">invocationmetrics.</span><wbr><span style="font-family:garamond,serif">WaitTimeInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">WaitTimeInterceptor.java:47)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.security.</span><wbr><span style="font-family:garamond,serif">SecurityContextInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">SecurityContextInterceptor.</span><wbr><span style="font-family:garamond,serif">java:100)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.deployment.</span><wbr><span style="font-family:garamond,serif">processors.</span><wbr><span style="font-family:garamond,serif">StartupAwaitInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">StartupAwaitInterceptor.java:</span><wbr><span style="font-family:garamond,serif">22)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">ShutDownInterceptorFactory$1.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">ShutDownInterceptorFactory.</span><wbr><span style="font-family:garamond,serif">java:64)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">LoggingInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">LoggingInterceptor.java:67)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ee.component.</span><wbr><span style="font-family:garamond,serif">NamespaceContextInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">NamespaceContextInterceptor.</span><wbr><span style="font-family:garamond,serif">java:50)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">AdditionalSetupInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">AdditionalSetupInterceptor.</span><wbr><span style="font-family:garamond,serif">java:54)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">ContextClassLoaderInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">ContextClassLoaderInterceptor.</span><wbr><span style="font-family:garamond,serif">java:64)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.run(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:356)<br>    at org.wildfly.security.manager.</span><wbr><span style="font-family:garamond,serif">WildFlySecurityManager.</span><wbr><span style="font-family:garamond,serif">doChecked(</span><wbr><span style="font-family:garamond,serif">WildFlySecurityManager.java:</span><wbr><span style="font-family:garamond,serif">636)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">AccessCheckingInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">AccessCheckingInterceptor.</span><wbr><span style="font-family:garamond,serif">java:61)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.run(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:356)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">PrivilegedWithCombinerIntercep</span><wbr><span style="font-family:garamond,serif">tor.processInvocation(</span><wbr><span style="font-family:garamond,serif">PrivilegedWithCombinerIntercep</span><wbr><span style="font-family:garamond,serif">tor.java:80)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">ChainedInterceptor.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">ChainedInterceptor.java:61)<br>    at org.jboss.as.ee.component.</span><wbr><span style="font-family:garamond,serif">ViewService$View.invoke(</span><wbr><span style="font-family:garamond,serif">ViewService.java:198)<br>    at org.jboss.as.ee.component.</span><wbr><span style="font-family:garamond,serif">ViewDescription$1.</span><wbr><span style="font-family:garamond,serif">processInvocation(</span><wbr><span style="font-family:garamond,serif">ViewDescription.java:185)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">LogDiagnosticContextRecoveryIn</span><wbr><span style="font-family:garamond,serif">terceptor.processInvocation(</span><wbr><span style="font-family:garamond,serif">LogDiagnosticContextRecoveryIn</span><wbr><span style="font-family:garamond,serif">terceptor.java:82)<br>    at org.jboss.invocation.</span><wbr><span style="font-family:garamond,serif">InterceptorContext.proceed(</span><wbr><span style="font-family:garamond,serif">InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">AsyncFutureInterceptorFactory$</span><wbr><span style="font-family:garamond,serif">1$2.runInvocation(</span><wbr><span style="font-family:garamond,serif">AsyncFutureInterceptorFactory.</span><wbr><span style="font-family:garamond,serif">java:104)<br>    at org.jboss.as.ejb3.component.</span><wbr><span style="font-family:garamond,serif">interceptors.</span><wbr><span style="font-family:garamond,serif">AsyncInvocationTask.run(</span><wbr><span style="font-family:garamond,serif">AsyncInvocationTask.java:74)<br>    at java.util.concurrent.</span><wbr><span style="font-family:garamond,serif">ThreadPoolExecutor.runWorker(</span><wbr><span style="font-family:garamond,serif">ThreadPoolExecutor.java:1149)<br>    at java.util.concurrent.</span><wbr><span style="font-family:garamond,serif">ThreadPoolExecutor$Worker.run(</span><wbr><span style="font-family:garamond,serif">ThreadPoolExecutor.java:624)<br>    at java.lang.Thread.run(Thread.</span><wbr><span style="font-family:garamond,serif">java:748)<br>    at org.jboss.threads.JBossThread.</span><wbr><span style="font-family:garamond,serif">run(JBossThread.java:320)<br>Caused by: javax.transaction.</span><wbr><span style="font-family:garamond,serif">RollbackException: ARJUNA016053: Could not commit transaction.<br>    at com.arjuna.ats.internal.jta.</span><wbr><span style="font-family:garamond,serif">transaction.arjunacore.</span><wbr><span style="font-family:garamond,serif">TransactionImple.</span><wbr><span style="font-family:garamond,serif">commitAndDisassociate(</span><wbr><span style="font-family:garamond,serif">TransactionImple.java:1212)<br>    at com.arjuna.ats.internal.jta.</span><wbr><span style="font-family:garamond,serif">transaction.arjunacore.</span><wbr><span style="font-family:garamond,serif">BaseTransaction.commit(</span><wbr><span style="font-family:garamond,serif">BaseTransaction.java:126)<br>    at com.arjuna.ats.jbossatx.</span><wbr><span style="font-family:garamond,serif">BaseTransactionManagerDelegate</span><wbr><span style="font-family:garamond,serif">.commit(</span><wbr><span style="font-family:garamond,serif">BaseTransactionManagerDelegate</span><wbr><span style="font-family:garamond,serif">.java:89)<br>    at org.jboss.as.ejb3.tx.</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.</span><wbr><span style="font-family:garamond,serif">endTransaction(</span><wbr><span style="font-family:garamond,serif">CMTTxInterceptor.java:91)<br>    ... 41 more<br>Caused by: javax.persistence.</span><wbr><span style="font-family:garamond,serif">PersistenceException: error during managed flush<br>    at org.hibernate.jpa.internal.</span><wbr><span style="font-family:garamond,serif">EntityManagerImpl$</span><wbr><span style="font-family:garamond,serif">CallbackExceptionMapperImpl.</span><wbr><span style="font-family:garamond,serif">mapManagedFlushFailure(</span><wbr><span style="font-family:garamond,serif">EntityManagerImpl.java:240)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.</span><wbr><span style="font-family:garamond,serif">flushBeforeTransactionCompleti</span><wbr><span style="font-family:garamond,serif">on(SessionImpl.java:2970)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.</span><wbr><span style="font-family:garamond,serif">beforeTransactionCompletion(</span><wbr><span style="font-family:garamond,serif">SessionImpl.java:2339)<br>    at org.hibernate.engine.jdbc.</span><wbr><span style="font-family:garamond,serif">internal.JdbcCoordinatorImpl.</span><wbr><span style="font-family:garamond,serif">beforeTransactionCompletion(</span><wbr><span style="font-family:garamond,serif">JdbcCoordinatorImpl.java:485)<br>    at org.hibernate.resource.</span><wbr><span style="font-family:garamond,serif">transaction.backend.jta.</span><wbr><span style="font-family:garamond,serif">internal.</span><wbr><span style="font-family:garamond,serif">JtaTransactionCoordinatorImpl.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">JtaTransactionCoordinatorImpl.</span><wbr><span style="font-family:garamond,serif">java:316)<br>    at org.hibernate.resource.</span><wbr><span style="font-family:garamond,serif">transaction.backend.jta.</span><wbr><span style="font-family:garamond,serif">internal.synchronization.</span><wbr><span style="font-family:garamond,serif">SynchronizationCallbackCoordin</span><wbr><span style="font-family:garamond,serif">atorNonTrackingImpl.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">SynchronizationCallbackCoordin</span><wbr><span style="font-family:garamond,serif">atorNonTrackingImpl.java:47)<br>    at org.hibernate.resource.</span><wbr><span style="font-family:garamond,serif">transaction.backend.jta.</span><wbr><span style="font-family:garamond,serif">internal.synchronization.</span><wbr><span style="font-family:garamond,serif">RegisteredSynchronization.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">RegisteredSynchronization.</span><wbr><span style="font-family:garamond,serif">java:37)<br>    at org.jboss.as.txn.service.</span><wbr><span style="font-family:garamond,serif">internal.tsr.</span><wbr><span style="font-family:garamond,serif">JCAOrderedLastSynchronizationL</span><wbr><span style="font-family:garamond,serif">ist.beforeCompletion(</span><wbr><span style="font-family:garamond,serif">JCAOrderedLastSynchronizationL</span><wbr><span style="font-family:garamond,serif">ist.java:116)<br>    at com.arjuna.ats.internal.jta.</span><wbr><span style="font-family:garamond,serif">resources.arjunacore.</span><wbr><span style="font-family:garamond,serif">SynchronizationImple.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">SynchronizationImple.java:76)<br>    at com.arjuna.ats.arjuna.</span><wbr><span style="font-family:garamond,serif">coordinator.</span><wbr><span style="font-family:garamond,serif">TwoPhaseCoordinator.</span><wbr><span style="font-family:garamond,serif">beforeCompletion(</span><wbr><span style="font-family:garamond,serif">TwoPhaseCoordinator.java:368)<br>    at com.arjuna.ats.arjuna.</span><wbr><span style="font-family:garamond,serif">coordinator.</span><wbr><span style="font-family:garamond,serif">TwoPhaseCoordinator.end(</span><wbr><span style="font-family:garamond,serif">TwoPhaseCoordinator.java:91)<br>    at com.arjuna.ats.arjuna.</span><wbr><span style="font-family:garamond,serif">AtomicAction.commit(</span><wbr><span style="font-family:garamond,serif">AtomicAction.java:162)<br>    at com.arjuna.ats.internal.jta.</span><wbr><span style="font-family:garamond,serif">transaction.arjunacore.</span><wbr><span style="font-family:garamond,serif">TransactionImple.</span><wbr><span style="font-family:garamond,serif">commitAndDisassociate(</span><wbr><span style="font-family:garamond,serif">TransactionImple.java:1200)<br>    ... 44 more<br>Caused by: javax.validation.</span><wbr><span style="font-family:garamond,serif">ConstraintViolationException: Validation failed for classes [org.jboss.aerogear.</span><wbr><span style="font-family:garamond,serif">unifiedpush.api.Installation] during persist time for groups [javax.validation.groups.</span><wbr><span style="font-family:garamond,serif">Default, ]<br>List of constraint violations:[<br>    ConstraintViolationImpl{</span><wbr><span style="font-family:garamond,serif">interpolatedMessage=&#39;Device token is not valid for this device type&#39;, propertyPath=, rootBeanClass=class org.jboss.aerogear.</span><wbr><span style="font-family:garamond,serif">unifiedpush.api.Installation, messageTemplate=&#39;{org.jboss.</span><wbr><span style="font-family:garamond,serif">aerogear.unifiedpush.model.</span><wbr><span style="font-family:garamond,serif">constraints.devicetoken}&#39;}<br>]<br>    at org.hibernate.cfg.</span><wbr><span style="font-family:garamond,serif">beanvalidation.</span><wbr><span style="font-family:garamond,serif">BeanValidationEventListener.</span><wbr><span style="font-family:garamond,serif">validate(</span><wbr><span style="font-family:garamond,serif">BeanValidationEventListener.</span><wbr><span style="font-family:garamond,serif">java:138)<br>    at org.hibernate.cfg.</span><wbr><span style="font-family:garamond,serif">beanvalidation.</span><wbr><span style="font-family:garamond,serif">BeanValidationEventListener.</span><wbr><span style="font-family:garamond,serif">onPreInsert(</span><wbr><span style="font-family:garamond,serif">BeanValidationEventListener.</span><wbr><span style="font-family:garamond,serif">java:78)<br>    at org.hibernate.action.internal.</span><wbr><span style="font-family:garamond,serif">EntityInsertAction.preInsert(</span><wbr><span style="font-family:garamond,serif">EntityInsertAction.java:205)<br>    at org.hibernate.action.internal.</span><wbr><span style="font-family:garamond,serif">EntityInsertAction.execute(</span><wbr><span style="font-family:garamond,serif">EntityInsertAction.java:82)<br>    at org.hibernate.engine.spi.</span><wbr><span style="font-family:garamond,serif">ActionQueue.executeActions(</span><wbr><span style="font-family:garamond,serif">ActionQueue.java:582)<br>    at org.hibernate.engine.spi.</span><wbr><span style="font-family:garamond,serif">ActionQueue.executeActions(</span><wbr><span style="font-family:garamond,serif">ActionQueue.java:456)<br>    at org.hibernate.event.internal.</span><wbr><span style="font-family:garamond,serif">AbstractFlushingEventListener.</span><wbr><span style="font-family:garamond,serif">performExecutions(</span><wbr><span style="font-family:garamond,serif">AbstractFlushingEventListener.</span><wbr><span style="font-family:garamond,serif">java:337)<br>    at org.hibernate.event.internal.</span><wbr><span style="font-family:garamond,serif">DefaultFlushEventListener.</span><wbr><span style="font-family:garamond,serif">onFlush(</span><wbr><span style="font-family:garamond,serif">DefaultFlushEventListener.</span><wbr><span style="font-family:garamond,serif">java:39)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.flush(SessionImpl.</span><wbr><span style="font-family:garamond,serif">java:1282)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.managedFlush(</span><wbr><span style="font-family:garamond,serif">SessionImpl.java:465)<br>    at org.hibernate.internal.</span><wbr><span style="font-family:garamond,serif">SessionImpl.</span><wbr><span style="font-family:garamond,serif">flushBeforeTransactionCompleti</span><wbr><span style="font-family:garamond,serif">on(SessionImpl.java:2963)<br></span></div><div><span style="font-family:garamond,serif"><br></span></div><span style="font-family:garamond,serif"><br></span></div>Can those situations be related?<br><br></div>Thanks again.<br>
</div><div class="gmail_extra"><br><div class="gmail_quote">2018-04-10 5:35 GMT-03:00  <span dir="ltr">&lt;<a href="mailto:aerogear-users-request@lists.jboss.org" target="_blank">aerogear-users-request@lists.jboss.org</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Aerogear-users mailing list submissions to<br>
        <a href="mailto:aerogear-users@lists.jboss.org">aerogear-users@lists.jboss.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-<wbr>users</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:aerogear-users-request@lists.jboss.org">aerogear-users-request@lists.<wbr>jboss.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:aerogear-users-owner@lists.jboss.org">aerogear-users-owner@lists.<wbr>jboss.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Aerogear-users digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Android Devices Wont Register iOS Pushes wont be  received on<br>
      the devices (Victor Silva)<br>
   2. Re: Android Devices Wont Register iOS Pushes wont be received<br>
      on the devices (Matthias Wessendorf)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Mon, 9 Apr 2018 18:37:55 -0300<br>
From: Victor Silva &lt;<a href="mailto:vfbsilva@gmail.com">vfbsilva@gmail.com</a>&gt;<br>
Subject: [Aerogear-users] Android Devices Wont Register iOS Pushes<br>
        wont be received on the devices<br>
To: <a href="mailto:aerogear-users@lists.jboss.org">aerogear-users@lists.jboss.org</a><br>
Message-ID:<br>
        &lt;CALGxnHOrnR23iVKh_yhq=<a href="mailto:xmW26xpO-eDLyRrbcCZ5YQ6-HYqkQ@mail.gmail.com">xmW26xp<wbr>O-eDLyRrbcCZ5YQ6-HYqkQ@mail.<wbr>gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Hello, I have a strange issue where my Android Devices won&#39;t register<br>
properly and the iOSes despite being registered wont receive the dispatched<br>
notifications. Checking the server logs the messages seem to have been<br>
properly dispatched to the push networks. I could not find logs explaining<br>
the issue all I found is here:<br>
<br>
\u001B[0m\u001B[31m11:25:19,<wbr>720 ERROR [org.jboss.as.ejb3.invocation] (EJB<br>
default - 4) WFLYEJB0034: EJB Invocation failed on component<br>
ClientInstallationServiceImpl for method public abstract void<br>
org.jboss.aerogear.<wbr>unifiedpush.service.<wbr>ClientInstallationService.<wbr>addInstallation(org.jboss.<wbr>aerogear.unifiedpush.api.<wbr>Variant,org.jboss.aerogear.<wbr>unifiedpush.api.Installation):<br>
javax.ejb.<wbr>EJBTransactionRolledbackExcept<wbr>ion: Transaction rolled back<br>
    at<br>
org.jboss.as.ejb3.tx.<wbr>CMTTxInterceptor.<wbr>handleEndTransactionException(<wbr>CMTTxInterceptor.java:137)<br>
    at<br>
org.jboss.as.ejb3.tx.<wbr>CMTTxInterceptor.<wbr>endTransaction(<wbr>CMTTxInterceptor.java:117)<br>
    at<br>
org.jboss.as.ejb3.tx.<wbr>CMTTxInterceptor.<wbr>invokeInOurTx(<wbr>CMTTxInterceptor.java:279)<br>
    at<br>
org.jboss.as.ejb3.tx.<wbr>CMTTxInterceptor.required(<wbr>CMTTxInterceptor.java:327)<br>
    at<br>
org.jboss.as.ejb3.tx.<wbr>CMTTxInterceptor.<wbr>processInvocation(<wbr>CMTTxInterceptor.java:239)<br>
    at<br>
org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br>
    at<br>
org.jboss.as.ejb3.component.<wbr>interceptors.<wbr>CurrentInvocationContextInterc<wbr>eptor.processInvocation(<wbr>CurrentInvocationContextInterc<wbr>eptor.java:41)<br>
    at<br>
org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br>
    at<br>
org.jboss.as.ejb3.component.<wbr>invocationmetrics.<wbr>WaitTimeInterceptor.<wbr>processInvocation(<wbr>WaitTimeInterceptor.java:47)<br>
    at<br>
org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br>
    at<br>
org.jboss.as.ejb3.security.<wbr>SecurityContextInterceptor.<wbr>processInvocation(<wbr>SecurityContextInterceptor.<wbr>java:100)<br>
    at<br>
org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br>
    at<br>
org.jboss.as.ejb3.deployment.<wbr>processors.<wbr>StartupAwaitInterceptor.<wbr>processInvocation(<wbr>StartupAwaitInterceptor.java:<wbr>22)<br>
    at<br>
org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br>
    at<br>
org.jboss.as.ejb3.component.<wbr>interceptors.<wbr>ShutDownInterceptorFactory$1.<wbr>processInvocation(<wbr>ShutDownInterceptorFactory.<wbr>java:64)<br>
    at<br>
org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br>
    at<br>
org.jboss.as.ejb3.component.<wbr>interceptors.<wbr>LoggingInterceptor.<wbr>processInvocation(<wbr>LoggingInterceptor.java:67)<br>
    at<br>
org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br>
    at<br>
org.jboss.as.ee.component.<wbr>NamespaceContextInterceptor.<wbr>processInvocation(<wbr>NamespaceContextInterceptor.<wbr>java:50)<br>
    at<br>
org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br>
    at<br>
org.jboss.as.ejb3.component.<wbr>interceptors.<wbr>AdditionalSetupInterceptor.<wbr>processInvocation(<wbr>AdditionalSetupInterceptor.<wbr>java:54)<br>
    at<br>
org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br>
    at<br>
org.jboss.invocation.<wbr>ContextClassLoaderInterceptor.<wbr>processInvocation(<wbr>ContextClassLoaderInterceptor.<wbr>java:64)<br>
    at<br>
org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br>
    at<br>
org.jboss.invocation.<wbr>InterceptorContext.run(<wbr>InterceptorContext.java:356)<br>
    at<br>
org.wildfly.security.manager.<wbr>WildFlySecurityManager.<wbr>doChecked(<wbr>WildFlySecurityManager.java:<wbr>636)<br>
    at<br>
org.jboss.invocation.<wbr>AccessCheckingInterceptor.<wbr>processInvocation(<wbr>AccessCheckingInterceptor.<wbr>java:61)<br>
    at<br>
org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br>
    at<br>
org.jboss.invocation.<wbr>InterceptorContext.run(<wbr>InterceptorContext.java:356)<br>
    at<br>
org.jboss.invocation.<wbr>PrivilegedWithCombinerIntercep<wbr>tor.processInvocation(<wbr>PrivilegedWithCombinerIntercep<wbr>tor.java:80)<br>
    at<br>
org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br>
    at<br>
org.jboss.invocation.<wbr>ChainedInterceptor.<wbr>processInvocation(<wbr>ChainedInterceptor.java:61)<br>
    at<br>
org.jboss.as.ee.component.<wbr>ViewService$View.invoke(<wbr>ViewService.java:198)<br>
    at<br>
org.jboss.as.ee.component.<wbr>ViewDescription$1.<wbr>processInvocation(<wbr>ViewDescription.java:185)<br>
    at<br>
org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br>
    at<br>
org.jboss.as.ejb3.component.<wbr>interceptors.<wbr>LogDiagnosticContextRecoveryIn<wbr>terceptor.processInvocation(<wbr>LogDiagnosticContextRecoveryIn<wbr>terceptor.java:82)<br>
    at<br>
org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br>
    at<br>
org.jboss.as.ejb3.component.<wbr>interceptors.<wbr>AsyncFutureInterceptorFactory$<wbr>1$2.runInvocation(<wbr>AsyncFutureInterceptorFactory.<wbr>java:104)<br>
    at<br>
org.jboss.as.ejb3.component.<wbr>interceptors.<wbr>AsyncInvocationTask.run(<wbr>AsyncInvocationTask.java:74)<br>
    at<br>
java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1149)<br>
    at<br>
java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:624)<br>
    at java.lang.Thread.run(Thread.<wbr>java:748)<br>
    at org.jboss.threads.JBossThread.<wbr>run(JBossThread.java:320)<br>
Caused by: javax.transaction.<wbr>RollbackException: ARJUNA016053: Could not<br>
commit transaction.<br>
    at<br>
com.arjuna.ats.internal.jta.<wbr>transaction.arjunacore.<wbr>TransactionImple.<wbr>commitAndDisassociate(<wbr>TransactionImple.java:1212)<br>
    at<br>
com.arjuna.ats.internal.jta.<wbr>transaction.arjunacore.<wbr>BaseTransaction.commit(<wbr>BaseTransaction.java:126)<br>
    at<br>
com.arjuna.ats.jbossatx.<wbr>BaseTransactionManagerDelegate<wbr>.commit(<wbr>BaseTransactionManagerDelegate<wbr>.java:89)<br>
    at<br>
org.jboss.as.ejb3.tx.<wbr>CMTTxInterceptor.<wbr>endTransaction(<wbr>CMTTxInterceptor.java:91)<br>
    ... 41 more<br>
Caused by: javax.persistence.<wbr>PersistenceException: error during managed<br>
flush<br>
    at<br>
org.hibernate.jpa.internal.<wbr>EntityManagerImpl$<wbr>CallbackExceptionMapperImpl.<wbr>mapManagedFlushFailure(<wbr>EntityManagerImpl.java:240)<br>
    at<br>
org.hibernate.internal.<wbr>SessionImpl.<wbr>flushBeforeTransactionCompleti<wbr>on(SessionImpl.java:2970)<br>
    at<br>
org.hibernate.internal.<wbr>SessionImpl.<wbr>beforeTransactionCompletion(<wbr>SessionImpl.java:2339)<br>
    at<br>
org.hibernate.engine.jdbc.<wbr>internal.JdbcCoordinatorImpl.<wbr>beforeTransactionCompletion(<wbr>JdbcCoordinatorImpl.java:485)<br>
    at<br>
org.hibernate.resource.<wbr>transaction.backend.jta.<wbr>internal.<wbr>JtaTransactionCoordinatorImpl.<wbr>beforeCompletion(<wbr>JtaTransactionCoordinatorImpl.<wbr>java:316)<br>
    at<br>
org.hibernate.resource.<wbr>transaction.backend.jta.<wbr>internal.synchronization.<wbr>SynchronizationCallbackCoordin<wbr>atorNonTrackingImpl.<wbr>beforeCompletion(<wbr>SynchronizationCallbackCoordin<wbr>atorNonTrackingImpl.java:47)<br>
    at<br>
org.hibernate.resource.<wbr>transaction.backend.jta.<wbr>internal.synchronization.<wbr>RegisteredSynchronization.<wbr>beforeCompletion(<wbr>RegisteredSynchronization.<wbr>java:37)<br>
    at<br>
org.jboss.as.txn.service.<wbr>internal.tsr.<wbr>JCAOrderedLastSynchronizationL<wbr>ist.beforeCompletion(<wbr>JCAOrderedLastSynchronizationL<wbr>ist.java:116)<br>
    at<br>
com.arjuna.ats.internal.jta.<wbr>resources.arjunacore.<wbr>SynchronizationImple.<wbr>beforeCompletion(<wbr>SynchronizationImple.java:76)<br>
    at<br>
com.arjuna.ats.arjuna.<wbr>coordinator.<wbr>TwoPhaseCoordinator.<wbr>beforeCompletion(<wbr>TwoPhaseCoordinator.java:368)<br>
    at<br>
com.arjuna.ats.arjuna.<wbr>coordinator.<wbr>TwoPhaseCoordinator.end(<wbr>TwoPhaseCoordinator.java:91)<br>
    at com.arjuna.ats.arjuna.<wbr>AtomicAction.commit(<wbr>AtomicAction.java:162)<br>
    at<br>
com.arjuna.ats.internal.jta.<wbr>transaction.arjunacore.<wbr>TransactionImple.<wbr>commitAndDisassociate(<wbr>TransactionImple.java:1200)<br>
    ... 44 more<br>
Caused by: javax.validation.<wbr>ConstraintViolationException: Validation failed<br>
for classes [org.jboss.aerogear.<wbr>unifiedpush.api.Installation] during<br>
persist time for groups [javax.validation.groups.<wbr>Default, ]<br>
List of constraint violations:[<br>
    ConstraintViolationImpl{<wbr>interpolatedMessage=&#39;Device token is not valid<br>
for this device type&#39;, propertyPath=, rootBeanClass=class<br>
org.jboss.aerogear.<wbr>unifiedpush.api.Installation,<br>
messageTemplate=&#39;{org.jboss.<wbr>aerogear.unifiedpush.model.<wbr>constraints.devicetoken}&#39;}<br>
]<br>
    at<br>
org.hibernate.cfg.<wbr>beanvalidation.<wbr>BeanValidationEventListener.<wbr>validate(<wbr>BeanValidationEventListener.<wbr>java:138)<br>
    at<br>
org.hibernate.cfg.<wbr>beanvalidation.<wbr>BeanValidationEventListener.<wbr>onPreInsert(<wbr>BeanValidationEventListener.<wbr>java:78)<br>
    at<br>
org.hibernate.action.internal.<wbr>EntityInsertAction.preInsert(<wbr>EntityInsertAction.java:205)<br>
    at<br>
org.hibernate.action.internal.<wbr>EntityInsertAction.execute(<wbr>EntityInsertAction.java:82)<br>
    at<br>
org.hibernate.engine.spi.<wbr>ActionQueue.executeActions(<wbr>ActionQueue.java:582)<br>
    at<br>
org.hibernate.engine.spi.<wbr>ActionQueue.executeActions(<wbr>ActionQueue.java:456)<br>
    at<br>
org.hibernate.event.internal.<wbr>AbstractFlushingEventListener.<wbr>performExecutions(<wbr>AbstractFlushingEventListener.<wbr>java:337)<br>
    at<br>
org.hibernate.event.internal.<wbr>DefaultFlushEventListener.<wbr>onFlush(<wbr>DefaultFlushEventListener.<wbr>java:39)<br>
    at org.hibernate.internal.<wbr>SessionImpl.flush(SessionImpl.<wbr>java:1282)<br>
    at org.hibernate.internal.<wbr>SessionImpl.managedFlush(<wbr>SessionImpl.java:465)<br>
    at<br>
org.hibernate.internal.<wbr>SessionImpl.<wbr>flushBeforeTransactionCompleti<wbr>on(SessionImpl.java:2963)<br>
    ... 55 more<br>
<br>
Are the messages maybe delayed?<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.jboss.org/pipermail/aerogear-users/attachments/20180409/c8cbaf17/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.jboss.org/<wbr>pipermail/aerogear-users/<wbr>attachments/20180409/c8cbaf17/<wbr>attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 10 Apr 2018 10:35:06 +0200<br>
From: Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org">matzew@apache.org</a>&gt;<br>
Subject: Re: [Aerogear-users] Android Devices Wont Register iOS Pushes<br>
        wont be received on the devices<br>
To: <a href="mailto:aerogear-users@lists.jboss.org">aerogear-users@lists.jboss.org</a><br>
Message-ID:<br>
        &lt;CAAg5f2QQ=<a href="mailto:jgBhY2_YWwLsyMroSG9tNFC9wyFqXdEMEnO716OBQ@mail.gmail.com">jgBhY2_<wbr>YWwLsyMroSG9tNFC9wyFqXdEMEnO71<wbr>6OBQ@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
looks like the submitted device token is not valid, not matching the<br>
pattern:<br>
<br>
<br>
```<br>
Caused by: javax.validation.<wbr>ConstraintViolationException: Validation failed<br>
for classes [org.jboss.aerogear.<wbr>unifiedpush.api.Installation] during<br>
persist time for groups [javax.validation.groups.<wbr>Default, ]<br>
List of constraint violations:[<br>
    ConstraintViolationImpl{<wbr>interpolatedMessage=&#39;Device token is not valid<br>
for this device type&#39;, propertyPath=, rootBeanClass=class<br>
org.jboss.aerogear.<wbr>unifiedpush.api.Installation,<br>
messageTemplate=&#39;{org.jboss.<wbr>aerogear.unifiedpush.model.<br>
constraints.devicetoken}&#39;}<br>
]<br>
```<br>
<br>
<br>
On Mon, Apr 9, 2018 at 11:37 PM, Victor Silva &lt;<a href="mailto:vfbsilva@gmail.com">vfbsilva@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hello, I have a strange issue where my Android Devices won&#39;t register<br>
&gt; properly and the iOSes despite being registered wont receive the dispatched<br>
&gt; notifications. Checking the server logs the messages seem to have been<br>
&gt; properly dispatched to the push networks. I could not find logs explaining<br>
&gt; the issue all I found is here:<br>
&gt;<br>
&gt; \u001B[0m\u001B[31m11:25:19,<wbr>720 ERROR [org.jboss.as.ejb3.invocation] (EJB<br>
&gt; default - 4) WFLYEJB0034: EJB Invocation failed on component<br>
&gt; ClientInstallationServiceImpl for method public abstract void<br>
&gt; org.jboss.aerogear.<wbr>unifiedpush.service.<wbr>ClientInstallationService.<br>
&gt; addInstallation(org.jboss.<wbr>aerogear.unifiedpush.api.<br>
&gt; Variant,org.jboss.aerogear.<wbr>unifiedpush.api.Installation): javax.ejb.<br>
&gt; EJBTransactionRolledbackExcept<wbr>ion: Transaction rolled back<br>
&gt;     at org.jboss.as.ejb3.tx.<wbr>CMTTxInterceptor.<br>
&gt; handleEndTransactionException(<wbr>CMTTxInterceptor.java:137)<br>
&gt;     at org.jboss.as.ejb3.tx.<wbr>CMTTxInterceptor.<wbr>endTransaction(<br>
&gt; CMTTxInterceptor.java:117)<br>
&gt;     at org.jboss.as.ejb3.tx.<wbr>CMTTxInterceptor.<wbr>invokeInOurTx(<br>
&gt; CMTTxInterceptor.java:279)<br>
&gt;     at org.jboss.as.ejb3.tx.<wbr>CMTTxInterceptor.required(<br>
&gt; CMTTxInterceptor.java:327)<br>
&gt;     at org.jboss.as.ejb3.tx.<wbr>CMTTxInterceptor.<wbr>processInvocation(<br>
&gt; CMTTxInterceptor.java:239)<br>
&gt;     at org.jboss.invocation.<wbr>InterceptorContext.proceed(<br>
&gt; InterceptorContext.java:340)<br>
&gt;     at org.jboss.as.ejb3.component.<wbr>interceptors.<br>
&gt; CurrentInvocationContextInterc<wbr>eptor.processInvocation(<br>
&gt; CurrentInvocationContextInterc<wbr>eptor.java:41)<br>
&gt;     at org.jboss.invocation.<wbr>InterceptorContext.proceed(<br>
&gt; InterceptorContext.java:340)<br>
&gt;     at org.jboss.as.ejb3.component.<wbr>invocationmetrics.<wbr>WaitTimeInterceptor.<br>
&gt; processInvocation(<wbr>WaitTimeInterceptor.java:47)<br>
&gt;     at org.jboss.invocation.<wbr>InterceptorContext.proceed(<br>
&gt; InterceptorContext.java:340)<br>
&gt;     at org.jboss.as.ejb3.security.<wbr>SecurityContextInterceptor.<br>
&gt; processInvocation(<wbr>SecurityContextInterceptor.<wbr>java:100)<br>
&gt;     at org.jboss.invocation.<wbr>InterceptorContext.proceed(<br>
&gt; InterceptorContext.java:340)<br>
&gt;     at org.jboss.as.ejb3.deployment.<wbr>processors.<wbr>StartupAwaitInterceptor.<br>
&gt; processInvocation(<wbr>StartupAwaitInterceptor.java:<wbr>22)<br>
&gt;     at org.jboss.invocation.<wbr>InterceptorContext.proceed(<br>
&gt; InterceptorContext.java:340)<br>
&gt;     at org.jboss.as.ejb3.component.<wbr>interceptors.<br>
&gt; ShutDownInterceptorFactory$1.<wbr>processInvocation(<wbr>ShutDownInterceptorFactory.<br>
&gt; java:64)<br>
&gt;     at org.jboss.invocation.<wbr>InterceptorContext.proceed(<br>
&gt; InterceptorContext.java:340)<br>
&gt;     at org.jboss.as.ejb3.component.<wbr>interceptors.<wbr>LoggingInterceptor.<br>
&gt; processInvocation(<wbr>LoggingInterceptor.java:67)<br>
&gt;     at org.jboss.invocation.<wbr>InterceptorContext.proceed(<br>
&gt; InterceptorContext.java:340)<br>
&gt;     at org.jboss.as.ee.component.<wbr>NamespaceContextInterceptor.<br>
&gt; processInvocation(<wbr>NamespaceContextInterceptor.<wbr>java:50)<br>
&gt;     at org.jboss.invocation.<wbr>InterceptorContext.proceed(<br>
&gt; InterceptorContext.java:340)<br>
&gt;     at org.jboss.as.ejb3.component.<wbr>interceptors.<br>
&gt; AdditionalSetupInterceptor.<wbr>processInvocation(<wbr>AdditionalSetupInterceptor.<br>
&gt; java:54)<br>
&gt;     at org.jboss.invocation.<wbr>InterceptorContext.proceed(<br>
&gt; InterceptorContext.java:340)<br>
&gt;     at org.jboss.invocation.<wbr>ContextClassLoaderInterceptor.<br>
&gt; processInvocation(<wbr>ContextClassLoaderInterceptor.<wbr>java:64)<br>
&gt;     at org.jboss.invocation.<wbr>InterceptorContext.proceed(<br>
&gt; InterceptorContext.java:340)<br>
&gt;     at org.jboss.invocation.<wbr>InterceptorContext.run(<br>
&gt; InterceptorContext.java:356)<br>
&gt;     at org.wildfly.security.manager.<wbr>WildFlySecurityManager.<wbr>doChecked(<br>
&gt; WildFlySecurityManager.java:<wbr>636)<br>
&gt;     at org.jboss.invocation.<wbr>AccessCheckingInterceptor.<wbr>processInvocation(<br>
&gt; AccessCheckingInterceptor.<wbr>java:61)<br>
&gt;     at org.jboss.invocation.<wbr>InterceptorContext.proceed(<br>
&gt; InterceptorContext.java:340)<br>
&gt;     at org.jboss.invocation.<wbr>InterceptorContext.run(<br>
&gt; InterceptorContext.java:356)<br>
&gt;     at org.jboss.invocation.<wbr>PrivilegedWithCombinerIntercep<br>
&gt; tor.processInvocation(<wbr>PrivilegedWithCombinerIntercep<wbr>tor.java:80)<br>
&gt;     at org.jboss.invocation.<wbr>InterceptorContext.proceed(<br>
&gt; InterceptorContext.java:340)<br>
&gt;     at org.jboss.invocation.<wbr>ChainedInterceptor.<wbr>processInvocation(<br>
&gt; ChainedInterceptor.java:61)<br>
&gt;     at org.jboss.as.ee.component.<wbr>ViewService$View.invoke(<br>
&gt; ViewService.java:198)<br>
&gt;     at org.jboss.as.ee.component.<wbr>ViewDescription$1.<wbr>processInvocation(<br>
&gt; ViewDescription.java:185)<br>
&gt;     at org.jboss.invocation.<wbr>InterceptorContext.proceed(<br>
&gt; InterceptorContext.java:340)<br>
&gt;     at org.jboss.as.ejb3.component.<wbr>interceptors.<br>
&gt; LogDiagnosticContextRecoveryIn<wbr>terceptor.processInvocation(<br>
&gt; LogDiagnosticContextRecoveryIn<wbr>terceptor.java:82)<br>
&gt;     at org.jboss.invocation.<wbr>InterceptorContext.proceed(<br>
&gt; InterceptorContext.java:340)<br>
&gt;     at org.jboss.as.ejb3.component.<wbr>interceptors.<br>
&gt; AsyncFutureInterceptorFactory$<wbr>1$2.runInvocation(<br>
&gt; AsyncFutureInterceptorFactory.<wbr>java:104)<br>
&gt;     at org.jboss.as.ejb3.component.<wbr>interceptors.<wbr>AsyncInvocationTask.run(<br>
&gt; AsyncInvocationTask.java:74)<br>
&gt;     at java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<br>
&gt; ThreadPoolExecutor.java:1149)<br>
&gt;     at java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<br>
&gt; ThreadPoolExecutor.java:624)<br>
&gt;     at java.lang.Thread.run(Thread.<wbr>java:748)<br>
&gt;     at org.jboss.threads.JBossThread.<wbr>run(JBossThread.java:320)<br>
&gt; Caused by: javax.transaction.<wbr>RollbackException: ARJUNA016053: Could not<br>
&gt; commit transaction.<br>
&gt;     at com.arjuna.ats.internal.jta.<wbr>transaction.arjunacore.<br>
&gt; TransactionImple.<wbr>commitAndDisassociate(<wbr>TransactionImple.java:1212)<br>
&gt;     at com.arjuna.ats.internal.jta.<wbr>transaction.arjunacore.<br>
&gt; BaseTransaction.commit(<wbr>BaseTransaction.java:126)<br>
&gt;     at com.arjuna.ats.jbossatx.<wbr>BaseTransactionManagerDelegate<wbr>.commit(<br>
&gt; BaseTransactionManagerDelegate<wbr>.java:89)<br>
&gt;     at org.jboss.as.ejb3.tx.<wbr>CMTTxInterceptor.<wbr>endTransaction(<br>
&gt; CMTTxInterceptor.java:91)<br>
&gt;     ... 41 more<br>
&gt; Caused by: javax.persistence.<wbr>PersistenceException: error during managed<br>
&gt; flush<br>
&gt;     at org.hibernate.jpa.internal.<wbr>EntityManagerImpl$<br>
&gt; CallbackExceptionMapperImpl.<wbr>mapManagedFlushFailure(<br>
&gt; EntityManagerImpl.java:240)<br>
&gt;     at org.hibernate.internal.<wbr>SessionImpl.<wbr>flushBeforeTransactionCompleti<br>
&gt; on(SessionImpl.java:2970)<br>
&gt;     at org.hibernate.internal.<wbr>SessionImpl.<wbr>beforeTransactionCompletion(<br>
&gt; SessionImpl.java:2339)<br>
&gt;     at org.hibernate.engine.jdbc.<wbr>internal.JdbcCoordinatorImpl.<br>
&gt; beforeTransactionCompletion(<wbr>JdbcCoordinatorImpl.java:485)<br>
&gt;     at org.hibernate.resource.<wbr>transaction.backend.jta.<wbr>internal.<br>
&gt; JtaTransactionCoordinatorImpl.<wbr>beforeCompletion(<br>
&gt; JtaTransactionCoordinatorImpl.<wbr>java:316)<br>
&gt;     at org.hibernate.resource.<wbr>transaction.backend.jta.<br>
&gt; internal.synchronization.<wbr>SynchronizationCallbackCoordin<br>
&gt; atorNonTrackingImpl.<wbr>beforeCompletion(<wbr>SynchronizationCallbackCoordin<br>
&gt; atorNonTrackingImpl.java:47)<br>
&gt;     at org.hibernate.resource.<wbr>transaction.backend.jta.<br>
&gt; internal.synchronization.<wbr>RegisteredSynchronization.<wbr>beforeCompletion(<br>
&gt; RegisteredSynchronization.<wbr>java:37)<br>
&gt;     at org.jboss.as.txn.service.<wbr>internal.tsr.<br>
&gt; JCAOrderedLastSynchronizationL<wbr>ist.beforeCompletion(<br>
&gt; JCAOrderedLastSynchronizationL<wbr>ist.java:116)<br>
&gt;     at com.arjuna.ats.internal.jta.<wbr>resources.arjunacore.<br>
&gt; SynchronizationImple.<wbr>beforeCompletion(<wbr>SynchronizationImple.java:76)<br>
&gt;     at com.arjuna.ats.arjuna.<wbr>coordinator.<wbr>TwoPhaseCoordinator.<br>
&gt; beforeCompletion(<wbr>TwoPhaseCoordinator.java:368)<br>
&gt;     at com.arjuna.ats.arjuna.<wbr>coordinator.<wbr>TwoPhaseCoordinator.end(<br>
&gt; TwoPhaseCoordinator.java:91)<br>
&gt;     at com.arjuna.ats.arjuna.<wbr>AtomicAction.commit(<wbr>AtomicAction.java:162)<br>
&gt;     at com.arjuna.ats.internal.jta.<wbr>transaction.arjunacore.<br>
&gt; TransactionImple.<wbr>commitAndDisassociate(<wbr>TransactionImple.java:1200)<br>
&gt;     ... 44 more<br>
&gt; Caused by: javax.validation.<wbr>ConstraintViolationException: Validation<br>
&gt; failed for classes [org.jboss.aerogear.<wbr>unifiedpush.api.Installation]<br>
&gt; during persist time for groups [javax.validation.groups.<wbr>Default, ]<br>
&gt; List of constraint violations:[<br>
&gt;     ConstraintViolationImpl{<wbr>interpolatedMessage=&#39;Device token is not<br>
&gt; valid for this device type&#39;, propertyPath=, rootBeanClass=class<br>
&gt; org.jboss.aerogear.<wbr>unifiedpush.api.Installation,<br>
&gt; messageTemplate=&#39;{org.jboss.<wbr>aerogear.unifiedpush.model.<br>
&gt; constraints.devicetoken}&#39;}<br>
&gt; ]<br>
&gt;     at org.hibernate.cfg.<wbr>beanvalidation.<wbr>BeanValidationEventListener.<br>
&gt; validate(<wbr>BeanValidationEventListener.<wbr>java:138)<br>
&gt;     at org.hibernate.cfg.<wbr>beanvalidation.<wbr>BeanValidationEventListener.<br>
&gt; onPreInsert(<wbr>BeanValidationEventListener.<wbr>java:78)<br>
&gt;     at org.hibernate.action.internal.<wbr>EntityInsertAction.preInsert(<br>
&gt; EntityInsertAction.java:205)<br>
&gt;     at org.hibernate.action.internal.<wbr>EntityInsertAction.execute(<br>
&gt; EntityInsertAction.java:82)<br>
&gt;     at org.hibernate.engine.spi.<wbr>ActionQueue.executeActions(<br>
&gt; ActionQueue.java:582)<br>
&gt;     at org.hibernate.engine.spi.<wbr>ActionQueue.executeActions(<br>
&gt; ActionQueue.java:456)<br>
&gt;     at org.hibernate.event.internal.<wbr>AbstractFlushingEventListener.<br>
&gt; performExecutions(<wbr>AbstractFlushingEventListener.<wbr>java:337)<br>
&gt;     at org.hibernate.event.internal.<wbr>DefaultFlushEventListener.<wbr>onFlush(<br>
&gt; DefaultFlushEventListener.<wbr>java:39)<br>
&gt;     at org.hibernate.internal.<wbr>SessionImpl.flush(SessionImpl.<wbr>java:1282)<br>
&gt;     at org.hibernate.internal.<wbr>SessionImpl.managedFlush(<br>
&gt; SessionImpl.java:465)<br>
&gt;     at org.hibernate.internal.<wbr>SessionImpl.<wbr>flushBeforeTransactionCompleti<br>
&gt; on(SessionImpl.java:2963)<br>
&gt;     ... 55 more<br>
&gt;<br>
&gt; Are the messages maybe delayed?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; Aerogear-users mailing list<br>
&gt; <a href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-<wbr>users</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
--<br>
Matthias Wessendorf<br>
<br>
github: <a href="https://github.com/matzew" rel="noreferrer" target="_blank">https://github.com/matzew</a><br>
twitter: <a href="http://twitter.com/mwessendorf" rel="noreferrer" target="_blank">http://twitter.com/mwessendorf</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.jboss.org/pipermail/aerogear-users/attachments/20180410/3fb208d2/attachment.html" rel="noreferrer" target="_blank">http://lists.jboss.org/<wbr>pipermail/aerogear-users/<wbr>attachments/20180410/3fb208d2/<wbr>attachment.html</a><br>
<br>
------------------------------<br>
<br>
______________________________<wbr>_________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-<wbr>users</a><br>
<br>
<br>
End of Aerogear-users Digest, Vol 42, Issue 1<br>
******************************<wbr>***************<br>
</blockquote></div><br></div>