<div dir="ltr">Hello, I have a strange issue where my Android Devices won&#39;t register properly and the iOSes despite being registered wont receive the dispatched notifications. Checking the server logs the messages seem to have been properly dispatched to the push networks. I could not find logs explaining the issue all I found is here:<br><br><div style="margin-left:40px"><span style="font-family:tahoma,sans-serif">\u001B[0m\u001B[31m11:25:19,720 ERROR [org.jboss.as.ejb3.invocation] 
(EJB default - 4) WFLYEJB0034: EJB Invocation failed on component 
ClientInstallationServiceImpl for method public abstract void 
org.jboss.aerogear.unifiedpush.service.ClientInstallationService.addInstallation(org.jboss.aerogear.unifiedpush.api.Variant,org.jboss.aerogear.unifiedpush.api.Installation):
 javax.ejb.EJBTransactionRolledbackException: Transaction rolled back<br>    at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleEndTransactionException(CMTTxInterceptor.java:137)<br>    at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:117)<br>    at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:279)<br>    at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:327)<br>    at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)<br>    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)<br>    
at 
org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)<br>    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47)<br>    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)<br>    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22)<br>    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)<br>    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67)<br>    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)<br>    at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)<br>    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)<br>    at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)<br>    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)<br>    at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)<br>    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)<br>    at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)<br>    at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)<br>    at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)<br>    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)<br>    at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)<br>    at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)<br>    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)<br>    at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)<br>    at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198)<br>    at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)<br>    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)<br>    
at 
org.jboss.as.ejb3.component.interceptors.LogDiagnosticContextRecoveryInterceptor.processInvocation(LogDiagnosticContextRecoveryInterceptor.java:82)<br>    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)<br>    
at 
org.jboss.as.ejb3.component.interceptors.AsyncFutureInterceptorFactory$1$2.runInvocation(AsyncFutureInterceptorFactory.java:104)<br>    at org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask.run(AsyncInvocationTask.java:74)<br>    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)<br>    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)<br>    at java.lang.Thread.run(Thread.java:748)<br>    at org.jboss.threads.JBossThread.run(JBossThread.java:320)<br>Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.<br>    at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1212)<br>    at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:126)<br>    at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:89)<br>    at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:91)<br>    ... 41 more<br>Caused by: javax.persistence.PersistenceException: error during managed flush<br>    at org.hibernate.jpa.internal.EntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(EntityManagerImpl.java:240)<br>    at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:2970)<br>    at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2339)<br>    at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:485)<br>    
at 
org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionCoordinatorImpl.beforeCompletion(JtaTransactionCoordinatorImpl.java:316)<br>    
at 
org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinatorNonTrackingImpl.beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:47)<br>    
at 
org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:37)<br>    
at 
org.jboss.as.txn.service.internal.tsr.JCAOrderedLastSynchronizationList.beforeCompletion(JCAOrderedLastSynchronizationList.java:116)<br>    at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)<br>    at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:368)<br>    at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:91)<br>    at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)<br>    at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1200)<br>    ... 44 more<br>Caused
 by: javax.validation.ConstraintViolationException: Validation failed 
for classes [org.jboss.aerogear.unifiedpush.api.Installation] during 
persist time for groups [javax.validation.groups.Default, ]<br>List of constraint violations:[<br>    
ConstraintViolationImpl{interpolatedMessage=&#39;Device token is not valid 
for this device type&#39;, propertyPath=, rootBeanClass=class 
org.jboss.aerogear.unifiedpush.api.Installation, 
messageTemplate=&#39;{org.jboss.aerogear.unifiedpush.model.constraints.devicetoken}&#39;}<br>]<br>    at org.hibernate.cfg.beanvalidation.BeanValidationEventListener.validate(BeanValidationEventListener.java:138)<br>    at org.hibernate.cfg.beanvalidation.BeanValidationEventListener.onPreInsert(BeanValidationEventListener.java:78)<br>    at org.hibernate.action.internal.EntityInsertAction.preInsert(EntityInsertAction.java:205)<br>    at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:82)<br>    at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:582)<br>    at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:456)<br>    at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:337)<br>    at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39)<br>    at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1282)<br>    at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:465)<br>    at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:2963)<br>    ... 55 more</span></div><br>Are the messages maybe delayed?<br><br><br></div>